AX: Focusable elements without a role should not be ignored
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2012-08-28  Dominic Mazzoni  <dmazzoni@google.com>
2
3         AX: Focusable elements without a role should not be ignored
4         https://bugs.webkit.org/show_bug.cgi?id=94302
5
6         Reviewed by Chris Fleizach.
7
8         Changes the accessibility logic so that a generic element that's focusable is
9         not ignored for accessibility, and returns its inner text as its title. That way
10         if you Tab to the element, a reasonable accessibility notification is generated.
11
12         One exception is the body element, because focusing the body is equivalent to
13         blurring the current focused element and does not result in a "focus" accessibility
14         notification.
15
16         Also fixes logic that determined if an element was contentEditable by making
17         sure it catches the case with no attribute value (e.g. <div contentEditable>),
18         which also implies contentEditable=true according to the spec.
19
20         Test: accessibility/focusable-div.html
21
22         * accessibility/AccessibilityRenderObject.cpp:
23         (WebCore):
24         (WebCore::nodeHasContentEditableAttributeSet):
25         (WebCore::AccessibilityRenderObject::title):
26         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
27
28 2012-08-29  Adam Barth  <abarth@webkit.org>
29
30         Deploy ASCIILiteral hotness throughout WebCore
31         https://bugs.webkit.org/show_bug.cgi?id=95282
32
33         Reviewed by Eric Seidel.
34
35         As recommended by http://trac.webkit.org/wiki/EfficientStrings.
36         This patch converts all the DEFINE_STATIC_LOCAL Strings.
37
38         * Modules/indexeddb/IDBDatabase.cpp:
39         (WebCore::IDBDatabase::transaction):
40         * Modules/indexeddb/IDBIndex.cpp:
41         (WebCore::IDBIndex::openCursor):
42         (WebCore::IDBIndex::openKeyCursor):
43         * Modules/indexeddb/IDBObjectStore.cpp:
44         (WebCore::IDBObjectStore::openCursor):
45         * Modules/mediastream/MediaStreamTrack.cpp:
46         (WebCore::MediaStreamTrack::kind):
47         * css/CSSPropertySourceData.cpp:
48         (WebCore::CSSPropertySourceData::toString):
49         * dom/Document.cpp:
50         (WebCore::Document::processHttpEquiv):
51         * dom/MicroDataItemList.cpp:
52         (WebCore::MicroDataItemList::undefinedItemType):
53         * dom/ScriptElement.cpp:
54         (WebCore::ScriptElement::notifyFinished):
55         * editing/MarkupAccumulator.cpp:
56         (WebCore::MarkupAccumulator::shouldAddNamespaceElement):
57         * html/FormController.cpp:
58         (WebCore::formStateSignature):
59         * html/HTMLTrackElement.cpp:
60         (WebCore::HTMLTrackElement::canLoadUrl):
61         * html/ImageInputType.cpp:
62         (WebCore::ImageInputType::appendFormData):
63         * html/canvas/CanvasRenderingContext2D.cpp:
64         (WebCore::CanvasRenderingContext2D::getImageData):
65         * html/parser/XSSAuditor.cpp:
66         (WebCore::XSSAuditor::init):
67         (WebCore::XSSAuditor::filterToken):
68         (WebCore::XSSAuditor::eraseDangerousAttributesIfInjected):
69         * inspector/InspectorCSSAgent.cpp:
70         (WebCore::computePseudoClassMask):
71         * inspector/InspectorDebuggerAgent.cpp:
72         (WebCore::InspectorDebuggerAgent::sourceMapURLForScript):
73         * inspector/InspectorIndexedDBAgent.cpp:
74         (WebCore):
75         * inspector/InspectorOverlay.cpp:
76         * inspector/InspectorStyleSheet.cpp:
77         (WebCore::InspectorStyle::setPropertyText):
78         (WebCore::InspectorStyle::newLineAndWhitespaceDelimiters):
79         * loader/ImageLoader.cpp:
80         (WebCore::ImageLoader::notifyFinished):
81         * loader/MainResourceLoader.cpp:
82         (WebCore::MainResourceLoader::didReceiveResponse):
83         * loader/TextTrackLoader.cpp:
84         (WebCore::TextTrackLoader::corsPolicyPreventedLoad):
85         * loader/icon/IconDatabase.cpp:
86         (WebCore::IconDatabase::defaultDatabaseFilename):
87         * page/ContentSecurityPolicy.cpp:
88         (WebCore::CSPDirectiveList::allowJavaScriptURLs):
89         (WebCore::CSPDirectiveList::allowInlineEventHandlers):
90         (WebCore::CSPDirectiveList::allowInlineScript):
91         (WebCore::CSPDirectiveList::allowInlineStyle):
92         (WebCore::CSPDirectiveList::allowEval):
93         (WebCore::CSPDirectiveList::allowScriptNonce):
94         (WebCore::CSPDirectiveList::allowScriptFromSource):
95         (WebCore::CSPDirectiveList::allowObjectFromSource):
96         (WebCore::CSPDirectiveList::allowChildFrameFromSource):
97         (WebCore::CSPDirectiveList::allowImageFromSource):
98         (WebCore::CSPDirectiveList::allowStyleFromSource):
99         (WebCore::CSPDirectiveList::allowFontFromSource):
100         (WebCore::CSPDirectiveList::allowMediaFromSource):
101         (WebCore::CSPDirectiveList::allowConnectToSource):
102         (WebCore::CSPDirectiveList::allowFormAction):
103         (WebCore::CSPDirectiveList::addDirective):
104         * page/Page.cpp:
105         (WebCore::Page::groupName):
106         * platform/animation/Animation.cpp:
107         (WebCore::Animation::initialAnimationName):
108         * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp:
109         (WebCore::CookieDatabaseBackingStore::upgradeTableIfNeeded):
110         * platform/blackberry/RenderThemeBlackBerry.cpp:
111         (WebCore::RenderThemeBlackBerry::defaultGUIFont):
112         * platform/chromium/ClipboardUtilitiesChromium.cpp:
113         (WebCore::replaceNewlinesWithWindowsStyleNewlines):
114         * platform/efl/RenderThemeEfl.cpp:
115         (WebCore::RenderThemeEfl::systemFont):
116         * platform/graphics/filters/CustomFilterCompiledProgram.cpp:
117         (WebCore):
118         * platform/win/ClipboardUtilitiesWin.cpp:
119         (WebCore::replaceNewlinesWithWindowsStyleNewlines):
120         * rendering/RenderThemeChromiumSkia.cpp:
121         (WebCore::RenderThemeChromiumSkia::defaultGUIFont):
122         * svg/SVGAngle.cpp:
123         (WebCore::SVGAngle::valueAsString):
124         * svg/SVGTransform.cpp:
125         (WebCore::SVGTransform::transformTypePrefixForParsing):
126         * xml/parser/XMLTokenizer.cpp:
127         (WebCore::XMLTokenizer::nextToken):
128         * xml/parser/XMLTreeBuilder.cpp:
129         (WebCore::XMLTreeBuilder::processXMLEntity):
130
131 2012-08-28  Adam Barth  <abarth@webkit.org>
132
133         Deploy ASCIILiteral and StringBuilder in more places in WebCore
134         https://bugs.webkit.org/show_bug.cgi?id=95291
135
136         Reviewed by Benjamin Poulain.
137
138         I wanted to deploy ASCIILiteral in more places in WebCore, but there's
139         a bunch of code that should be using StringBuilder, which I couldn't
140         resist deploying as well.
141
142         * Modules/mediastream/PeerConnection00.cpp:
143         (WebCore::PeerConnection00::createIceOptions):
144         * bindings/js/JSBlobCustom.cpp:
145         (WebCore::JSBlobConstructor::constructJSBlob):
146         * bindings/v8/V8LazyEventListener.cpp:
147         (WebCore::V8LazyEventListener::prepareListenerObject):
148         * bindings/v8/custom/V8BlobCustom.cpp:
149         (WebCore::V8Blob::constructorCallback):
150         * css/CSSCanvasValue.cpp:
151         (WebCore::CSSCanvasValue::customCssText):
152         * css/CSSCrossfadeValue.cpp:
153         (WebCore::CSSCrossfadeValue::customCssText):
154         * css/CSSPageRule.cpp:
155         (WebCore::CSSPageRule::selectorText):
156         * css/CSSSelector.cpp:
157         (WebCore::CSSSelector::selectorText):
158         * editing/EditorCommand.cpp:
159         (WebCore::executeToggleStyleInList):
160         * editing/SmartReplaceICU.cpp:
161         (WebCore::getSmartSet):
162         * editing/markup.cpp:
163         (WebCore::fillContainerFromString):
164         * html/HTMLTitleElement.cpp:
165         (WebCore::HTMLTitleElement::text):
166         * inspector/InspectorConsoleAgent.cpp:
167         (WebCore::InspectorConsoleAgent::didFailLoading):
168         * page/EventSource.cpp:
169         (WebCore::EventSource::didReceiveResponse):
170         * platform/blackberry/LocalizedStringsBlackBerry.cpp:
171         (WebCore::platformLanguage):
172         * platform/graphics/GraphicsLayer.cpp:
173         (WebCore::GraphicsLayer::animationNameForTransition):
174         * platform/network/blackberry/rss/RSSAtomParser.cpp:
175         (WebCore::RSSAtomParser::parseContent):
176         * platform/sql/SQLiteDatabase.cpp:
177         (WebCore::SQLiteDatabase::open):
178         (WebCore::SQLiteDatabase::setFullsync):
179         (WebCore::SQLiteDatabase::maximumSize):
180         (WebCore::SQLiteDatabase::pageSize):
181         (WebCore::SQLiteDatabase::freeSpaceSize):
182         (WebCore::SQLiteDatabase::totalSize):
183         (WebCore::SQLiteDatabase::tableExists):
184         (WebCore::SQLiteDatabase::clearAllTables):
185         (WebCore::SQLiteDatabase::runVacuumCommand):
186         (WebCore::SQLiteDatabase::runIncrementalVacuumCommand):
187         (WebCore::SQLiteDatabase::turnOnIncrementalAutoVacuum):
188         * platform/win/FileSystemWin.cpp:
189         (WebCore::bundleName):
190         (WebCore::storageDirectory):
191         * plugins/PluginStream.cpp:
192         (WebCore::PluginStream::startStream):
193         * rendering/RenderMenuList.cpp:
194         (WebCore::RenderMenuList::setTextFromOption):
195
196 2012-08-29  Yoshifumi Inoue  <yosin@chromium.org>
197
198         [Forms] Make HTMLInputElement::blur()/focus() override-able by input type
199         https://bugs.webkit.org/show_bug.cgi?id=95279
200
201         Reviewed by Hajime Morrita.
202
203         This patch allows HTMLInputElement::focus() and blur() functions to be
204         override-able.
205
206         This patch is part of Shift+Tab focus navigation change for multiple
207         field time input UI, bug 95168.
208
209         No new tests. This patch doesn't change behavior.
210
211         * dom/Element.h:
212         (WebCore::Element): Changed blur() to virtual function.
213         * html/HTMLInputElement.cpp:
214         (WebCore::HTMLInputElement::blur): Added to call InputType::blur().
215         (WebCore::HTMLInputElement::defaultBlur): Added for default implementation of blur().
216         (WebCore::HTMLInputElement::defaultFocus): Added for default implementation of focus().
217         (WebCore::HTMLInputElement::focus): Added to call InputType::focus()
218         * html/HTMLInputElement.h:
219         (HTMLInputElement): Added declarations of blur(), defaultBlur(), defaultFocus() and focus().
220         * html/InputType.cpp:
221         (WebCore::InputType::blur): Added to call HTMLInputElement::defaultBlur() as default implementation.
222         (WebCore::InputType::focus):  Added to call HTMLInputElement::defaultFocus() as default implementation.
223         * html/InputType.h:
224         (InputType): Added declarations of blur(), and focus().
225
226 2012-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
227
228         Unreviewed, rolling out r126963.
229         http://trac.webkit.org/changeset/126963
230         https://bugs.webkit.org/show_bug.cgi?id=95298
231
232         Does not compile with clang (Requested by abarth on #webkit).
233
234         * html/HTMLInputElement.cpp:
235         * html/HTMLInputElement.h:
236         (HTMLInputElement):
237         * html/InputType.cpp:
238         * html/InputType.h:
239         (InputType):
240
241 2012-08-28  Yoshifumi Inoue  <yosin@chromium.org>
242
243         [Forms] Make HTMLInputElement::blur()/focus() override-able by input type
244         https://bugs.webkit.org/show_bug.cgi?id=95279
245
246         Reviewed by Hajime Morrita.
247
248         This patch allows HTMLInputElement::focus() and blur() functions to be
249         override-able.
250
251         This patch is part of Shift+Tab focus navigation change for multiple
252         field time input UI, bug 95168.
253
254         No new tests. This patch doesn't change behavior.
255
256         * html/HTMLInputElement.cpp:
257         (WebCore::HTMLInputElement::blur): Added to call InputType::blur().
258         (WebCore::HTMLInputElement::defaultBlur): Added for default implementation of blur().
259         (WebCore::HTMLInputElement::defaultFocus): Added for default implementation of focus().
260         (WebCore::HTMLInputElement::focus): Added to call InputType::focus()
261         * html/HTMLInputElement.h:
262         (HTMLInputElement): Added declarations of blur(), defaultBlur(), defaultFocus() and focus().
263         * html/InputType.cpp:
264         (WebCore::InputType::blur): Added to call HTMLInputElement::defaultBlur() as default implementation.
265         (WebCore::InputType::focus):  Added to call HTMLInputElement::defaultFocus() as default implementation.
266         * html/InputType.h:
267         (InputType): Added declarations of blur(), and focus().
268
269 2012-08-28  Geoffrey Garen  <ggaren@apple.com>
270
271         Added JSScope::objectInScope(), and refactored callers to use it
272         https://bugs.webkit.org/show_bug.cgi?id=95281
273
274         Reviewed by Gavin Barraclough.
275
276         * bindings/js/JSJavaScriptCallFrameCustom.cpp:
277         (WebCore::JSJavaScriptCallFrame::scopeChain):
278         (WebCore::JSJavaScriptCallFrame::scopeType):
279
280 2012-08-28  Andrei Bucur  <abucur@adobe.com>
281
282         Layout Test fast/repaint/japanese-rl-selection-repaint-in-regions.html is failing after r126304
283         https://bugs.webkit.org/show_bug.cgi?id=94730
284
285         Reviewed by Adam Barth.
286
287         Having an intermediary node between the named flow renderers and the view may introduce subtle bugs that are hard to track. Also it doesn't fix
288         the pointless destruction of a RenderNamedFlowThread in some special cases (e.g. region->detach, destroy flow thread, region->attach, recreate flow
289         thread).
290         This patch proposes a new way of lazily destroying the renderers for NULL named flows, at layout time. When a renderer has no content nodes or regions
291         attached, its named flow is considered to be in the NULL state. When starting a layout process it is a good time to go through the renderers of the
292         NULL named flows and destroy them.
293
294         Tests: No functional change, the old tests should pass without issues.
295
296         * CMakeLists.txt:
297         * GNUmakefile.list.am:
298         * Target.pri:
299         * WebCore.gypi:
300         * WebCore.vcproj/WebCore.vcproj:
301         * WebCore.xcodeproj/project.pbxproj:
302         * dom/WebKitNamedFlow.cpp:
303         (WebCore::WebKitNamedFlow::getRegionsByContent):
304         (WebCore::WebKitNamedFlow::getRegions):
305         (WebCore::WebKitNamedFlow::setRenderer):
306         * rendering/FlowThreadController.cpp:
307         (WebCore::FlowThreadController::FlowThreadController):
308         (WebCore::FlowThreadController::ensureRenderFlowThreadWithName):
309         (WebCore::FlowThreadController::layoutRenderNamedFlowThreads):
310         * rendering/FlowThreadController.h:
311         (WebCore):
312         (FlowThreadController):
313         * rendering/RenderFlowThreadContainer.cpp: Removed.
314         * rendering/RenderFlowThreadContainer.h: Removed.
315         * rendering/RenderNamedFlowThread.cpp:
316         (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
317         (WebCore::RenderNamedFlowThread::~RenderNamedFlowThread):
318         (WebCore::RenderNamedFlowThread::addRegionToThread):
319         (WebCore::RenderNamedFlowThread::removeRegionFromThread):
320         (WebCore::RenderNamedFlowThread::registerNamedFlowContentNode):
321         (WebCore::RenderNamedFlowThread::unregisterNamedFlowContentNode):
322         (WebCore::RenderNamedFlowThread::setMarkForDestruction):
323         (WebCore):
324         (WebCore::RenderNamedFlowThread::resetMarkForDestruction):
325         (WebCore::RenderNamedFlowThread::isMarkedForDestruction):
326         * rendering/RenderNamedFlowThread.h:
327         (RenderNamedFlowThread):
328         * rendering/RenderObject.cpp:
329         (WebCore::RenderObject::markContainingBlocksForLayout):
330         * rendering/RenderObject.h:
331
332 2012-08-28  Kenichi Ishibashi  <bashi@chromium.org>
333
334         style->fontMetrics() should be available when setting line-height
335         https://bugs.webkit.org/show_bug.cgi?id=93327
336
337         Reviewed by Darin Adler.
338
339         Setting line-height assumes the fontMetrics are available for the affected font, but
340         the fontMetrics won't be available immediately after setting other properties like
341         font-size. Call styleResolver->updateFont() before setting line-height to update fontMetrics.
342
343         Added a test case to fast/canvas/crash-set-font.html.
344
345         * html/canvas/CanvasRenderingContext2D.cpp:
346         (WebCore::CanvasRenderingContext2D::setFont):
347         Call styleResolver->updateFont() before styleResolver->applyPropertyToCurrentStyle(CSSPropertyLineHeight,...)
348
349 2012-08-28  David Reveman  <reveman@chromium.org>
350
351         [Chromium] Scheduler will never process a commit until it receives a vsync tick.
352         https://bugs.webkit.org/show_bug.cgi?id=94721
353
354         Reviewed by James Robinson.
355
356         Add updateResourcesComplete callback to CCScheduler and use this to
357         indicate completion of texture updates instead of calling
358         CCSchedulerClient::hasMoreResourceUpdates when receiving a vsync tick.
359
360         Unit tests: CCTextureUpdateControllerTest.UpdateMoreTextures
361                     CCTextureUpdateControllerTest.HasMoreUpdates
362                     CCTextureUpdateControllerTest.UpdatesCompleteInFiniteTime
363
364         * platform/graphics/chromium/cc/CCScheduler.cpp:
365         (WebCore::CCScheduler::CCScheduler):
366         (WebCore::CCScheduler::beginFrameComplete):
367         (WebCore::CCScheduler::vsyncTick):
368         (WebCore::CCScheduler::updateResourcesComplete):
369         (WebCore):
370         (WebCore::CCScheduler::processScheduledActions):
371         * platform/graphics/chromium/cc/CCScheduler.h:
372         (CCSchedulerClient):
373         (CCScheduler):
374         * platform/graphics/chromium/cc/CCTextureUpdateController.cpp:
375         (WebCore::CCTextureUpdateController::CCTextureUpdateController):
376         (WebCore::CCTextureUpdateController::updateMoreTextures):
377         (WebCore::CCTextureUpdateController::discardUploads):
378         (WebCore::CCTextureUpdateController::onTimerFired):
379         (WebCore::CCTextureUpdateController::updateMoreTexturesIfEnoughTimeRemaining):
380         * platform/graphics/chromium/cc/CCTextureUpdateController.h:
381         (CCTextureUpdateControllerClient):
382         (WebCore::CCTextureUpdateControllerClient::~CCTextureUpdateControllerClient):
383         (WebCore):
384         (WebCore::CCTextureUpdateController::create):
385         (CCTextureUpdateController):
386         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
387         (WebCore::CCThreadProxy::didLoseContextOnImplThread):
388         (WebCore::CCThreadProxy::beginFrameCompleteOnImplThread):
389         (WebCore::CCThreadProxy::scheduledActionCommit):
390         (WebCore::CCThreadProxy::updateTexturesCompleted):
391         (WebCore):
392         * platform/graphics/chromium/cc/CCThreadProxy.h:
393         (WebCore):
394
395 2012-08-28  John Bates  <jbates@google.com>
396
397         [Chromium] Update some compositor trace events
398         https://bugs.webkit.org/show_bug.cgi?id=95275
399
400         Reviewed by James Robinson.
401
402         * platform/graphics/chromium/cc/CCFrameRateController.cpp:
403         (WebCore::CCFrameRateController::setActive):
404         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
405         (WebCore::CCThreadProxy::onVSyncParametersChanged):
406
407 2012-08-28  Adam Barth  <abarth@webkit.org>
408
409         crypto.getRandomValues should throw an exception when given a big array
410         https://bugs.webkit.org/show_bug.cgi?id=95269
411
412         Reviewed by Eric Seidel.
413
414         The W3C Web Cryptography Working Group has taken up specifying
415         window.crypto. The latest draft calls for getRandomValues to throw an
416         exception when given an array that's large.
417
418         Test: security/crypto-random-values-limits.html
419
420         * page/Crypto.cpp:
421         (WebCore::Crypto::getRandomValues):
422
423 2012-08-28  Tom Sepez  <tsepez@chromium.org>
424
425         CSP doesn't turn off eval, etc. in Web Workers
426         https://bugs.webkit.org/show_bug.cgi?id=93392
427
428         Reviewed by Adam Barth.
429
430         On the JSC side, the blocking of eval() in workers was handled correctly, so it is
431         a matter of adding calls check the policy for setTimeout and SetInterval.  On the v8
432         side, it is a matter of handling the above, plus eval().
433
434         On the v8 side, the v8 context isn't available when the callers want to disable eval.
435         Rather than creating it earlier, which is problematic, remember the setting in the
436         WorkerContextExecutionProxy and apply before the next call to its evaluate() method.
437
438         Tests: http/tests/security/contentSecurityPolicy/worker-eval-blocked.html
439                http/tests/security/contentSecurityPolicy/worker-function-function-blocked.html
440
441         * bindings/js/JSWorkerContextCustom.cpp:
442         (WebCore::JSWorkerContext::setTimeout):
443         (WebCore::JSWorkerContext::setInterval):
444         * bindings/v8/WorkerContextExecutionProxy.cpp:
445         (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
446         (WebCore::WorkerContextExecutionProxy::evaluate):
447         (WebCore::WorkerContextExecutionProxy::setEvalAllowed):
448         (WebCore):
449         * bindings/v8/WorkerContextExecutionProxy.h:
450         (WorkerContextExecutionProxy):
451         * bindings/v8/WorkerScriptController.cpp:
452         (WebCore::WorkerScriptController::disableEval):
453         * bindings/v8/custom/V8WorkerContextCustom.cpp:
454         (WebCore::SetTimeoutOrInterval):
455
456 2012-08-28  Aaron Colwell  <acolwell@chromium.org>
457
458         Make MediaSource event dispatch asynchronous.
459         https://bugs.webkit.org/show_bug.cgi?id=95217
460
461         Reviewed by Eric Carlson.
462
463         Update MediaSource & SourceBufferList to use a GenericEventQueue to dispatch events 
464         instead of using synchronous dispatch.
465
466         Test: http/tests/media/media-source/video-media-source-async-events.html
467
468         * Modules/mediasource/MediaSource.cpp:
469         (WebCore::MediaSource::MediaSource): Create GenericEventQueue & pass a pointer to SourceBufferList.
470         (WebCore::MediaSource::addSourceBuffer):
471         (WebCore::MediaSource::setReadyState): Updated to use new scheduleEvent() helper method.
472         (WebCore::MediaSource::scheduleEvent): New method for creating events and adding them to the event queue.
473         (WebCore):
474         * Modules/mediasource/MediaSource.h: Added GenericEventQueue member and scheduleEvent() signature.
475         (MediaSource):
476         * Modules/mediasource/SourceBufferList.cpp:
477         (WebCore::SourceBufferList::SourceBufferList):
478         (WebCore::SourceBufferList::remove):
479         (WebCore::SourceBufferList::createAndFireEvent): Updated to queue events instead of synchronously dispatch them.
480         * Modules/mediasource/SourceBufferList.h:
481         (WebCore):
482         (WebCore::SourceBufferList::create):
483         (SourceBufferList):
484
485 2012-08-28  Leandro Gracia Gil  <leandrogracia@chromium.org>
486
487         Content detection should not disrupt the page behaviour
488         https://bugs.webkit.org/show_bug.cgi?id=94727
489
490         Reviewed by Adam Barth.
491
492         Tested by WebViewTest::DetectContentAroundPosition.
493
494         * dom/Node.cpp:
495         (WebCore::Node::willRespondToTouchEvents): checks if a node listens to touch events. Very similar to willRespondToMouseClickEvents.
496         (WebCore):
497         * dom/Node.h:
498         (Node):
499
500 2012-08-28  Simon Fraser  <simon.fraser@apple.com>
501
502         Handle sticky that overflows its container
503         https://bugs.webkit.org/show_bug.cgi?id=95260
504
505         Reviewed by Ojan Vafai.
506
507         When an element with position:sticky overflows its container,
508         don't have the sticky code push it back inside that container.
509         It will just never get offset in the sticky direction.
510
511         Test: fast/css/sticky/sticky-overflowing.html
512
513         * rendering/RenderBoxModelObject.cpp:
514         (WebCore::RenderBoxModelObject::stickyPositionOffset):
515
516 2012-08-28  Mark Pilgrim  <pilgrim@chromium.org>
517
518         [Chromium] Remove decodeAudioFileData from PlatformSupport
519         https://bugs.webkit.org/show_bug.cgi?id=95250
520
521         Reviewed by Adam Barth.
522
523         Part of a refactoring series. See tracking bug 82948.
524
525         * platform/audio/chromium/AudioBusChromium.cpp:
526         (WebCore::decodeAudioFileData):
527         (WebCore):
528         (WebCore::AudioBus::loadPlatformResource):
529         (WebCore::createBusFromInMemoryAudioFile):
530         * platform/chromium/PlatformSupport.h:
531         (PlatformSupport):
532
533 2012-08-27  Alexandru Chiculita  <achicu@adobe.com>
534
535         [CSS Filters] Filters should render using sRGB until the specification says how it works
536         https://bugs.webkit.org/show_bug.cgi?id=94372
537
538         Reviewed by Dirk Schulze.
539
540         The short-hand version of the CSS Filters should render using sRGB until a CSS property is added 
541         to allow choosing the color space to be used when computing the filters. 
542         For now I've just made all the CSS filters use sRGB by defualt. Note that this change has no effect on SVG filters.
543
544         Test: css3/filters/null-effect-check.html
545
546         * rendering/FilterEffectRenderer.cpp:
547         (WebCore::FilterEffectRenderer::build):
548
549 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
550
551         Unreviewed, rolling out r126914.
552         http://trac.webkit.org/changeset/126914
553         https://bugs.webkit.org/show_bug.cgi?id=95239
554
555         it breaks everything and fixes nothing (Requested by pizlo on
556         #webkit).
557
558         * Modules/geolocation/Geolocation.cpp:
559         (WebCore::Geolocation::Watchers::find):
560         (WebCore::Geolocation::Watchers::remove):
561         * Modules/indexeddb/IDBDatabase.cpp:
562         (WebCore::IDBDatabase::objectStoreNames):
563         * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
564         (WebCore::IDBDatabaseBackendImpl::metadata):
565         * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
566         (WebCore::IDBFactoryBackendImpl::deleteDatabase):
567         (WebCore::IDBFactoryBackendImpl::openBackingStore):
568         (WebCore::IDBFactoryBackendImpl::open):
569         * Modules/indexeddb/IDBObjectStore.cpp:
570         (WebCore::IDBObjectStore::indexNames):
571         (WebCore::IDBObjectStore::put):
572         (WebCore::IDBObjectStore::index):
573         (WebCore::IDBObjectStore::deleteIndex):
574         * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
575         (WebCore::IDBObjectStoreBackendImpl::metadata):
576         (WebCore::makeIndexWriters):
577         (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
578         * Modules/indexeddb/IDBTransaction.cpp:
579         (WebCore::IDBTransaction::objectStore):
580         (WebCore::IDBTransaction::objectStoreDeleted):
581         (WebCore::IDBTransaction::onAbort):
582         (WebCore::IDBTransaction::dispatchEvent):
583         * Modules/webdatabase/AbstractDatabase.cpp:
584         (WebCore::AbstractDatabase::performOpenAndVerify):
585         * Modules/webdatabase/DatabaseTracker.cpp:
586         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
587         * Modules/webdatabase/OriginUsageRecord.cpp:
588         (WebCore::OriginUsageRecord::diskUsage):
589         * Modules/webdatabase/SQLTransactionCoordinator.cpp:
590         (WebCore::SQLTransactionCoordinator::acquireLock):
591         (WebCore::SQLTransactionCoordinator::releaseLock):
592         (WebCore::SQLTransactionCoordinator::shutdown):
593         * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
594         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
595         * Modules/webdatabase/chromium/QuotaTracker.cpp:
596         (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
597         (WebCore::QuotaTracker::updateDatabaseSize):
598         * Modules/websockets/WebSocketDeflateFramer.cpp:
599         (WebCore::WebSocketExtensionDeflateFrame::processResponse):
600         * Modules/websockets/WebSocketExtensionDispatcher.cpp:
601         (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
602         * accessibility/AXObjectCache.cpp:
603         (WebCore::AXObjectCache::~AXObjectCache):
604         * bindings/gobject/DOMObjectCache.cpp:
605         (WebKit::DOMObjectCache::clearByFrame):
606         * bindings/js/DOMObjectHashTableMap.h:
607         (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
608         (WebCore::DOMObjectHashTableMap::get):
609         * bindings/js/JSDOMBinding.cpp:
610         (WebCore::cacheDOMStructure):
611         * bindings/js/JSDOMGlobalObject.cpp:
612         (WebCore::JSDOMGlobalObject::visitChildren):
613         * bindings/js/JSDOMGlobalObject.h:
614         (WebCore::getDOMConstructor):
615         * bindings/js/PageScriptDebugServer.cpp:
616         (WebCore::PageScriptDebugServer::addListener):
617         (WebCore::PageScriptDebugServer::removeListener):
618         * bindings/js/ScriptCachedFrameData.cpp:
619         (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
620         (WebCore::ScriptCachedFrameData::restore):
621         * bindings/js/ScriptController.cpp:
622         (WebCore::ScriptController::~ScriptController):
623         (WebCore::ScriptController::clearWindowShell):
624         (WebCore::ScriptController::attachDebugger):
625         (WebCore::ScriptController::updateDocument):
626         (WebCore::ScriptController::createRootObject):
627         (WebCore::ScriptController::collectIsolatedContexts):
628         (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
629         (WebCore::ScriptController::clearScriptObjects):
630         * bindings/js/ScriptController.h:
631         (WebCore::ScriptController::windowShell):
632         (WebCore::ScriptController::existingWindowShell):
633         * bindings/js/ScriptDebugServer.cpp:
634         (WebCore::ScriptDebugServer::setBreakpoint):
635         (WebCore::ScriptDebugServer::removeBreakpoint):
636         (WebCore::ScriptDebugServer::hasBreakpoint):
637         * bindings/js/SerializedScriptValue.cpp:
638         (WebCore::CloneSerializer::checkForDuplicate):
639         (WebCore::CloneSerializer::dumpIfTerminal):
640         (WebCore::CloneSerializer::write):
641         * bindings/scripts/CodeGeneratorV8.pm:
642         (GenerateImplementation):
643         * bindings/scripts/test/V8/V8Float64Array.cpp:
644         (WebCore::V8Float64Array::GetRawTemplate):
645         (WebCore::V8Float64Array::GetTemplate):
646         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
647         (WebCore::V8TestActiveDOMObject::GetRawTemplate):
648         (WebCore::V8TestActiveDOMObject::GetTemplate):
649         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
650         (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
651         (WebCore::V8TestCustomNamedGetter::GetTemplate):
652         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
653         (WebCore::V8TestEventConstructor::GetRawTemplate):
654         (WebCore::V8TestEventConstructor::GetTemplate):
655         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
656         (WebCore::V8TestEventTarget::GetRawTemplate):
657         (WebCore::V8TestEventTarget::GetTemplate):
658         * bindings/scripts/test/V8/V8TestException.cpp:
659         (WebCore::V8TestException::GetRawTemplate):
660         (WebCore::V8TestException::GetTemplate):
661         * bindings/scripts/test/V8/V8TestInterface.cpp:
662         (WebCore::V8TestInterface::GetRawTemplate):
663         (WebCore::V8TestInterface::GetTemplate):
664         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
665         (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
666         (WebCore::V8TestMediaQueryListListener::GetTemplate):
667         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
668         (WebCore::V8TestNamedConstructor::GetRawTemplate):
669         (WebCore::V8TestNamedConstructor::GetTemplate):
670         * bindings/scripts/test/V8/V8TestNode.cpp:
671         (WebCore::V8TestNode::GetRawTemplate):
672         (WebCore::V8TestNode::GetTemplate):
673         * bindings/scripts/test/V8/V8TestObj.cpp:
674         (WebCore::V8TestObj::GetRawTemplate):
675         (WebCore::V8TestObj::GetTemplate):
676         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
677         (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
678         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
679         * bindings/v8/DOMWrapperWorld.cpp:
680         (WebCore::DOMWrapperWorld::deallocate):
681         (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
682         * bindings/v8/NPV8Object.cpp:
683         (WebCore::freeV8NPObject):
684         (WebCore::npCreateV8ScriptObject):
685         * bindings/v8/ScriptController.cpp:
686         (WebCore::ScriptController::clearScriptObjects):
687         (WebCore::ScriptController::resetIsolatedWorlds):
688         (WebCore::ScriptController::evaluateInIsolatedWorld):
689         (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
690         (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
691         (WebCore::ScriptController::collectIsolatedContexts):
692         * bindings/v8/SerializedScriptValue.cpp:
693         * bindings/v8/V8DOMMap.h:
694         (WebCore::WeakReferenceMap::removeIfPresent):
695         (WebCore::WeakReferenceMap::visit):
696         * bindings/v8/V8GCController.cpp:
697         (WebCore::enumerateGlobalHandles):
698         * bindings/v8/V8PerContextData.cpp:
699         (WebCore::V8PerContextData::dispose):
700         * bindings/v8/npruntime.cpp:
701         * bridge/IdentifierRep.cpp:
702         (WebCore::IdentifierRep::get):
703         * bridge/NP_jsobject.cpp:
704         (ObjectMap::add):
705         (ObjectMap::remove):
706         * bridge/jni/jsc/JavaClassJSC.cpp:
707         (JavaClass::~JavaClass):
708         * bridge/qt/qt_instance.cpp:
709         (JSC::Bindings::WeakMap::set):
710         * bridge/runtime_root.cpp:
711         (JSC::Bindings::RootObject::invalidate):
712         * css/CSSCanvasValue.cpp:
713         (WebCore::CSSCanvasValue::canvasChanged):
714         (WebCore::CSSCanvasValue::canvasResized):
715         * css/CSSComputedStyleDeclaration.cpp:
716         (WebCore::counterToCSSValue):
717         * css/CSSCrossfadeValue.cpp:
718         (WebCore::CSSCrossfadeValue::crossfadeChanged):
719         * css/CSSFontFaceSource.cpp:
720         (WebCore::CSSFontFaceSource::getFontData):
721         * css/CSSFontSelector.cpp:
722         (WebCore::CSSFontSelector::addFontFaceRule):
723         (WebCore::CSSFontSelector::getFontData):
724         * css/CSSImageGeneratorValue.cpp:
725         (WebCore::CSSImageGeneratorValue::addClient):
726         (WebCore::CSSImageGeneratorValue::removeClient):
727         (WebCore::CSSImageGeneratorValue::getImage):
728         * css/CSSSegmentedFontFace.cpp:
729         (WebCore::CSSSegmentedFontFace::getFontData):
730         * css/CSSSelector.cpp:
731         (WebCore::CSSSelector::parsePseudoType):
732         * css/CSSValuePool.cpp:
733         (WebCore::CSSValuePool::createColorValue):
734         (WebCore::CSSValuePool::createFontFamilyValue):
735         (WebCore::CSSValuePool::createFontFaceValue):
736         * css/PropertySetCSSStyleDeclaration.cpp:
737         (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
738         * css/StyleBuilder.cpp:
739         (WebCore::ApplyPropertyCounter::applyInheritValue):
740         (WebCore::ApplyPropertyCounter::applyValue):
741         * css/StyleResolver.cpp:
742         (WebCore::StyleResolver::collectFeatures):
743         (WebCore::StyleResolver::ruleSetForScope):
744         (WebCore::StyleResolver::appendAuthorStylesheets):
745         (WebCore::StyleResolver::sweepMatchedPropertiesCache):
746         (WebCore::StyleResolver::collectMatchingRulesForList):
747         * css/StyleSheetContents.cpp:
748         (WebCore::StyleSheetContents::parserAddNamespace):
749         (WebCore::StyleSheetContents::determineNamespace):
750         * dom/CheckedRadioButtons.cpp:
751         (WebCore::CheckedRadioButtons::addButton):
752         (WebCore::CheckedRadioButtons::removeButton):
753         * dom/ChildListMutationScope.cpp:
754         (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
755         (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
756         (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
757         (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
758         * dom/Document.cpp:
759         (WebCore::Document::pageGroupUserSheets):
760         (WebCore::Document::windowNamedItems):
761         (WebCore::Document::documentNamedItems):
762         (WebCore::Document::getCSSCanvasElement):
763         * dom/DocumentMarkerController.cpp:
764         (WebCore::DocumentMarkerController::markerContainingPoint):
765         (WebCore::DocumentMarkerController::renderedRectsForMarkers):
766         (WebCore::DocumentMarkerController::removeMarkers):
767         (WebCore::DocumentMarkerController::repaintMarkers):
768         (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
769         (WebCore::DocumentMarkerController::showMarkers):
770         * dom/DocumentOrderedMap.cpp:
771         (WebCore::DocumentOrderedMap::remove):
772         * dom/ElementAttributeData.cpp:
773         (WebCore::ensureAttrListForElement):
774         * dom/EventDispatcher.cpp:
775         (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
776         * dom/EventListenerMap.cpp:
777         (WebCore::EventListenerMap::eventTypes):
778         (WebCore::EventListenerMap::add):
779         (WebCore::EventListenerMap::remove):
780         (WebCore::EventListenerMap::find):
781         (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
782         (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
783         (WebCore::EventListenerIterator::nextListener):
784         * dom/IdTargetObserverRegistry.cpp:
785         (WebCore::IdTargetObserverRegistry::addObserver):
786         (WebCore::IdTargetObserverRegistry::removeObserver):
787         * dom/MemoryInstrumentation.h:
788         (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
789         (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
790         * dom/MutationObserverInterestGroup.cpp:
791         (WebCore::MutationObserverInterestGroup::isOldValueRequested):
792         (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
793         * dom/Node.cpp:
794         (WebCore::Node::dumpStatistics):
795         (WebCore::Node::clearRareData):
796         (WebCore::NodeListsNodeData::invalidateCaches):
797         (WebCore::Node::collectMatchingObserversForMutation):
798         * dom/NodeRareData.h:
799         (WebCore::NodeListsNodeData::addCacheWithAtomicName):
800         (WebCore::NodeListsNodeData::addCacheWithName):
801         (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
802         (WebCore::NodeListsNodeData::adoptTreeScope):
803         * dom/ProcessingInstruction.cpp:
804         (WebCore::ProcessingInstruction::checkStyleSheet):
805         * dom/ScriptExecutionContext.cpp:
806         (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
807         (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
808         (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
809         (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
810         (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
811         * dom/SelectorQuery.cpp:
812         (WebCore::SelectorQueryCache::add):
813         * dom/SpaceSplitString.cpp:
814         (WebCore::SpaceSplitStringData::create):
815         * dom/StyledElement.cpp:
816         (WebCore::StyledElement::updateAttributeStyle):
817         * editing/mac/AlternativeTextUIController.mm:
818         (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
819         * html/FormController.cpp:
820         (WebCore::SavedFormState::serializeTo):
821         (WebCore::SavedFormState::appendControlState):
822         (WebCore::SavedFormState::takeControlState):
823         (WebCore::SavedFormState::getReferencedFilePaths):
824         (WebCore::FormKeyGenerator::formKey):
825         (WebCore::FormController::createSavedFormStateMap):
826         (WebCore::FormController::formElementsState):
827         (WebCore::FormController::takeStateForFormElement):
828         (WebCore::FormController::getReferencedFilePaths):
829         * html/HTMLCollection.cpp:
830         (WebCore::HTMLCollectionCacheBase::append):
831         * html/canvas/WebGLFramebuffer.cpp:
832         (WebCore::WebGLFramebuffer::getAttachment):
833         (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
834         (WebCore::WebGLFramebuffer::checkStatus):
835         (WebCore::WebGLFramebuffer::deleteObjectImpl):
836         (WebCore::WebGLFramebuffer::initializeAttachments):
837         * inspector/CodeGeneratorInspector.py:
838         * inspector/DOMPatchSupport.cpp:
839         (WebCore::DOMPatchSupport::diff):
840         (WebCore::DOMPatchSupport::innerPatchChildren):
841         (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
842         * inspector/InjectedScriptManager.cpp:
843         (WebCore::InjectedScriptManager::injectedScriptForId):
844         (WebCore::InjectedScriptManager::injectedScriptIdFor):
845         (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
846         (WebCore::InjectedScriptManager::releaseObjectGroup):
847         (WebCore::InjectedScriptManager::injectedScriptFor):
848         * inspector/InspectorCSSAgent.cpp:
849         (WebCore::SelectorProfile::commitSelector):
850         (WebCore::SelectorProfile::commitSelectorTime):
851         (WebCore::SelectorProfile::toInspectorObject):
852         (WebCore::InspectorCSSAgent::forcePseudoState):
853         (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
854         (WebCore::InspectorCSSAgent::assertStyleSheetForId):
855         (WebCore::InspectorCSSAgent::didRemoveDOMNode):
856         (WebCore::InspectorCSSAgent::didModifyDOMAttr):
857         (WebCore::InspectorCSSAgent::resetPseudoStates):
858         * inspector/InspectorConsoleAgent.cpp:
859         (WebCore::InspectorConsoleAgent::stopTiming):
860         (WebCore::InspectorConsoleAgent::count):
861         * inspector/InspectorDOMAgent.cpp:
862         (WebCore::InspectorDOMAgent::nodeForId):
863         (WebCore::InspectorDOMAgent::performSearch):
864         (WebCore::InspectorDOMAgent::getSearchResults):
865         * inspector/InspectorDOMDebuggerAgent.cpp:
866         (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
867         * inspector/InspectorDOMStorageAgent.cpp:
868         (WebCore::InspectorDOMStorageAgent::clearFrontend):
869         (WebCore::InspectorDOMStorageAgent::enable):
870         (WebCore::InspectorDOMStorageAgent::storageId):
871         (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
872         (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
873         (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
874         * inspector/InspectorDatabaseAgent.cpp:
875         (WebCore::InspectorDatabaseAgent::enable):
876         (WebCore::InspectorDatabaseAgent::databaseId):
877         (WebCore::InspectorDatabaseAgent::findByFileName):
878         (WebCore::InspectorDatabaseAgent::databaseForId):
879         * inspector/InspectorDebuggerAgent.cpp:
880         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
881         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
882         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
883         (WebCore::InspectorDebuggerAgent::searchInContent):
884         (WebCore::InspectorDebuggerAgent::getScriptSource):
885         (WebCore::InspectorDebuggerAgent::didParseSource):
886         * inspector/InspectorIndexedDBAgent.cpp:
887         (WebCore):
888         * inspector/InspectorMemoryAgent.cpp:
889         (WebCore):
890         * inspector/InspectorPageAgent.cpp:
891         (WebCore::cachedResourcesForFrame):
892         (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
893         (WebCore::InspectorPageAgent::frameDetached):
894         * inspector/InspectorProfilerAgent.cpp:
895         (WebCore::InspectorProfilerAgent::getProfileHeaders):
896         (WebCore):
897         (WebCore::InspectorProfilerAgent::getProfile):
898         * inspector/InspectorResourceAgent.cpp:
899         (WebCore::buildObjectForHeaders):
900         (WebCore::InspectorResourceAgent::willSendRequest):
901         * inspector/InspectorState.cpp:
902         (WebCore::InspectorState::getBoolean):
903         (WebCore::InspectorState::getString):
904         (WebCore::InspectorState::getLong):
905         (WebCore::InspectorState::getDouble):
906         (WebCore::InspectorState::getObject):
907         * inspector/InspectorStyleSheet.cpp:
908         (WebCore::InspectorStyle::styleWithProperties):
909         (WebCore::InspectorStyleSheet::inspectorStyleForId):
910         * inspector/InspectorValues.cpp:
911         (WebCore::InspectorObjectBase::get):
912         (WebCore::InspectorObjectBase::writeJSON):
913         * inspector/InspectorWorkerAgent.cpp:
914         (WebCore::InspectorWorkerAgent::workerContextTerminated):
915         (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
916         (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
917         * inspector/NetworkResourcesData.cpp:
918         (WebCore::NetworkResourcesData::removeCachedResource):
919         (WebCore::NetworkResourcesData::clear):
920         * loader/CrossOriginAccessControl.cpp:
921         (WebCore::isSimpleCrossOriginAccessRequest):
922         (WebCore::createAccessControlPreflightRequest):
923         * loader/CrossOriginPreflightResultCache.cpp:
924         (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
925         (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
926         * loader/DocumentLoader.cpp:
927         (WebCore::DocumentLoader::getSubresources):
928         (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
929         * loader/MainResourceLoader.cpp:
930         (WebCore::MainResourceLoader::didReceiveResponse):
931         * loader/ResourceLoadScheduler.cpp:
932         (WebCore::ResourceLoadScheduler::servePendingRequests):
933         * loader/appcache/ApplicationCache.cpp:
934         (WebCore::ApplicationCache::removeResource):
935         (WebCore::ApplicationCache::clearStorageID):
936         (WebCore::ApplicationCache::dump):
937         * loader/appcache/ApplicationCacheGroup.cpp:
938         (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
939         (WebCore::ApplicationCacheGroup::startLoadingEntry):
940         (WebCore::ApplicationCacheGroup::addEntry):
941         * loader/appcache/ApplicationCacheHost.cpp:
942         (WebCore::ApplicationCacheHost::fillResourceList):
943         * loader/appcache/ApplicationCacheResource.cpp:
944         (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
945         * loader/appcache/ApplicationCacheStorage.cpp:
946         (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
947         (WebCore::ApplicationCacheStorage::cacheGroupForURL):
948         (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
949         (WebCore::ApplicationCacheStorage::store):
950         (WebCore::ApplicationCacheStorage::empty):
951         (WebCore::ApplicationCacheStorage::storeCopyOfCache):
952         * loader/archive/ArchiveFactory.cpp:
953         (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
954         * loader/cache/CachedRawResource.cpp:
955         (WebCore::CachedRawResource::canReuse):
956         * loader/cache/CachedResource.cpp:
957         (WebCore::CachedResource::switchClientsToRevalidatedResource):
958         (WebCore::CachedResource::updateResponseAfterRevalidation):
959         * loader/cache/CachedResourceClientWalker.h:
960         (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
961         * loader/cache/CachedResourceLoader.cpp:
962         (WebCore::CachedResourceLoader::~CachedResourceLoader):
963         (WebCore::CachedResourceLoader::requestResource):
964         (WebCore::CachedResourceLoader::setAutoLoadImages):
965         (WebCore::CachedResourceLoader::removeCachedResource):
966         (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
967         (WebCore::CachedResourceLoader::reportMemoryUsage):
968         * loader/cache/MemoryCache.cpp:
969         (WebCore::MemoryCache::removeResourcesWithOrigin):
970         (WebCore::MemoryCache::getOriginsWithCache):
971         (WebCore::MemoryCache::getStatistics):
972         (WebCore::MemoryCache::reportMemoryUsage):
973         (WebCore::MemoryCache::setDisabled):
974         * loader/icon/IconDatabase.cpp:
975         (WebCore::IconDatabase::removeAllIcons):
976         (WebCore::IconDatabase::iconRecordCountWithData):
977         (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
978         * page/DOMWindow.cpp:
979         (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
980         (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
981         * page/EventHandler.cpp:
982         (WebCore::EventHandler::handleTouchEvent):
983         * page/Frame.cpp:
984         (WebCore::Frame::injectUserScripts):
985         * page/PageGroup.cpp:
986         (WebCore::PageGroup::pageGroup):
987         (WebCore::PageGroup::closeLocalStorage):
988         (WebCore::PageGroup::clearLocalStorageForAllOrigins):
989         (WebCore::PageGroup::clearLocalStorageForOrigin):
990         (WebCore::PageGroup::syncLocalStorage):
991         (WebCore::PageGroup::addUserScriptToWorld):
992         (WebCore::PageGroup::addUserStyleSheetToWorld):
993         (WebCore::PageGroup::removeUserScriptFromWorld):
994         (WebCore::PageGroup::removeUserStyleSheetFromWorld):
995         * page/PageSerializer.cpp:
996         (WebCore::PageSerializer::urlForBlankFrame):
997         * page/SecurityPolicy.cpp:
998         (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
999         (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
1000         * page/Settings.cpp:
1001         (WebCore::setGenericFontFamilyMap):
1002         (WebCore::getGenericFontFamilyForScript):
1003         * page/SpeechInput.cpp:
1004         (WebCore::SpeechInput::registerListener):
1005         * page/WindowFeatures.cpp:
1006         (WebCore::WindowFeatures::boolFeature):
1007         (WebCore::WindowFeatures::floatFeature):
1008         * page/animation/AnimationController.cpp:
1009         (WebCore::AnimationControllerPrivate::updateAnimations):
1010         (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
1011         (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
1012         (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
1013         * page/animation/CompositeAnimation.cpp:
1014         (WebCore::CompositeAnimation::clearRenderer):
1015         (WebCore::CompositeAnimation::updateTransitions):
1016         (WebCore::CompositeAnimation::updateKeyframeAnimations):
1017         (WebCore::CompositeAnimation::animate):
1018         (WebCore::CompositeAnimation::getAnimatedStyle):
1019         (WebCore::CompositeAnimation::setAnimating):
1020         (WebCore::CompositeAnimation::timeToNextService):
1021         (WebCore::CompositeAnimation::getAnimationForProperty):
1022         (WebCore::CompositeAnimation::suspendAnimations):
1023         (WebCore::CompositeAnimation::resumeAnimations):
1024         (WebCore::CompositeAnimation::overrideImplicitAnimations):
1025         (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
1026         (WebCore::CompositeAnimation::isAnimatingProperty):
1027         (WebCore::CompositeAnimation::numberOfActiveAnimations):
1028         * platform/Language.cpp:
1029         (WebCore::languageDidChange):
1030         * platform/MIMETypeRegistry.cpp:
1031         (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
1032         * platform/audio/HRTFElevation.cpp:
1033         (WebCore::getConcatenatedImpulseResponsesForSubject):
1034         * platform/blackberry/CookieManager.cpp:
1035         (WebCore::CookieManager::generateHtmlFragmentForCookies):
1036         (WebCore::CookieManager::removeAllCookies):
1037         * platform/blackberry/CookieMap.cpp:
1038         (WebCore::CookieMap::removeOldestCookie):
1039         (WebCore::CookieMap::getAllChildCookies):
1040         * platform/cf/BinaryPropertyList.cpp:
1041         (WebCore::BinaryPropertyListPlan::writeIntegerArray):
1042         * platform/chromium/support/WebHTTPLoadInfo.cpp:
1043         (WebKit::addHeader):
1044         * platform/chromium/support/WebURLRequest.cpp:
1045         (WebKit::WebURLRequest::visitHTTPHeaderFields):
1046         * platform/chromium/support/WebURLResponse.cpp:
1047         (WebKit::WebURLResponse::addHTTPHeaderField):
1048         (WebKit::WebURLResponse::visitHTTPHeaderFields):
1049         * platform/graphics/DisplayRefreshMonitor.cpp:
1050         (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
1051         (WebCore::DisplayRefreshMonitorManager::unregisterClient):
1052         * platform/graphics/FontCache.cpp:
1053         (WebCore::FontCache::getCachedFontPlatformData):
1054         (WebCore::FontCache::getVerticalData):
1055         (WebCore::FontCache::getCachedFontData):
1056         (WebCore::FontCache::releaseFontData):
1057         (WebCore::FontCache::purgeInactiveFontData):
1058         * platform/graphics/GlyphPageTreeNode.cpp:
1059         (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
1060         (WebCore::GlyphPageTreeNode::pageCount):
1061         (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
1062         (WebCore::GlyphPageTreeNode::pruneTreeFontData):
1063         (WebCore::GlyphPageTreeNode::pruneCustomFontData):
1064         (WebCore::GlyphPageTreeNode::pruneFontData):
1065         (WebCore::GlyphPageTreeNode::showSubtree):
1066         (showGlyphPageTrees):
1067         * platform/graphics/TiledBackingStore.cpp:
1068         (WebCore::TiledBackingStore::updateTileBuffers):
1069         (WebCore::TiledBackingStore::resizeEdgeTiles):
1070         (WebCore::TiledBackingStore::setKeepRect):
1071         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
1072         (WebCore::AVFWrapper::avfWrapperForCallbackContext):
1073         * platform/graphics/blackberry/LayerTiler.cpp:
1074         (WebCore::LayerTiler::layerVisibilityChanged):
1075         (WebCore::LayerTiler::uploadTexturesIfNeeded):
1076         (WebCore::LayerTiler::addTileJob):
1077         (WebCore::LayerTiler::deleteTextures):
1078         (WebCore::LayerTiler::pruneTextures):
1079         (WebCore::LayerTiler::bindContentsTexture):
1080         * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
1081         (WebCore::TextureCacheCompositingThread::textureForTiledContents):
1082         (WebCore::TextureCacheCompositingThread::textureForColor):
1083         * platform/graphics/ca/GraphicsLayerCA.cpp:
1084         (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
1085         (WebCore::GraphicsLayerCA::pauseAnimation):
1086         (WebCore::GraphicsLayerCA::layerDidDisplay):
1087         (WebCore::GraphicsLayerCA::updateGeometry):
1088         (WebCore::GraphicsLayerCA::updateTransform):
1089         (WebCore::GraphicsLayerCA::updateChildrenTransform):
1090         (WebCore::GraphicsLayerCA::updateMasksToBounds):
1091         (WebCore::GraphicsLayerCA::updateContentsVisibility):
1092         (WebCore::GraphicsLayerCA::updateContentsOpaque):
1093         (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
1094         (WebCore::GraphicsLayerCA::updateFilters):
1095         (WebCore::GraphicsLayerCA::ensureStructuralLayer):
1096         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
1097         (WebCore::GraphicsLayerCA::updateContentsImage):
1098         (WebCore::GraphicsLayerCA::updateContentsRect):
1099         (WebCore::GraphicsLayerCA::updateMaskLayer):
1100         (WebCore::GraphicsLayerCA::updateLayerAnimations):
1101         (WebCore::GraphicsLayerCA::setAnimationOnLayer):
1102         (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
1103         (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
1104         (WebCore::GraphicsLayerCA::suspendAnimations):
1105         (WebCore::GraphicsLayerCA::resumeAnimations):
1106         (WebCore::GraphicsLayerCA::findOrMakeClone):
1107         (WebCore::GraphicsLayerCA::setOpacityInternal):
1108         (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
1109         * platform/graphics/ca/mac/TileCache.mm:
1110         (WebCore::TileCache::~TileCache):
1111         (WebCore::TileCache::setNeedsDisplay):
1112         (WebCore::TileCache::setScale):
1113         (WebCore::TileCache::setAcceleratesDrawing):
1114         (WebCore::TileCache::setTileDebugBorderWidth):
1115         (WebCore::TileCache::setTileDebugBorderColor):
1116         (WebCore::TileCache::revalidateTiles):
1117         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
1118         (PlatformCALayer::animationStarted):
1119         (resubmitAllAnimations):
1120         (PlatformCALayer::animationForKey):
1121         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
1122         (WebCore::LookupAltName):
1123         (WebCore::fontContainsCharacter):
1124         * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
1125         (WebCore::getDerivedFontData):
1126         * platform/graphics/chromium/TiledLayerChromium.cpp:
1127         (WebCore::TiledLayerChromium::pushPropertiesTo):
1128         (WebCore::TiledLayerChromium::setLayerTreeHost):
1129         (WebCore::TiledLayerChromium::invalidateContentRect):
1130         (WebCore::TiledLayerChromium::setTexturePriorities):
1131         (WebCore::TiledLayerChromium::resetUpdateState):
1132         * platform/graphics/chromium/cc/CCDamageTracker.cpp:
1133         (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
1134         * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
1135         (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
1136         * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
1137         (WebCore::CCLayerTilingData::setBounds):
1138         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1139         (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
1140         (WebCore::CCLayerTreeHost::startRateLimiter):
1141         (WebCore::CCLayerTreeHost::stopRateLimiter):
1142         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1143         (WebCore::findRenderPassById):
1144         * platform/graphics/chromium/cc/CCResourceProvider.cpp:
1145         (WebCore::CCResourceProvider::inUseByConsumer):
1146         (WebCore::CCResourceProvider::deleteResource):
1147         (WebCore::CCResourceProvider::deleteOwnedResources):
1148         (WebCore::CCResourceProvider::resourceType):
1149         (WebCore::CCResourceProvider::upload):
1150         (WebCore::CCResourceProvider::lockForRead):
1151         (WebCore::CCResourceProvider::unlockForRead):
1152         (WebCore::CCResourceProvider::lockForWrite):
1153         (WebCore::CCResourceProvider::unlockForWrite):
1154         (WebCore::CCResourceProvider::destroyChild):
1155         (WebCore::CCResourceProvider::getChildToParentMap):
1156         (WebCore::CCResourceProvider::prepareSendToParent):
1157         (WebCore::CCResourceProvider::prepareSendToChild):
1158         (WebCore::CCResourceProvider::receiveFromChild):
1159         (WebCore::CCResourceProvider::receiveFromParent):
1160         (WebCore::CCResourceProvider::transferResource):
1161         (WebCore::CCResourceProvider::trimMailboxDeque):
1162         * platform/graphics/filters/CustomFilterGlobalContext.cpp:
1163         (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
1164         (WebCore::CustomFilterGlobalContext::getCompiledProgram):
1165         (WebCore::CustomFilterGlobalContext::removeCompiledProgram):
1166         * platform/graphics/filters/CustomFilterProgram.cpp:
1167         (WebCore::CustomFilterProgram::notifyClients):
1168         * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
1169         (WebCore::getCachedHarfbuzzFace):
1170         (WebCore::releaseCachedHarfbuzzFace):
1171         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
1172         (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
1173         (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
1174         * platform/graphics/mac/SimpleFontDataCoreText.cpp:
1175         (WebCore::SimpleFontData::getCFStringAttributes):
1176         * platform/graphics/mac/SimpleFontDataMac.mm:
1177         (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
1178         * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
1179         (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
1180         * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
1181         (WebCore::GraphicsContext3D::compileShader):
1182         (WebCore::GraphicsContext3D::getShaderiv):
1183         (WebCore::GraphicsContext3D::getShaderInfoLog):
1184         (WebCore::GraphicsContext3D::getShaderSource):
1185         * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
1186         (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
1187         (WebCore::EGLDisplayOpenVG::destroySurface):
1188         (WebCore::EGLDisplayOpenVG::contextForSurface):
1189         * platform/graphics/texmap/TextureMapperGL.cpp:
1190         (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
1191         (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
1192         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
1193         (WebCore::TextureMapperShaderManager::getShaderProgram):
1194         (WebCore::TextureMapperShaderManager::getShaderForFilter):
1195         * platform/graphics/wince/FontPlatformData.cpp:
1196         (WebCore::FixedSizeFontData::create):
1197         * platform/gtk/DataObjectGtk.cpp:
1198         (WebCore::DataObjectGtk::forClipboard):
1199         * platform/gtk/GtkDragAndDropHelper.cpp:
1200         (WebCore::GtkDragAndDropHelper::handleGetDragData):
1201         (WebCore::GtkDragAndDropHelper::handleDragLeave):
1202         (WebCore::GtkDragAndDropHelper::handleDragMotion):
1203         (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
1204         (WebCore::GtkDragAndDropHelper::handleDragDrop):
1205         * platform/gtk/RenderThemeGtk3.cpp:
1206         (WebCore::gtkStyleChangedCallback):
1207         (WebCore::getStyleContext):
1208         * platform/mac/ScrollbarThemeMac.mm:
1209         (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
1210         * platform/network/CredentialStorage.cpp:
1211         (WebCore::CredentialStorage::set):
1212         (WebCore::CredentialStorage::get):
1213         * platform/network/HTTPHeaderMap.cpp:
1214         (WebCore::HTTPHeaderMap::copyData):
1215         (WebCore::HTTPHeaderMap::get):
1216         * platform/network/MIMEHeader.cpp:
1217         (WebCore::MIMEHeader::parseHeader):
1218         * platform/network/ResourceHandle.cpp:
1219         (WebCore::ResourceHandle::create):
1220         * platform/network/ResourceRequestBase.cpp:
1221         (WebCore::ResourceRequestBase::addHTTPHeaderField):
1222         (WebCore::ResourceRequestBase::addHTTPHeaderFields):
1223         * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
1224         (WebCore::ResourceRequest::targetTypeFromMimeType):
1225         (WebCore::ResourceRequest::initializePlatformRequest):
1226         * platform/network/cf/ResourceHandleCFNet.cpp:
1227         (WebCore::makeFinalRequest):
1228         * platform/network/cf/ResourceRequestCFNet.cpp:
1229         (WebCore::setHeaderFields):
1230         * platform/network/curl/ResourceHandleManager.cpp:
1231         (WebCore::ResourceHandleManager::initializeHandle):
1232         * platform/network/mac/ResourceRequestMac.mm:
1233         (WebCore::ResourceRequest::doUpdatePlatformRequest):
1234         * platform/network/qt/ResourceRequestQt.cpp:
1235         (WebCore::ResourceRequest::toNetworkRequest):
1236         * platform/network/soup/ResourceHandleSoup.cpp:
1237         (WebCore::sendRequestCallback):
1238         (WebCore::ResourceHandle::setClientCertificate):
1239         * platform/network/soup/ResourceRequestSoup.cpp:
1240         (WebCore::ResourceRequest::updateSoupMessage):
1241         (WebCore::ResourceRequest::toSoupMessage):
1242         * platform/network/soup/ResourceResponseSoup.cpp:
1243         (WebCore::ResourceResponse::toSoupMessage):
1244         * platform/network/win/ResourceHandleWin.cpp:
1245         (WebCore::ResourceHandle::start):
1246         * platform/qt/RunLoopQt.cpp:
1247         (WebCore::RunLoop::TimerBase::timerFired):
1248         * platform/text/LocaleToScriptMappingDefault.cpp:
1249         (WebCore::scriptNameToCode):
1250         (WebCore::localeToScriptCodeForFontSelection):
1251         * platform/text/TextEncodingRegistry.cpp:
1252         (WebCore::pruneBlacklistedCodecs):
1253         (WebCore::dumpTextEncodingNameMap):
1254         * platform/text/transcoder/FontTranscoder.cpp:
1255         (WebCore::FontTranscoder::converterType):
1256         * platform/text/win/TextCodecWin.cpp:
1257         (WebCore::LanguageManager::LanguageManager):
1258         (WebCore::getCodePage):
1259         (WebCore::TextCodecWin::registerExtendedEncodingNames):
1260         (WebCore::TextCodecWin::registerExtendedCodecs):
1261         (WebCore::TextCodecWin::enumerateSupportedEncodings):
1262         * platform/win/ClipboardUtilitiesWin.cpp:
1263         (WebCore::getDataMapItem):
1264         (WebCore::getClipboardData):
1265         (WebCore::setClipboardData):
1266         * platform/win/ClipboardWin.cpp:
1267         (WebCore::ClipboardWin::types):
1268         * platform/win/FileSystemWin.cpp:
1269         (WebCore::cachedStorageDirectory):
1270         * platform/win/RunLoopWin.cpp:
1271         (WebCore::RunLoop::TimerBase::timerFired):
1272         * platform/win/WCDataObject.cpp:
1273         (WebCore::WCDataObject::createInstance):
1274         * platform/wince/MIMETypeRegistryWinCE.cpp:
1275         (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
1276         * platform/wx/ContextMenuWx.cpp:
1277         (WebCore::ContextMenu::appendItem):
1278         * plugins/PluginDatabase.cpp:
1279         (WebCore::PluginDatabase::refresh):
1280         (WebCore::PluginDatabase::MIMETypeForExtension):
1281         (WebCore::PluginDatabase::remove):
1282         * plugins/PluginMainThreadScheduler.cpp:
1283         (WebCore::PluginMainThreadScheduler::scheduleCall):
1284         (WebCore::PluginMainThreadScheduler::dispatchCalls):
1285         * plugins/PluginStream.cpp:
1286         (WebCore::PluginStream::startStream):
1287         * plugins/blackberry/PluginDataBlackBerry.cpp:
1288         (WebCore::PluginData::initPlugins):
1289         * plugins/wx/PluginDataWx.cpp:
1290         (WebCore::PluginData::initPlugins):
1291         * rendering/FlowThreadController.cpp:
1292         (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
1293         * rendering/InlineFlowBox.cpp:
1294         (WebCore::InlineFlowBox::requiresIdeographicBaseline):
1295         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
1296         * rendering/RenderBlock.cpp:
1297         (WebCore::RenderBlock::clearFloats):
1298         * rendering/RenderBlockLineLayout.cpp:
1299         (WebCore::setLogicalWidthForTextRun):
1300         * rendering/RenderBoxModelObject.cpp:
1301         (WebCore::ImageQualityController::highQualityRepaintTimerFired):
1302         (WebCore::ImageQualityController::shouldPaintAtLowQuality):
1303         * rendering/RenderCounter.cpp:
1304         (WebCore::RenderCounter::destroyCounterNodes):
1305         (WebCore::RenderCounter::destroyCounterNode):
1306         (WebCore::updateCounters):
1307         (WebCore::RenderCounter::rendererStyleChanged):
1308         * rendering/RenderFlowThread.cpp:
1309         (WebCore::RenderFlowThread::setRegionRangeForBox):
1310         (WebCore::RenderFlowThread::getRegionRangeForBox):
1311         * rendering/RenderLayer.cpp:
1312         (WebCore::RenderLayer::paint):
1313         (WebCore::performOverlapTests):
1314         * rendering/RenderLayerFilterInfo.cpp:
1315         (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
1316         (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
1317         * rendering/RenderNamedFlowThread.cpp:
1318         (WebCore::RenderNamedFlowThread::dependsOn):
1319         (WebCore::RenderNamedFlowThread::pushDependencies):
1320         * rendering/RenderRegion.cpp:
1321         (WebCore::RenderRegion::setRenderBoxRegionInfo):
1322         (WebCore::RenderRegion::setRegionObjectsRegionStyle):
1323         (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
1324         (WebCore::RenderRegion::computeChildrenStyleInRegion):
1325         * rendering/RenderTableSection.cpp:
1326         (WebCore::RenderTableSection::cachedCollapsedBorder):
1327         * rendering/RenderThemeMac.mm:
1328         (WebCore::RenderThemeMac::systemColor):
1329         * rendering/RenderView.cpp:
1330         (WebCore::RenderView::selectionBounds):
1331         (WebCore::RenderView::setSelection):
1332         * rendering/RenderWidget.cpp:
1333         (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
1334         * rendering/RootInlineBox.cpp:
1335         (WebCore::RootInlineBox::ascentAndDescentForBox):
1336         * rendering/VerticalPositionCache.h:
1337         (WebCore::VerticalPositionCache::get):
1338         * rendering/WrapShapeInfo.cpp:
1339         (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
1340         * rendering/svg/RenderSVGInlineText.cpp:
1341         (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
1342         * rendering/svg/RenderSVGResourceFilter.cpp:
1343         (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
1344         * rendering/svg/RenderSVGResourceGradient.cpp:
1345         (WebCore::RenderSVGResourceGradient::applyResource):
1346         * rendering/svg/RenderSVGResourcePattern.cpp:
1347         (WebCore::RenderSVGResourcePattern::applyResource):
1348         * rendering/svg/SVGResourcesCache.cpp:
1349         (WebCore::SVGResourcesCache::resourceDestroyed):
1350         * rendering/svg/SVGRootInlineBox.cpp:
1351         (WebCore::swapItemsInLayoutAttributes):
1352         * rendering/svg/SVGTextLayoutAttributes.cpp:
1353         (WebCore::SVGTextLayoutAttributes::dump):
1354         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
1355         (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
1356         (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
1357         * rendering/svg/SVGTextLayoutEngine.cpp:
1358         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
1359         * rendering/svg/SVGTextMetricsBuilder.cpp:
1360         (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
1361         * storage/StorageAreaSync.cpp:
1362         (WebCore::StorageAreaSync::syncTimerFired):
1363         (WebCore::StorageAreaSync::performImport):
1364         (WebCore::StorageAreaSync::sync):
1365         * storage/StorageMap.cpp:
1366         (WebCore::StorageMap::key):
1367         (WebCore::StorageMap::setItem):
1368         * storage/StorageNamespaceImpl.cpp:
1369         (WebCore::StorageNamespaceImpl::localStorageNamespace):
1370         (WebCore::StorageNamespaceImpl::copy):
1371         (WebCore::StorageNamespaceImpl::close):
1372         (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
1373         (WebCore::StorageNamespaceImpl::sync):
1374         * svg/SVGDocumentExtensions.cpp:
1375         (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
1376         (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
1377         (WebCore::SVGDocumentExtensions::addPendingResource):
1378         (WebCore::SVGDocumentExtensions::isElementPendingResources):
1379         (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
1380         (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
1381         (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
1382         (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
1383         * svg/SVGElement.cpp:
1384         (WebCore::SVGElement::~SVGElement):
1385         * svg/animation/SMILTimeContainer.cpp:
1386         (WebCore::SMILTimeContainer::updateAnimations):
1387         * svg/graphics/SVGImageCache.cpp:
1388         (WebCore::SVGImageCache::~SVGImageCache):
1389         (WebCore::SVGImageCache::removeClientFromCache):
1390         (WebCore::SVGImageCache::requestedSizeAndScales):
1391         (WebCore::SVGImageCache::imageContentChanged):
1392         (WebCore::SVGImageCache::redraw):
1393         (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
1394         * svg/graphics/filters/SVGFilterBuilder.h:
1395         (WebCore::SVGFilterBuilder::effectReferences):
1396         (WebCore::SVGFilterBuilder::addBuiltinEffects):
1397         * svg/properties/SVGAnimatedProperty.h:
1398         (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
1399         * svg/properties/SVGAttributeToPropertyMap.cpp:
1400         (WebCore::SVGAttributeToPropertyMap::addProperties):
1401         (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
1402         * workers/WorkerContext.cpp:
1403         (WebCore::WorkerContext::hasPendingActivity):
1404         * workers/WorkerEventQueue.cpp:
1405         (WebCore::WorkerEventQueue::close):
1406         * xml/XMLHttpRequest.cpp:
1407         (WebCore::XMLHttpRequest::setRequestHeaderInternal):
1408         (WebCore::XMLHttpRequest::getAllResponseHeaders):
1409         * xml/XPathFunctions.cpp:
1410         (WebCore::XPath::createFunction):
1411         * xml/XPathParser.cpp:
1412         (isAxisName):
1413         * xml/XSLTProcessorLibxslt.cpp:
1414         (WebCore::xsltParamArrayFromParameterMap):
1415         * xml/XSLTProcessorQt.cpp:
1416         (WebCore::XSLTProcessor::transformToString):
1417
1418 2012-08-28  Jer Noble  <jer.noble@apple.com>
1419
1420         Crash in WebCore::logPluginRequest + 183
1421         https://bugs.webkit.org/show_bug.cgi?id=95218
1422
1423         Reviewed by Oliver Hunt.
1424
1425         Crash is within findPluginMIMETypeFromURL, caused by a null-dereference of 
1426         page()->pluginData().  Add a null-check and return an empty string.
1427
1428         * loader/SubframeLoader.cpp:
1429         (WebCore::findPluginMIMETypeFromURL):
1430
1431 2012-08-28  Simon Fraser  <simon.fraser@apple.com>
1432
1433         Regression (r126774): Crash when scrolling after removing sticky element.
1434         https://bugs.webkit.org/show_bug.cgi?id=95174
1435
1436         Reviewed by Abhishek Arya.
1437
1438         RenderBox::willBeDestroyed() needs to check for both fixed and sticky
1439         position to determine whether to remove an object from FrameView's
1440         set of fixed objects.
1441
1442         Test: fast/css/sticky/remove-sticky-crash.html
1443
1444         * rendering/RenderBox.cpp:
1445         (WebCore::RenderBox::willBeDestroyed):
1446
1447 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1448
1449         Rename first/second to key/value in HashMap iterators
1450         https://bugs.webkit.org/show_bug.cgi?id=82784
1451
1452         Reviewed by Eric Seidel.
1453
1454         * Modules/geolocation/Geolocation.cpp:
1455         (WebCore::Geolocation::Watchers::find):
1456         (WebCore::Geolocation::Watchers::remove):
1457         * Modules/indexeddb/IDBDatabase.cpp:
1458         (WebCore::IDBDatabase::objectStoreNames):
1459         * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
1460         (WebCore::IDBDatabaseBackendImpl::metadata):
1461         * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
1462         (WebCore::IDBFactoryBackendImpl::deleteDatabase):
1463         (WebCore::IDBFactoryBackendImpl::openBackingStore):
1464         (WebCore::IDBFactoryBackendImpl::open):
1465         * Modules/indexeddb/IDBObjectStore.cpp:
1466         (WebCore::IDBObjectStore::indexNames):
1467         (WebCore::IDBObjectStore::put):
1468         (WebCore::IDBObjectStore::index):
1469         (WebCore::IDBObjectStore::deleteIndex):
1470         * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
1471         (WebCore::IDBObjectStoreBackendImpl::metadata):
1472         (WebCore::makeIndexWriters):
1473         (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
1474         * Modules/indexeddb/IDBTransaction.cpp:
1475         (WebCore::IDBTransaction::objectStore):
1476         (WebCore::IDBTransaction::objectStoreDeleted):
1477         (WebCore::IDBTransaction::onAbort):
1478         (WebCore::IDBTransaction::dispatchEvent):
1479         * Modules/webdatabase/AbstractDatabase.cpp:
1480         (WebCore::AbstractDatabase::performOpenAndVerify):
1481         * Modules/webdatabase/DatabaseTracker.cpp:
1482         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
1483         * Modules/webdatabase/OriginUsageRecord.cpp:
1484         (WebCore::OriginUsageRecord::diskUsage):
1485         * Modules/webdatabase/SQLTransactionCoordinator.cpp:
1486         (WebCore::SQLTransactionCoordinator::acquireLock):
1487         (WebCore::SQLTransactionCoordinator::releaseLock):
1488         (WebCore::SQLTransactionCoordinator::shutdown):
1489         * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
1490         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
1491         * Modules/webdatabase/chromium/QuotaTracker.cpp:
1492         (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
1493         (WebCore::QuotaTracker::updateDatabaseSize):
1494         * Modules/websockets/WebSocketDeflateFramer.cpp:
1495         (WebCore::WebSocketExtensionDeflateFrame::processResponse):
1496         * Modules/websockets/WebSocketExtensionDispatcher.cpp:
1497         (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
1498         * accessibility/AXObjectCache.cpp:
1499         (WebCore::AXObjectCache::~AXObjectCache):
1500         * bindings/gobject/DOMObjectCache.cpp:
1501         (WebKit::DOMObjectCache::clearByFrame):
1502         * bindings/js/DOMObjectHashTableMap.h:
1503         (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
1504         (WebCore::DOMObjectHashTableMap::get):
1505         * bindings/js/JSDOMBinding.cpp:
1506         (WebCore::cacheDOMStructure):
1507         * bindings/js/JSDOMGlobalObject.cpp:
1508         (WebCore::JSDOMGlobalObject::visitChildren):
1509         * bindings/js/JSDOMGlobalObject.h:
1510         (WebCore::getDOMConstructor):
1511         * bindings/js/PageScriptDebugServer.cpp:
1512         (WebCore::PageScriptDebugServer::addListener):
1513         (WebCore::PageScriptDebugServer::removeListener):
1514         * bindings/js/ScriptCachedFrameData.cpp:
1515         (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
1516         (WebCore::ScriptCachedFrameData::restore):
1517         * bindings/js/ScriptController.cpp:
1518         (WebCore::ScriptController::~ScriptController):
1519         (WebCore::ScriptController::clearWindowShell):
1520         (WebCore::ScriptController::attachDebugger):
1521         (WebCore::ScriptController::updateDocument):
1522         (WebCore::ScriptController::createRootObject):
1523         (WebCore::ScriptController::collectIsolatedContexts):
1524         (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
1525         (WebCore::ScriptController::clearScriptObjects):
1526         * bindings/js/ScriptController.h:
1527         (WebCore::ScriptController::windowShell):
1528         (WebCore::ScriptController::existingWindowShell):
1529         * bindings/js/ScriptDebugServer.cpp:
1530         (WebCore::ScriptDebugServer::setBreakpoint):
1531         (WebCore::ScriptDebugServer::removeBreakpoint):
1532         (WebCore::ScriptDebugServer::hasBreakpoint):
1533         * bindings/js/SerializedScriptValue.cpp:
1534         (WebCore::CloneSerializer::checkForDuplicate):
1535         (WebCore::CloneSerializer::dumpIfTerminal):
1536         (WebCore::CloneSerializer::write):
1537         * bindings/scripts/CodeGeneratorV8.pm:
1538         (GenerateImplementation):
1539         * bindings/scripts/test/V8/V8Float64Array.cpp:
1540         (WebCore::V8Float64Array::GetRawTemplate):
1541         (WebCore::V8Float64Array::GetTemplate):
1542         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
1543         (WebCore::V8TestActiveDOMObject::GetRawTemplate):
1544         (WebCore::V8TestActiveDOMObject::GetTemplate):
1545         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
1546         (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
1547         (WebCore::V8TestCustomNamedGetter::GetTemplate):
1548         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
1549         (WebCore::V8TestEventConstructor::GetRawTemplate):
1550         (WebCore::V8TestEventConstructor::GetTemplate):
1551         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
1552         (WebCore::V8TestEventTarget::GetRawTemplate):
1553         (WebCore::V8TestEventTarget::GetTemplate):
1554         * bindings/scripts/test/V8/V8TestException.cpp:
1555         (WebCore::V8TestException::GetRawTemplate):
1556         (WebCore::V8TestException::GetTemplate):
1557         * bindings/scripts/test/V8/V8TestInterface.cpp:
1558         (WebCore::V8TestInterface::GetRawTemplate):
1559         (WebCore::V8TestInterface::GetTemplate):
1560         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
1561         (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
1562         (WebCore::V8TestMediaQueryListListener::GetTemplate):
1563         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
1564         (WebCore::V8TestNamedConstructor::GetRawTemplate):
1565         (WebCore::V8TestNamedConstructor::GetTemplate):
1566         * bindings/scripts/test/V8/V8TestNode.cpp:
1567         (WebCore::V8TestNode::GetRawTemplate):
1568         (WebCore::V8TestNode::GetTemplate):
1569         * bindings/scripts/test/V8/V8TestObj.cpp:
1570         (WebCore::V8TestObj::GetRawTemplate):
1571         (WebCore::V8TestObj::GetTemplate):
1572         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
1573         (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
1574         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
1575         * bindings/v8/DOMWrapperWorld.cpp:
1576         (WebCore::DOMWrapperWorld::deallocate):
1577         (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
1578         * bindings/v8/NPV8Object.cpp:
1579         (WebCore::freeV8NPObject):
1580         (WebCore::npCreateV8ScriptObject):
1581         * bindings/v8/ScriptController.cpp:
1582         (WebCore::ScriptController::clearScriptObjects):
1583         (WebCore::ScriptController::resetIsolatedWorlds):
1584         (WebCore::ScriptController::evaluateInIsolatedWorld):
1585         (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
1586         (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
1587         (WebCore::ScriptController::collectIsolatedContexts):
1588         * bindings/v8/SerializedScriptValue.cpp:
1589         * bindings/v8/V8DOMMap.h:
1590         (WebCore::WeakReferenceMap::removeIfPresent):
1591         (WebCore::WeakReferenceMap::visit):
1592         * bindings/v8/V8GCController.cpp:
1593         (WebCore::enumerateGlobalHandles):
1594         * bindings/v8/V8PerContextData.cpp:
1595         (WebCore::V8PerContextData::dispose):
1596         * bindings/v8/npruntime.cpp:
1597         * bridge/IdentifierRep.cpp:
1598         (WebCore::IdentifierRep::get):
1599         * bridge/NP_jsobject.cpp:
1600         (ObjectMap::add):
1601         (ObjectMap::remove):
1602         * bridge/jni/jsc/JavaClassJSC.cpp:
1603         (JavaClass::~JavaClass):
1604         * bridge/qt/qt_instance.cpp:
1605         (JSC::Bindings::WeakMap::set):
1606         * bridge/runtime_root.cpp:
1607         (JSC::Bindings::RootObject::invalidate):
1608         * css/CSSCanvasValue.cpp:
1609         (WebCore::CSSCanvasValue::canvasChanged):
1610         (WebCore::CSSCanvasValue::canvasResized):
1611         * css/CSSComputedStyleDeclaration.cpp:
1612         (WebCore::counterToCSSValue):
1613         * css/CSSCrossfadeValue.cpp:
1614         (WebCore::CSSCrossfadeValue::crossfadeChanged):
1615         * css/CSSFontFaceSource.cpp:
1616         (WebCore::CSSFontFaceSource::getFontData):
1617         * css/CSSFontSelector.cpp:
1618         (WebCore::CSSFontSelector::addFontFaceRule):
1619         (WebCore::CSSFontSelector::getFontData):
1620         * css/CSSImageGeneratorValue.cpp:
1621         (WebCore::CSSImageGeneratorValue::addClient):
1622         (WebCore::CSSImageGeneratorValue::removeClient):
1623         (WebCore::CSSImageGeneratorValue::getImage):
1624         * css/CSSSegmentedFontFace.cpp:
1625         (WebCore::CSSSegmentedFontFace::getFontData):
1626         * css/CSSSelector.cpp:
1627         (WebCore::CSSSelector::parsePseudoType):
1628         * css/CSSValuePool.cpp:
1629         (WebCore::CSSValuePool::createColorValue):
1630         (WebCore::CSSValuePool::createFontFamilyValue):
1631         (WebCore::CSSValuePool::createFontFaceValue):
1632         * css/PropertySetCSSStyleDeclaration.cpp:
1633         (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
1634         * css/StyleBuilder.cpp:
1635         (WebCore::ApplyPropertyCounter::applyInheritValue):
1636         (WebCore::ApplyPropertyCounter::applyValue):
1637         * css/StyleResolver.cpp:
1638         (WebCore::StyleResolver::collectFeatures):
1639         (WebCore::StyleResolver::ruleSetForScope):
1640         (WebCore::StyleResolver::appendAuthorStylesheets):
1641         (WebCore::StyleResolver::sweepMatchedPropertiesCache):
1642         (WebCore::StyleResolver::collectMatchingRulesForList):
1643         * css/StyleSheetContents.cpp:
1644         (WebCore::StyleSheetContents::parserAddNamespace):
1645         (WebCore::StyleSheetContents::determineNamespace):
1646         * dom/CheckedRadioButtons.cpp:
1647         (WebCore::CheckedRadioButtons::addButton):
1648         (WebCore::CheckedRadioButtons::removeButton):
1649         * dom/ChildListMutationScope.cpp:
1650         (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
1651         (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
1652         (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
1653         (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
1654         * dom/Document.cpp:
1655         (WebCore::Document::pageGroupUserSheets):
1656         (WebCore::Document::windowNamedItems):
1657         (WebCore::Document::documentNamedItems):
1658         (WebCore::Document::getCSSCanvasElement):
1659         * dom/DocumentMarkerController.cpp:
1660         (WebCore::DocumentMarkerController::markerContainingPoint):
1661         (WebCore::DocumentMarkerController::renderedRectsForMarkers):
1662         (WebCore::DocumentMarkerController::removeMarkers):
1663         (WebCore::DocumentMarkerController::repaintMarkers):
1664         (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
1665         (WebCore::DocumentMarkerController::showMarkers):
1666         * dom/DocumentOrderedMap.cpp:
1667         (WebCore::DocumentOrderedMap::remove):
1668         * dom/ElementAttributeData.cpp:
1669         (WebCore::ensureAttrListForElement):
1670         * dom/EventDispatcher.cpp:
1671         (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
1672         * dom/EventListenerMap.cpp:
1673         (WebCore::EventListenerMap::eventTypes):
1674         (WebCore::EventListenerMap::add):
1675         (WebCore::EventListenerMap::remove):
1676         (WebCore::EventListenerMap::find):
1677         (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
1678         (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
1679         (WebCore::EventListenerIterator::nextListener):
1680         * dom/IdTargetObserverRegistry.cpp:
1681         (WebCore::IdTargetObserverRegistry::addObserver):
1682         (WebCore::IdTargetObserverRegistry::removeObserver):
1683         * dom/MemoryInstrumentation.h:
1684         (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
1685         (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
1686         * dom/MutationObserverInterestGroup.cpp:
1687         (WebCore::MutationObserverInterestGroup::isOldValueRequested):
1688         (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
1689         * dom/Node.cpp:
1690         (WebCore::Node::dumpStatistics):
1691         (WebCore::Node::clearRareData):
1692         (WebCore::NodeListsNodeData::invalidateCaches):
1693         (WebCore::Node::collectMatchingObserversForMutation):
1694         * dom/NodeRareData.h:
1695         (WebCore::NodeListsNodeData::addCacheWithAtomicName):
1696         (WebCore::NodeListsNodeData::addCacheWithName):
1697         (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
1698         (WebCore::NodeListsNodeData::adoptTreeScope):
1699         * dom/ProcessingInstruction.cpp:
1700         (WebCore::ProcessingInstruction::checkStyleSheet):
1701         * dom/ScriptExecutionContext.cpp:
1702         (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
1703         (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
1704         (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
1705         (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
1706         (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
1707         * dom/SelectorQuery.cpp:
1708         (WebCore::SelectorQueryCache::add):
1709         * dom/SpaceSplitString.cpp:
1710         (WebCore::SpaceSplitStringData::create):
1711         * dom/StyledElement.cpp:
1712         (WebCore::StyledElement::updateAttributeStyle):
1713         * editing/mac/AlternativeTextUIController.mm:
1714         (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
1715         * html/FormController.cpp:
1716         (WebCore::SavedFormState::serializeTo):
1717         (WebCore::SavedFormState::appendControlState):
1718         (WebCore::SavedFormState::takeControlState):
1719         (WebCore::SavedFormState::getReferencedFilePaths):
1720         (WebCore::FormKeyGenerator::formKey):
1721         (WebCore::FormController::createSavedFormStateMap):
1722         (WebCore::FormController::formElementsState):
1723         (WebCore::FormController::takeStateForFormElement):
1724         (WebCore::FormController::getReferencedFilePaths):
1725         * html/HTMLCollection.cpp:
1726         (WebCore::HTMLCollectionCacheBase::append):
1727         * html/canvas/WebGLFramebuffer.cpp:
1728         (WebCore::WebGLFramebuffer::getAttachment):
1729         (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
1730         (WebCore::WebGLFramebuffer::checkStatus):
1731         (WebCore::WebGLFramebuffer::deleteObjectImpl):
1732         (WebCore::WebGLFramebuffer::initializeAttachments):
1733         * inspector/CodeGeneratorInspector.py:
1734         * inspector/DOMPatchSupport.cpp:
1735         (WebCore::DOMPatchSupport::diff):
1736         (WebCore::DOMPatchSupport::innerPatchChildren):
1737         (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
1738         * inspector/InjectedScriptManager.cpp:
1739         (WebCore::InjectedScriptManager::injectedScriptForId):
1740         (WebCore::InjectedScriptManager::injectedScriptIdFor):
1741         (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
1742         (WebCore::InjectedScriptManager::releaseObjectGroup):
1743         (WebCore::InjectedScriptManager::injectedScriptFor):
1744         * inspector/InspectorCSSAgent.cpp:
1745         (WebCore::SelectorProfile::commitSelector):
1746         (WebCore::SelectorProfile::commitSelectorTime):
1747         (WebCore::SelectorProfile::toInspectorObject):
1748         (WebCore::InspectorCSSAgent::forcePseudoState):
1749         (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
1750         (WebCore::InspectorCSSAgent::assertStyleSheetForId):
1751         (WebCore::InspectorCSSAgent::didRemoveDOMNode):
1752         (WebCore::InspectorCSSAgent::didModifyDOMAttr):
1753         (WebCore::InspectorCSSAgent::resetPseudoStates):
1754         * inspector/InspectorConsoleAgent.cpp:
1755         (WebCore::InspectorConsoleAgent::stopTiming):
1756         (WebCore::InspectorConsoleAgent::count):
1757         * inspector/InspectorDOMAgent.cpp:
1758         (WebCore::InspectorDOMAgent::nodeForId):
1759         (WebCore::InspectorDOMAgent::performSearch):
1760         (WebCore::InspectorDOMAgent::getSearchResults):
1761         * inspector/InspectorDOMDebuggerAgent.cpp:
1762         (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
1763         * inspector/InspectorDOMStorageAgent.cpp:
1764         (WebCore::InspectorDOMStorageAgent::clearFrontend):
1765         (WebCore::InspectorDOMStorageAgent::enable):
1766         (WebCore::InspectorDOMStorageAgent::storageId):
1767         (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
1768         (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
1769         (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
1770         * inspector/InspectorDatabaseAgent.cpp:
1771         (WebCore::InspectorDatabaseAgent::enable):
1772         (WebCore::InspectorDatabaseAgent::databaseId):
1773         (WebCore::InspectorDatabaseAgent::findByFileName):
1774         (WebCore::InspectorDatabaseAgent::databaseForId):
1775         * inspector/InspectorDebuggerAgent.cpp:
1776         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
1777         (WebCore::InspectorDebuggerAgent::removeBreakpoint):
1778         (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
1779         (WebCore::InspectorDebuggerAgent::searchInContent):
1780         (WebCore::InspectorDebuggerAgent::getScriptSource):
1781         (WebCore::InspectorDebuggerAgent::didParseSource):
1782         * inspector/InspectorIndexedDBAgent.cpp:
1783         (WebCore):
1784         * inspector/InspectorMemoryAgent.cpp:
1785         (WebCore):
1786         * inspector/InspectorPageAgent.cpp:
1787         (WebCore::cachedResourcesForFrame):
1788         (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
1789         (WebCore::InspectorPageAgent::frameDetached):
1790         * inspector/InspectorProfilerAgent.cpp:
1791         (WebCore::InspectorProfilerAgent::getProfileHeaders):
1792         (WebCore):
1793         (WebCore::InspectorProfilerAgent::getProfile):
1794         * inspector/InspectorResourceAgent.cpp:
1795         (WebCore::buildObjectForHeaders):
1796         (WebCore::InspectorResourceAgent::willSendRequest):
1797         * inspector/InspectorState.cpp:
1798         (WebCore::InspectorState::getBoolean):
1799         (WebCore::InspectorState::getString):
1800         (WebCore::InspectorState::getLong):
1801         (WebCore::InspectorState::getDouble):
1802         (WebCore::InspectorState::getObject):
1803         * inspector/InspectorStyleSheet.cpp:
1804         (WebCore::InspectorStyle::styleWithProperties):
1805         (WebCore::InspectorStyleSheet::inspectorStyleForId):
1806         * inspector/InspectorValues.cpp:
1807         (WebCore::InspectorObjectBase::get):
1808         (WebCore::InspectorObjectBase::writeJSON):
1809         * inspector/InspectorWorkerAgent.cpp:
1810         (WebCore::InspectorWorkerAgent::workerContextTerminated):
1811         (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
1812         (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
1813         * inspector/NetworkResourcesData.cpp:
1814         (WebCore::NetworkResourcesData::removeCachedResource):
1815         (WebCore::NetworkResourcesData::clear):
1816         * loader/CrossOriginAccessControl.cpp:
1817         (WebCore::isSimpleCrossOriginAccessRequest):
1818         (WebCore::createAccessControlPreflightRequest):
1819         * loader/CrossOriginPreflightResultCache.cpp:
1820         (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
1821         (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
1822         * loader/DocumentLoader.cpp:
1823         (WebCore::DocumentLoader::getSubresources):
1824         (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
1825         * loader/MainResourceLoader.cpp:
1826         (WebCore::MainResourceLoader::didReceiveResponse):
1827         * loader/ResourceLoadScheduler.cpp:
1828         (WebCore::ResourceLoadScheduler::servePendingRequests):
1829         * loader/appcache/ApplicationCache.cpp:
1830         (WebCore::ApplicationCache::removeResource):
1831         (WebCore::ApplicationCache::clearStorageID):
1832         (WebCore::ApplicationCache::dump):
1833         * loader/appcache/ApplicationCacheGroup.cpp:
1834         (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
1835         (WebCore::ApplicationCacheGroup::startLoadingEntry):
1836         (WebCore::ApplicationCacheGroup::addEntry):
1837         * loader/appcache/ApplicationCacheHost.cpp:
1838         (WebCore::ApplicationCacheHost::fillResourceList):
1839         * loader/appcache/ApplicationCacheResource.cpp:
1840         (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
1841         * loader/appcache/ApplicationCacheStorage.cpp:
1842         (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
1843         (WebCore::ApplicationCacheStorage::cacheGroupForURL):
1844         (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
1845         (WebCore::ApplicationCacheStorage::store):
1846         (WebCore::ApplicationCacheStorage::empty):
1847         (WebCore::ApplicationCacheStorage::storeCopyOfCache):
1848         * loader/archive/ArchiveFactory.cpp:
1849         (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
1850         * loader/cache/CachedRawResource.cpp:
1851         (WebCore::CachedRawResource::canReuse):
1852         * loader/cache/CachedResource.cpp:
1853         (WebCore::CachedResource::switchClientsToRevalidatedResource):
1854         (WebCore::CachedResource::updateResponseAfterRevalidation):
1855         * loader/cache/CachedResourceClientWalker.h:
1856         (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
1857         * loader/cache/CachedResourceLoader.cpp:
1858         (WebCore::CachedResourceLoader::~CachedResourceLoader):
1859         (WebCore::CachedResourceLoader::requestResource):
1860         (WebCore::CachedResourceLoader::setAutoLoadImages):
1861         (WebCore::CachedResourceLoader::removeCachedResource):
1862         (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
1863         (WebCore::CachedResourceLoader::reportMemoryUsage):
1864         * loader/cache/MemoryCache.cpp:
1865         (WebCore::MemoryCache::removeResourcesWithOrigin):
1866         (WebCore::MemoryCache::getOriginsWithCache):
1867         (WebCore::MemoryCache::getStatistics):
1868         (WebCore::MemoryCache::reportMemoryUsage):
1869         (WebCore::MemoryCache::setDisabled):
1870         * loader/icon/IconDatabase.cpp:
1871         (WebCore::IconDatabase::removeAllIcons):
1872         (WebCore::IconDatabase::iconRecordCountWithData):
1873         (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
1874         * page/DOMWindow.cpp:
1875         (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
1876         (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
1877         * page/EventHandler.cpp:
1878         (WebCore::EventHandler::handleTouchEvent):
1879         * page/Frame.cpp:
1880         (WebCore::Frame::injectUserScripts):
1881         * page/PageGroup.cpp:
1882         (WebCore::PageGroup::pageGroup):
1883         (WebCore::PageGroup::closeLocalStorage):
1884         (WebCore::PageGroup::clearLocalStorageForAllOrigins):
1885         (WebCore::PageGroup::clearLocalStorageForOrigin):
1886         (WebCore::PageGroup::syncLocalStorage):
1887         (WebCore::PageGroup::addUserScriptToWorld):
1888         (WebCore::PageGroup::addUserStyleSheetToWorld):
1889         (WebCore::PageGroup::removeUserScriptFromWorld):
1890         (WebCore::PageGroup::removeUserStyleSheetFromWorld):
1891         * page/PageSerializer.cpp:
1892         (WebCore::PageSerializer::urlForBlankFrame):
1893         * page/SecurityPolicy.cpp:
1894         (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
1895         (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
1896         * page/Settings.cpp:
1897         (WebCore::setGenericFontFamilyMap):
1898         (WebCore::getGenericFontFamilyForScript):
1899         * page/SpeechInput.cpp:
1900         (WebCore::SpeechInput::registerListener):
1901         * page/WindowFeatures.cpp:
1902         (WebCore::WindowFeatures::boolFeature):
1903         (WebCore::WindowFeatures::floatFeature):
1904         * page/animation/AnimationController.cpp:
1905         (WebCore::AnimationControllerPrivate::updateAnimations):
1906         (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
1907         (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
1908         (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
1909         * page/animation/CompositeAnimation.cpp:
1910         (WebCore::CompositeAnimation::clearRenderer):
1911         (WebCore::CompositeAnimation::updateTransitions):
1912         (WebCore::CompositeAnimation::updateKeyframeAnimations):
1913         (WebCore::CompositeAnimation::animate):
1914         (WebCore::CompositeAnimation::getAnimatedStyle):
1915         (WebCore::CompositeAnimation::setAnimating):
1916         (WebCore::CompositeAnimation::timeToNextService):
1917         (WebCore::CompositeAnimation::getAnimationForProperty):
1918         (WebCore::CompositeAnimation::suspendAnimations):
1919         (WebCore::CompositeAnimation::resumeAnimations):
1920         (WebCore::CompositeAnimation::overrideImplicitAnimations):
1921         (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
1922         (WebCore::CompositeAnimation::isAnimatingProperty):
1923         (WebCore::CompositeAnimation::numberOfActiveAnimations):
1924         * platform/Language.cpp:
1925         (WebCore::languageDidChange):
1926         * platform/MIMETypeRegistry.cpp:
1927         (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
1928         * platform/audio/HRTFElevation.cpp:
1929         (WebCore::getConcatenatedImpulseResponsesForSubject):
1930         * platform/blackberry/CookieManager.cpp:
1931         (WebCore::CookieManager::generateHtmlFragmentForCookies):
1932         (WebCore::CookieManager::removeAllCookies):
1933         * platform/blackberry/CookieMap.cpp:
1934         (WebCore::CookieMap::removeOldestCookie):
1935         (WebCore::CookieMap::getAllChildCookies):
1936         * platform/cf/BinaryPropertyList.cpp:
1937         (WebCore::BinaryPropertyListPlan::writeIntegerArray):
1938         * platform/chromium/support/WebHTTPLoadInfo.cpp:
1939         (WebKit::addHeader):
1940         * platform/chromium/support/WebURLRequest.cpp:
1941         (WebKit::WebURLRequest::visitHTTPHeaderFields):
1942         * platform/chromium/support/WebURLResponse.cpp:
1943         (WebKit::WebURLResponse::addHTTPHeaderField):
1944         (WebKit::WebURLResponse::visitHTTPHeaderFields):
1945         * platform/graphics/DisplayRefreshMonitor.cpp:
1946         (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
1947         (WebCore::DisplayRefreshMonitorManager::unregisterClient):
1948         * platform/graphics/FontCache.cpp:
1949         (WebCore::FontCache::getCachedFontPlatformData):
1950         (WebCore::FontCache::getCachedFontData):
1951         (WebCore::FontCache::getVerticalData):
1952         (WebCore::FontCache::releaseFontData):
1953         (WebCore::FontCache::purgeInactiveFontData):
1954         * platform/graphics/GlyphPageTreeNode.cpp:
1955         (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
1956         (WebCore::GlyphPageTreeNode::pageCount):
1957         (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
1958         (WebCore::GlyphPageTreeNode::pruneTreeFontData):
1959         (WebCore::GlyphPageTreeNode::pruneCustomFontData):
1960         (WebCore::GlyphPageTreeNode::pruneFontData):
1961         (WebCore::GlyphPageTreeNode::showSubtree):
1962         (showGlyphPageTrees):
1963         * platform/graphics/TiledBackingStore.cpp:
1964         (WebCore::TiledBackingStore::updateTileBuffers):
1965         (WebCore::TiledBackingStore::resizeEdgeTiles):
1966         (WebCore::TiledBackingStore::setKeepRect):
1967         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
1968         (WebCore::AVFWrapper::avfWrapperForCallbackContext):
1969         * platform/graphics/blackberry/LayerTiler.cpp:
1970         (WebCore::LayerTiler::layerVisibilityChanged):
1971         (WebCore::LayerTiler::uploadTexturesIfNeeded):
1972         (WebCore::LayerTiler::addTileJob):
1973         (WebCore::LayerTiler::deleteTextures):
1974         (WebCore::LayerTiler::pruneTextures):
1975         (WebCore::LayerTiler::bindContentsTexture):
1976         * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
1977         (WebCore::TextureCacheCompositingThread::textureForTiledContents):
1978         (WebCore::TextureCacheCompositingThread::textureForColor):
1979         * platform/graphics/ca/GraphicsLayerCA.cpp:
1980         (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
1981         (WebCore::GraphicsLayerCA::pauseAnimation):
1982         (WebCore::GraphicsLayerCA::layerDidDisplay):
1983         (WebCore::GraphicsLayerCA::updateGeometry):
1984         (WebCore::GraphicsLayerCA::updateTransform):
1985         (WebCore::GraphicsLayerCA::updateChildrenTransform):
1986         (WebCore::GraphicsLayerCA::updateMasksToBounds):
1987         (WebCore::GraphicsLayerCA::updateContentsVisibility):
1988         (WebCore::GraphicsLayerCA::updateContentsOpaque):
1989         (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
1990         (WebCore::GraphicsLayerCA::updateFilters):
1991         (WebCore::GraphicsLayerCA::ensureStructuralLayer):
1992         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
1993         (WebCore::GraphicsLayerCA::updateContentsImage):
1994         (WebCore::GraphicsLayerCA::updateContentsRect):
1995         (WebCore::GraphicsLayerCA::updateMaskLayer):
1996         (WebCore::GraphicsLayerCA::updateLayerAnimations):
1997         (WebCore::GraphicsLayerCA::setAnimationOnLayer):
1998         (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
1999         (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
2000         (WebCore::GraphicsLayerCA::suspendAnimations):
2001         (WebCore::GraphicsLayerCA::resumeAnimations):
2002         (WebCore::GraphicsLayerCA::findOrMakeClone):
2003         (WebCore::GraphicsLayerCA::setOpacityInternal):
2004         (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
2005         * platform/graphics/ca/mac/TileCache.mm:
2006         (WebCore::TileCache::~TileCache):
2007         (WebCore::TileCache::setNeedsDisplay):
2008         (WebCore::TileCache::setScale):
2009         (WebCore::TileCache::setAcceleratesDrawing):
2010         (WebCore::TileCache::setTileDebugBorderWidth):
2011         (WebCore::TileCache::setTileDebugBorderColor):
2012         (WebCore::TileCache::revalidateTiles):
2013         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
2014         (PlatformCALayer::animationStarted):
2015         (resubmitAllAnimations):
2016         (PlatformCALayer::animationForKey):
2017         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
2018         (WebCore::LookupAltName):
2019         (WebCore::fontContainsCharacter):
2020         * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
2021         (WebCore::getDerivedFontData):
2022         * platform/graphics/chromium/TiledLayerChromium.cpp:
2023         (WebCore::TiledLayerChromium::pushPropertiesTo):
2024         (WebCore::TiledLayerChromium::setLayerTreeHost):
2025         (WebCore::TiledLayerChromium::invalidateContentRect):
2026         (WebCore::TiledLayerChromium::setTexturePriorities):
2027         (WebCore::TiledLayerChromium::resetUpdateState):
2028         * platform/graphics/chromium/cc/CCDamageTracker.cpp:
2029         (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
2030         * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
2031         (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
2032         * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
2033         (WebCore::CCLayerTilingData::setBounds):
2034         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2035         (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
2036         (WebCore::CCLayerTreeHost::startRateLimiter):
2037         (WebCore::CCLayerTreeHost::stopRateLimiter):
2038         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
2039         (WebCore::findRenderPassById):
2040         * platform/graphics/chromium/cc/CCResourceProvider.cpp:
2041         (WebCore::CCResourceProvider::inUseByConsumer):
2042         (WebCore::CCResourceProvider::deleteResource):
2043         (WebCore::CCResourceProvider::deleteOwnedResources):
2044         (WebCore::CCResourceProvider::resourceType):
2045         (WebCore::CCResourceProvider::upload):
2046         (WebCore::CCResourceProvider::lockForRead):
2047         (WebCore::CCResourceProvider::unlockForRead):
2048         (WebCore::CCResourceProvider::lockForWrite):
2049         (WebCore::CCResourceProvider::unlockForWrite):
2050         (WebCore::CCResourceProvider::destroyChild):
2051         (WebCore::CCResourceProvider::getChildToParentMap):
2052         (WebCore::CCResourceProvider::prepareSendToParent):
2053         (WebCore::CCResourceProvider::prepareSendToChild):
2054         (WebCore::CCResourceProvider::receiveFromChild):
2055         (WebCore::CCResourceProvider::receiveFromParent):
2056         (WebCore::CCResourceProvider::transferResource):
2057         (WebCore::CCResourceProvider::trimMailboxDeque):
2058         * platform/graphics/filters/CustomFilterGlobalContext.cpp:
2059         (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
2060         (WebCore::CustomFilterGlobalContext::getCompiledProgram):
2061         (WebCore::CustomFilterGlobalContext::removeCompiledProgram):
2062         * platform/graphics/filters/CustomFilterProgram.cpp:
2063         (WebCore::CustomFilterProgram::notifyClients):
2064         * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
2065         (WebCore::getCachedHarfbuzzFace):
2066         (WebCore::releaseCachedHarfbuzzFace):
2067         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
2068         (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
2069         (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
2070         * platform/graphics/mac/SimpleFontDataCoreText.cpp:
2071         (WebCore::SimpleFontData::getCFStringAttributes):
2072         * platform/graphics/mac/SimpleFontDataMac.mm:
2073         (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
2074         * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
2075         (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
2076         * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
2077         (WebCore::GraphicsContext3D::compileShader):
2078         (WebCore::GraphicsContext3D::getShaderiv):
2079         (WebCore::GraphicsContext3D::getShaderInfoLog):
2080         (WebCore::GraphicsContext3D::getShaderSource):
2081         * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
2082         (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
2083         (WebCore::EGLDisplayOpenVG::destroySurface):
2084         (WebCore::EGLDisplayOpenVG::contextForSurface):
2085         * platform/graphics/texmap/TextureMapperGL.cpp:
2086         (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
2087         (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
2088         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
2089         (WebCore::TextureMapperShaderManager::getShaderProgram):
2090         (WebCore::TextureMapperShaderManager::getShaderForFilter):
2091         * platform/graphics/wince/FontPlatformData.cpp:
2092         (WebCore::FixedSizeFontData::create):
2093         * platform/gtk/DataObjectGtk.cpp:
2094         (WebCore::DataObjectGtk::forClipboard):
2095         * platform/gtk/GtkDragAndDropHelper.cpp:
2096         (WebCore::GtkDragAndDropHelper::handleGetDragData):
2097         (WebCore::GtkDragAndDropHelper::handleDragLeave):
2098         (WebCore::GtkDragAndDropHelper::handleDragMotion):
2099         (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
2100         (WebCore::GtkDragAndDropHelper::handleDragDrop):
2101         * platform/gtk/RenderThemeGtk3.cpp:
2102         (WebCore::gtkStyleChangedCallback):
2103         (WebCore::getStyleContext):
2104         * platform/mac/ScrollbarThemeMac.mm:
2105         (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
2106         * platform/network/CredentialStorage.cpp:
2107         (WebCore::CredentialStorage::set):
2108         (WebCore::CredentialStorage::get):
2109         * platform/network/HTTPHeaderMap.cpp:
2110         (WebCore::HTTPHeaderMap::copyData):
2111         (WebCore::HTTPHeaderMap::get):
2112         * platform/network/MIMEHeader.cpp:
2113         (WebCore::MIMEHeader::parseHeader):
2114         * platform/network/ResourceHandle.cpp:
2115         (WebCore::ResourceHandle::create):
2116         * platform/network/ResourceRequestBase.cpp:
2117         (WebCore::ResourceRequestBase::addHTTPHeaderField):
2118         (WebCore::ResourceRequestBase::addHTTPHeaderFields):
2119         * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
2120         (WebCore::ResourceRequest::targetTypeFromMimeType):
2121         (WebCore::ResourceRequest::initializePlatformRequest):
2122         * platform/network/cf/ResourceHandleCFNet.cpp:
2123         (WebCore::makeFinalRequest):
2124         * platform/network/cf/ResourceRequestCFNet.cpp:
2125         (WebCore::setHeaderFields):
2126         * platform/network/curl/ResourceHandleManager.cpp:
2127         (WebCore::ResourceHandleManager::initializeHandle):
2128         * platform/network/mac/ResourceRequestMac.mm:
2129         (WebCore::ResourceRequest::doUpdatePlatformRequest):
2130         * platform/network/qt/ResourceRequestQt.cpp:
2131         (WebCore::ResourceRequest::toNetworkRequest):
2132         * platform/network/soup/ResourceHandleSoup.cpp:
2133         (WebCore::sendRequestCallback):
2134         (WebCore::ResourceHandle::setClientCertificate):
2135         * platform/network/soup/ResourceRequestSoup.cpp:
2136         (WebCore::ResourceRequest::updateSoupMessage):
2137         (WebCore::ResourceRequest::toSoupMessage):
2138         * platform/network/soup/ResourceResponseSoup.cpp:
2139         (WebCore::ResourceResponse::toSoupMessage):
2140         * platform/network/win/ResourceHandleWin.cpp:
2141         (WebCore::ResourceHandle::start):
2142         * platform/qt/RunLoopQt.cpp:
2143         (WebCore::RunLoop::TimerBase::timerFired):
2144         * platform/text/LocaleToScriptMappingDefault.cpp:
2145         (WebCore::scriptNameToCode):
2146         (WebCore::localeToScriptCodeForFontSelection):
2147         * platform/text/TextEncodingRegistry.cpp:
2148         (WebCore::pruneBlacklistedCodecs):
2149         (WebCore::dumpTextEncodingNameMap):
2150         * platform/text/transcoder/FontTranscoder.cpp:
2151         (WebCore::FontTranscoder::converterType):
2152         * platform/text/win/TextCodecWin.cpp:
2153         (WebCore::LanguageManager::LanguageManager):
2154         (WebCore::getCodePage):
2155         (WebCore::TextCodecWin::registerExtendedEncodingNames):
2156         (WebCore::TextCodecWin::registerExtendedCodecs):
2157         (WebCore::TextCodecWin::enumerateSupportedEncodings):
2158         * platform/win/ClipboardUtilitiesWin.cpp:
2159         (WebCore::getDataMapItem):
2160         (WebCore::getClipboardData):
2161         (WebCore::setClipboardData):
2162         * platform/win/ClipboardWin.cpp:
2163         (WebCore::ClipboardWin::types):
2164         * platform/win/FileSystemWin.cpp:
2165         (WebCore::cachedStorageDirectory):
2166         * platform/win/RunLoopWin.cpp:
2167         (WebCore::RunLoop::TimerBase::timerFired):
2168         * platform/win/WCDataObject.cpp:
2169         (WebCore::WCDataObject::createInstance):
2170         * platform/wince/MIMETypeRegistryWinCE.cpp:
2171         (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
2172         * platform/wx/ContextMenuWx.cpp:
2173         (WebCore::ContextMenu::appendItem):
2174         * plugins/PluginDatabase.cpp:
2175         (WebCore::PluginDatabase::refresh):
2176         (WebCore::PluginDatabase::MIMETypeForExtension):
2177         (WebCore::PluginDatabase::remove):
2178         * plugins/PluginMainThreadScheduler.cpp:
2179         (WebCore::PluginMainThreadScheduler::scheduleCall):
2180         (WebCore::PluginMainThreadScheduler::dispatchCalls):
2181         * plugins/PluginStream.cpp:
2182         (WebCore::PluginStream::startStream):
2183         * plugins/blackberry/PluginDataBlackBerry.cpp:
2184         (WebCore::PluginData::initPlugins):
2185         * plugins/wx/PluginDataWx.cpp:
2186         (WebCore::PluginData::initPlugins):
2187         * rendering/FlowThreadController.cpp:
2188         (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
2189         * rendering/InlineFlowBox.cpp:
2190         (WebCore::InlineFlowBox::requiresIdeographicBaseline):
2191         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
2192         * rendering/RenderBlock.cpp:
2193         (WebCore::RenderBlock::clearFloats):
2194         * rendering/RenderBlockLineLayout.cpp:
2195         (WebCore::setLogicalWidthForTextRun):
2196         * rendering/RenderBoxModelObject.cpp:
2197         (WebCore::ImageQualityController::highQualityRepaintTimerFired):
2198         (WebCore::ImageQualityController::shouldPaintAtLowQuality):
2199         * rendering/RenderCounter.cpp:
2200         (WebCore::RenderCounter::destroyCounterNodes):
2201         (WebCore::RenderCounter::destroyCounterNode):
2202         (WebCore::updateCounters):
2203         (WebCore::RenderCounter::rendererStyleChanged):
2204         * rendering/RenderFlowThread.cpp:
2205         (WebCore::RenderFlowThread::setRegionRangeForBox):
2206         (WebCore::RenderFlowThread::getRegionRangeForBox):
2207         * rendering/RenderLayer.cpp:
2208         (WebCore::RenderLayer::paint):
2209         (WebCore::performOverlapTests):
2210         * rendering/RenderLayerFilterInfo.cpp:
2211         (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
2212         (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
2213         * rendering/RenderNamedFlowThread.cpp:
2214         (WebCore::RenderNamedFlowThread::dependsOn):
2215         (WebCore::RenderNamedFlowThread::pushDependencies):
2216         * rendering/RenderRegion.cpp:
2217         (WebCore::RenderRegion::setRenderBoxRegionInfo):
2218         (WebCore::RenderRegion::setRegionObjectsRegionStyle):
2219         (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
2220         (WebCore::RenderRegion::computeChildrenStyleInRegion):
2221         * rendering/RenderTableSection.cpp:
2222         (WebCore::RenderTableSection::cachedCollapsedBorder):
2223         * rendering/RenderThemeMac.mm:
2224         (WebCore::RenderThemeMac::systemColor):
2225         * rendering/RenderView.cpp:
2226         (WebCore::RenderView::selectionBounds):
2227         (WebCore::RenderView::setSelection):
2228         * rendering/RenderWidget.cpp:
2229         (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
2230         * rendering/RootInlineBox.cpp:
2231         (WebCore::RootInlineBox::ascentAndDescentForBox):
2232         * rendering/VerticalPositionCache.h:
2233         (WebCore::VerticalPositionCache::get):
2234         * rendering/WrapShapeInfo.cpp:
2235         (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
2236         * rendering/svg/RenderSVGInlineText.cpp:
2237         (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
2238         * rendering/svg/RenderSVGResourceFilter.cpp:
2239         (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
2240         * rendering/svg/RenderSVGResourceGradient.cpp:
2241         (WebCore::RenderSVGResourceGradient::applyResource):
2242         * rendering/svg/RenderSVGResourcePattern.cpp:
2243         (WebCore::RenderSVGResourcePattern::applyResource):
2244         * rendering/svg/SVGResourcesCache.cpp:
2245         (WebCore::SVGResourcesCache::resourceDestroyed):
2246         * rendering/svg/SVGRootInlineBox.cpp:
2247         (WebCore::swapItemsInLayoutAttributes):
2248         * rendering/svg/SVGTextLayoutAttributes.cpp:
2249         (WebCore::SVGTextLayoutAttributes::dump):
2250         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
2251         (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
2252         (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
2253         * rendering/svg/SVGTextLayoutEngine.cpp:
2254         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
2255         * rendering/svg/SVGTextMetricsBuilder.cpp:
2256         (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
2257         * storage/StorageAreaSync.cpp:
2258         (WebCore::StorageAreaSync::syncTimerFired):
2259         (WebCore::StorageAreaSync::performImport):
2260         (WebCore::StorageAreaSync::sync):
2261         * storage/StorageMap.cpp:
2262         (WebCore::StorageMap::key):
2263         (WebCore::StorageMap::setItem):
2264         * storage/StorageNamespaceImpl.cpp:
2265         (WebCore::StorageNamespaceImpl::localStorageNamespace):
2266         (WebCore::StorageNamespaceImpl::copy):
2267         (WebCore::StorageNamespaceImpl::close):
2268         (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
2269         (WebCore::StorageNamespaceImpl::sync):
2270         * svg/SVGDocumentExtensions.cpp:
2271         (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
2272         (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
2273         (WebCore::SVGDocumentExtensions::addPendingResource):
2274         (WebCore::SVGDocumentExtensions::isElementPendingResources):
2275         (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
2276         (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
2277         (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
2278         (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
2279         * svg/SVGElement.cpp:
2280         (WebCore::SVGElement::~SVGElement):
2281         * svg/animation/SMILTimeContainer.cpp:
2282         (WebCore::SMILTimeContainer::updateAnimations):
2283         * svg/graphics/SVGImageCache.cpp:
2284         (WebCore::SVGImageCache::~SVGImageCache):
2285         (WebCore::SVGImageCache::removeClientFromCache):
2286         (WebCore::SVGImageCache::requestedSizeAndScales):
2287         (WebCore::SVGImageCache::imageContentChanged):
2288         (WebCore::SVGImageCache::redraw):
2289         (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
2290         * svg/graphics/filters/SVGFilterBuilder.h:
2291         (WebCore::SVGFilterBuilder::effectReferences):
2292         (WebCore::SVGFilterBuilder::addBuiltinEffects):
2293         * svg/properties/SVGAnimatedProperty.h:
2294         (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
2295         * svg/properties/SVGAttributeToPropertyMap.cpp:
2296         (WebCore::SVGAttributeToPropertyMap::addProperties):
2297         (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
2298         * workers/WorkerContext.cpp:
2299         (WebCore::WorkerContext::hasPendingActivity):
2300         * workers/WorkerEventQueue.cpp:
2301         (WebCore::WorkerEventQueue::close):
2302         * xml/XMLHttpRequest.cpp:
2303         (WebCore::XMLHttpRequest::setRequestHeaderInternal):
2304         (WebCore::XMLHttpRequest::getAllResponseHeaders):
2305         * xml/XPathFunctions.cpp:
2306         (WebCore::XPath::createFunction):
2307         * xml/XPathParser.cpp:
2308         (isAxisName):
2309         * xml/XSLTProcessorLibxslt.cpp:
2310         (WebCore::xsltParamArrayFromParameterMap):
2311         * xml/XSLTProcessorQt.cpp:
2312         (WebCore::XSLTProcessor::transformToString):
2313
2314 2012-08-27  Jeffrey Pfau  <jpfau@apple.com>
2315
2316         Make shared workers respect third-party storage blocking setting
2317         https://bugs.webkit.org/show_bug.cgi?id=94559
2318
2319         Reviewed by Adam Barth.
2320
2321         Shared workers can fundamentally leak information between pages in
2322         different contexts if the workers can be accessed from a third-party
2323         context. Thus, if third-party storage blocking is enabled, shared
2324         workers should be disallowed in third-party contexts.
2325
2326         Tests: http/tests/security/cross-origin-shared-worker-allowed.html
2327                http/tests/security/cross-origin-shared-worker.html
2328
2329         * page/SecurityOrigin.h: Add canAccessSharedWorkers function
2330         (WebCore::SecurityOrigin::canAccessSharedWorkers):
2331         * workers/SharedWorker.cpp:
2332         (WebCore::SharedWorker::create): Ensure that we can access shared workers before creating the worker.
2333
2334 2012-07-10  Robert Hogan  <robert@webkit.org>
2335
2336         REGRESSION (r94492): Unstable layout of static block inside text-align: center div
2337         https://bugs.webkit.org/show_bug.cgi?id=77754
2338
2339         Reviewed by David Hyatt.
2340
2341         Text-align of 'center' on an out-of-flow element determines its x-position in the line - it 
2342         doesn't mean that the element should be centred in the line as though it were a block of text.
2343         
2344         This is a partial revert of http://trac.webkit.org/changeset/113584 and a correction to 
2345         http://trac.webkit.org/changeset/94492.
2346
2347         Tests: fast/css/center-align-absolute-position-inline-block.html
2348                fast/css/center-align-absolute-position.html
2349
2350         * rendering/RenderBlock.cpp:
2351         (WebCore::RenderBlock::layoutPositionedObjects): Remove an update to the static position when
2352           it depended on the child's width. Reverts code added in r113584.
2353         * rendering/RenderBlock.h:
2354         (RenderBlock): Remove child parameter from startAlignedOffsetForLine()
2355         * rendering/RenderBlockLineLayout.cpp:
2356         (WebCore::setStaticPositions): ditto
2357         (WebCore::RenderBlock::startAlignedOffsetForLine): No need to account for the child's width when calculating
2358           the offset for the line.
2359
2360 2012-08-27  Jon Lee  <jonlee@apple.com>
2361
2362         [Mac] Add SPI to WK1 to retrieve internal IDs for web notifications
2363         https://bugs.webkit.org/show_bug.cgi?id=95099
2364         <rdar://problem/12180186>
2365
2366         Reviewed by Jessie Berlin.
2367
2368         This is work toward providing Mac support for web notifications in DRT and WTR (77969).
2369
2370         Expose functions to convert JSValue to Notification, and to get the NotificationController from a page.
2371
2372         * WebCore.exp.in:
2373         * WebCore.xcodeproj/project.pbxproj: Promote NotificationController.h and JSNotification.h to private headers.
2374
2375 2012-08-28  Dominic Mazzoni  <dmazzoni@google.com>
2376
2377         AX: Should be able to tab to focus a link in a canvas subtree
2378         https://bugs.webkit.org/show_bug.cgi?id=94967
2379
2380         Reviewed by Chris Fleizach.
2381
2382         Skips the hasNonEmptyBoundingBox check in isKeyboardFocusable
2383         when in a canvas subtree.
2384
2385         Test: fast/events/tab-focus-link-in-canvas.html
2386
2387         * html/HTMLAnchorElement.cpp:
2388         (WebCore::HTMLAnchorElement::isKeyboardFocusable):
2389
2390 2012-08-28  Koji Ishii  <kojiishi@gmail.com>
2391
2392         OPENTYPE_VERTICAL support for Chromium Win
2393         https://bugs.webkit.org/show_bug.cgi?id=94822
2394
2395         Reviewed by Tony Chang.
2396
2397         To fix bug 51450 - Glyphs in vertical text tests are rotated 90 degrees clockwise on Chromium Windows,
2398         this patch adds support of OPENTYPE_VERTICAL feature for Chromium Windows.
2399         Since enabling OPENTYPE_VERTICAL feature would require rather a big number of tests to rebaseline,
2400         the actual fix is separated into this patch, and the feature will be enabled in bug 51450,
2401         so that it is easier to revert on any perf regressions, as suggested by Tony in comment #50 of bug 51450.
2402
2403         All changes in this patch are behind #if ENABLE(OPENTYPE_VERTICAL) and therefore no tests are included in this patch.
2404         All tests in fast/writing-modes currently skipped will be enabled in bug 51450.
2405
2406         * WebCore.gyp/WebCore.gyp: Added platform/graphics/opentype/OpenType*.
2407         * WebCore.gypi: Ditto.
2408         * platform/graphics/FontCache.h: SKia uses uint32_t as FontFileKey.
2409         * platform/graphics/GlyphPageTreeNode.cpp:
2410         (WebCore::fill): Replace vertical alternate glyphs if vertical flow.
2411         * platform/graphics/SimpleFontData.cpp: Added m_verticalData.
2412         (WebCore::SimpleFontData::SimpleFontData):
2413         * platform/graphics/SimpleFontData.h:
2414         (WebCore::SimpleFontData::verticalData):
2415         (SimpleFontData):
2416         (WebCore::SimpleFontData::widthForGlyph):
2417         * platform/graphics/chromium/FontChromiumWin.cpp:
2418         (WebCore::Font::drawGlyphs): Draw glyphs verticaly if font->verticalData().
2419         * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
2420         (WebCore::FontPlatformData::verticalData): Added.
2421         (WebCore):
2422         (WebCore::FontPlatformData::openTypeTable): Added.
2423         * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
2424         (WebCore):
2425         (FontPlatformData): Added verticalData() and openTypeTable().
2426
2427 2012-08-28  Andy Estes  <aestes@apple.com>
2428
2429         Add header guards to WebTileCacheLayer.h.
2430         https://bugs.webkit.org/show_bug.cgi?id=95171
2431
2432         Reviewed by Simon Hausmann.
2433
2434         Headers love include guards.
2435
2436         * platform/graphics/ca/mac/WebTileCacheLayer.h:
2437
2438 2012-08-28  Dana Jansens  <danakj@chromium.org>
2439
2440         [chromium] Be robust to WebCore popping an empty GraphicsContext stack
2441         https://bugs.webkit.org/show_bug.cgi?id=95152
2442
2443         Reviewed by James Robinson.
2444
2445         * platform/graphics/skia/OpaqueRegionSkia.cpp:
2446         (WebCore::OpaqueRegionSkia::popCanvasLayer):
2447
2448 2012-08-28  David Hyatt  <hyatt@apple.com>
2449
2450         [New Multicolumn] Rename some flow thread methods and region methods/members to make them
2451         more accurate and also change some function signatures so they can be used by RenderMultiColumnSet.
2452         https://bugs.webkit.org/show_bug.cgi?id=95213
2453         
2454         Reviewed by Simon Fraser.
2455
2456         Rename regionRect()/setRegionRect()/m_regionRect on RenderRegion to be flowThreadPortionRect instead.
2457         The term regionRect() makes it sound like you're painting a rect in the region's coordinate space,
2458         but regionRect() actually represents the portion of the flow thread in the flow thread's coordinate space
2459         that this region "owns."
2460         
2461         Also fix paintIntoRegion and hitTestRegion to take specific flow thread portion rects to paint. This
2462         allows a region set to paint a portion of a portion, i.e., if a multicolumn set owns part of the flow thread
2463         it has to be able to further break up that part into individual columns and issue multiple paint calls, one
2464         for each column.
2465
2466         * rendering/RenderFlowThread.cpp:
2467         (WebCore::RenderFlowThread::layout):
2468         (WebCore::RenderFlowThread::paintFlowThreadPortionInRegion):
2469         (WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion):
2470         (WebCore::RenderFlowThread::repaintRectangleInRegions):
2471         (WebCore::RenderFlowThread::renderRegionForLine):
2472         (WebCore::RenderFlowThread::regionLogicalTopForLine):
2473         (WebCore::RenderFlowThread::regionLogicalWidthForLine):
2474         (WebCore::RenderFlowThread::regionLogicalHeightForLine):
2475         (WebCore::RenderFlowThread::regionRemainingLogicalHeightForLine):
2476         (WebCore::RenderFlowThread::mapFromFlowToRegion):
2477         (WebCore::RenderFlowThread::contentLogicalLeftOfFirstRegion):
2478         (WebCore::RenderFlowThread::computeOverflowStateForRegions):
2479         * rendering/RenderFlowThread.h:
2480         * rendering/RenderMultiColumnSet.cpp:
2481         (WebCore::RenderMultiColumnSet::columnCount):
2482         (WebCore::RenderMultiColumnSet::paintColumnContents):
2483         * rendering/RenderRegion.cpp:
2484         (WebCore::RenderRegion::flowThreadPortionOverflowRect):
2485         (WebCore::RenderRegion::paintReplaced):
2486         (WebCore::RenderRegion::nodeAtPoint):
2487         (WebCore::RenderRegion::layout):
2488         (WebCore::RenderRegion::offsetFromLogicalTopOfFirstPage):
2489         * rendering/RenderRegion.h:
2490         (WebCore::RenderRegion::setFlowThreadPortionRect):
2491         (WebCore::RenderRegion::flowThreadPortionRect):
2492         (RenderRegion):
2493         * rendering/RenderRegionSet.cpp:
2494         (WebCore::RenderRegionSet::expandToEncompassFlowThreadContentsIfNeeded):
2495
2496 2012-08-28  Alpha Lam  <hclam@chromium.org>
2497
2498         Report frame bytes by platform ImageDecoder
2499         https://bugs.webkit.org/show_bug.cgi?id=94241
2500
2501         Reviewed by James Robinson.
2502
2503         Decoded frame bytes should be reported by the platform ImageSource and
2504         ImageDecoder. BitmapImage used to guess system memory used by a frame
2505         but this is no longer true if a frame is backed by an accelerated
2506         surface or defer-decoded.
2507
2508         Adds ImageSource::frameBytesAtIndex and ImageDecoder::frameBytesAtIndex
2509         such that platform can report memory usage correctly.
2510
2511         No new tests. Refactoring without change of behavior.
2512         Tested on Chromium port with pixel tests without any crash or failure.
2513
2514         * platform/graphics/BitmapImage.cpp:
2515         (WebCore::BitmapImage::destroyDecodedData):
2516         (WebCore::BitmapImage::destroyDecodedDataIfNecessary):
2517         (WebCore::BitmapImage::destroyMetadataAndNotify):
2518         (WebCore::BitmapImage::cacheFrame):
2519         (WebCore::BitmapImage::dataChanged):
2520         * platform/graphics/BitmapImage.h:
2521         (WebCore::FrameData::FrameData):
2522         (FrameData):
2523         (BitmapImage):
2524         * platform/graphics/ImageSource.cpp:
2525         (WebCore::ImageSource::frameBytesAtIndex):
2526         (WebCore):
2527         * platform/graphics/ImageSource.h:
2528         * platform/graphics/cg/ImageSourceCG.cpp:
2529         (WebCore::ImageSource::frameBytesAtIndex):
2530         (WebCore):
2531         * platform/image-decoders/ImageDecoder.cpp:
2532         (WebCore::ImageDecoder::frameBytesAtIndex):
2533         (WebCore):
2534         * platform/image-decoders/ImageDecoder.h:
2535         (ImageDecoder):
2536
2537 2012-08-28  Gustavo Noronha Silva  <gns@gnome.org>
2538
2539         [GTK] Does not regenerate CSS-related sources when configuration changes
2540         https://bugs.webkit.org/show_bug.cgi?id=94927
2541
2542         Reviewed by Eric Seidel.
2543
2544         In bug 94094 the gtk EWS consistently failed to build the patch. The
2545         reason that happens is the .in files have not been touched, so the CSS
2546         property names and value keywords sources are not regenerated. By
2547         adding an explicit dependency on configure.ac and GNUmakefile.am the
2548         problem is fixed (see bug 82465, attachment 160265).
2549
2550         * GNUmakefile.am: add explicit dependency from the CSS-related .in files
2551         on configure.ac and WebCore's GNUmakefile.am
2552
2553 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2554
2555         Unreviewed, rolling out r126813.
2556         http://trac.webkit.org/changeset/126813
2557         https://bugs.webkit.org/show_bug.cgi?id=95211
2558
2559         Broke Chromium debug builds (Requested by beverloo on
2560         #webkit).
2561
2562         * WebCore.gypi:
2563
2564 2012-08-28  Iain Merrick  <husky@chromium.org>
2565
2566         [chromium] Split some ASSERT(a && b && c) statements into separate lines.
2567         https://bugs.webkit.org/show_bug.cgi?id=95206
2568
2569         Reviewed by James Robinson.
2570
2571         This makes for easier debugging, as you can immediately see which clause
2572         has failed.
2573
2574         No change in behavior, no new tests needed.
2575
2576         * platform/graphics/chromium/cc/CCResourceProvider.cpp:
2577         (WebCore::CCResourceProvider::deleteResource):
2578         (WebCore::CCResourceProvider::upload):
2579         (WebCore::CCResourceProvider::lockForRead):
2580         (WebCore::CCResourceProvider::unlockForRead):
2581         (WebCore::CCResourceProvider::lockForWrite):
2582         (WebCore::CCResourceProvider::unlockForWrite):
2583         (WebCore::CCResourceProvider::transferResource):
2584
2585 2012-08-28  Anna Cavender  <annacc@chromium.org>
2586
2587         [Chrome] Enable track by default.
2588         https://bugs.webkit.org/show_bug.cgi?id=95153
2589
2590         Reviewed by Eric Carlson.
2591
2592         This change turns <track> and TextTrack API on by default for Chrome.
2593
2594         Existing Tests: media/track/*
2595
2596         * bindings/generic/RuntimeEnabledFeatures.cpp:
2597         (WebCore):
2598
2599 2012-08-28  Arvid Nilsson  <anilsson@rim.com>
2600
2601         [BlackBerry] Checkerboard observed after pinch zooming page with AC layers
2602         https://bugs.webkit.org/show_bug.cgi?id=95192
2603
2604         PR 199177
2605         The LayerTiler was passing transformed ("pixel") coordinates to
2606         GraphicsLayerClient::contentsVisible(), and that method expects
2607         untransformed ("document") coordinates. When the scale was not 1.0,
2608         this was comparing apples and oranges.
2609
2610         Fixed by packaging up the transformation code into a reusable method
2611         and mapping the "pixel" tile rect to "document" coordinates before the
2612         visibility testing.
2613
2614         Reviewed by Antonio Gomes.
2615
2616         Not currently testable by the BlackBerry testing infrastructure.
2617
2618         * platform/graphics/blackberry/LayerTiler.cpp:
2619         (WebCore::LayerTiler::shouldPerformRenderJob):
2620         * platform/graphics/blackberry/LayerWebKitThread.cpp:
2621         (WebCore::LayerWebKitThread::paintContents):
2622         (WebCore::LayerWebKitThread::mapFromTransformed):
2623         (WebCore):
2624         * platform/graphics/blackberry/LayerWebKitThread.h:
2625         (LayerWebKitThread):
2626
2627 2012-08-28  Parth Patel  <parpatel@rim.com>
2628
2629         [BlackBerry] Removing unnecessary include of Class BlackBerryPlatformClient
2630         https://bugs.webkit.org/show_bug.cgi?id=95113
2631
2632         Reviewed by Kentaro Hara.
2633
2634         Refactoring has lead to relocation of many or all methods from Class
2635         BlackBerryPlatformClient to other classes. Some files include
2636         BlackBerryPlatformClient but does not use its instance thus these
2637         includes has to be removed.
2638
2639         No new tests as there are no logical modifications done.
2640
2641         * platform/network/blackberry/NetworkManager.cpp:
2642
2643 2012-08-28  Hugo Parente Lima  <hugo.lima@openbossa.org>
2644
2645         [WK2] Send click events to WebCore when the user clicked on a non-special node with TOUCH_ADJUSTMENT enabled.
2646         https://bugs.webkit.org/show_bug.cgi?id=91012
2647
2648         Reviewed by Antonio Gomes.
2649
2650         Don't abort the gesture tap handling when the tap hits a non user
2651         interactable node like a text node.
2652
2653         Test: touchadjustment/focusout-on-touch.html
2654
2655         * page/EventHandler.cpp:
2656         (WebCore::EventHandler::handleGestureTap):
2657
2658 2012-08-28  Andreas Kling  <kling@webkit.org>
2659
2660         Simplify cloning of inline style (below Node.cloneNode)
2661         <http://webkit.org/b/95095>
2662
2663         Reviewed by Eric Seidel.
2664
2665         Just use StylePropertySet::copy() instead of copying the properties and CSS parser mode manually
2666         when cloning an element that has inline style.
2667
2668         * css/StylePropertySet.cpp:
2669         (WebCore::StylePropertySet::StylePropertySet):
2670         * css/StylePropertySet.h:
2671         (StylePropertySet):
2672         * dom/ElementAttributeData.cpp:
2673         (WebCore::ElementAttributeData::cloneDataFrom):
2674
2675 2012-08-28  Sukolsak Sakshuwong  <sukolsak@gmail.com>
2676
2677         Crash in EditingStyle::mergeStyle
2678         https://bugs.webkit.org/show_bug.cgi?id=94740
2679
2680         Reviewed by Ryosuke Niwa.
2681
2682         This bug happened when we selected "1<progress><a style>2</a></progress>"
2683         and executed a create link command because
2684
2685         1. The selection ended at <progress>, not the text node inside it, because
2686            <progress> is an atomic node.
2687         2. We called removeInlineStyle() to remove conflicting styles.
2688            Since the selection started at the text node "1" and ended at <progress>,
2689            we did not get to remove <a>.
2690         3. We called fixRangeAndApplyInlineStyle(), which in turn called
2691            applyInlineStyleToNodeRange(). This method split the node range
2692            into smaller runs. In this case, the run was the whole
2693            "1<progress><a style>2</a></progress>".
2694         4. We called removeStyleFromRunBeforeApplyingStyle(). This method tried
2695            to remove <a> by calling removeInlineStyleFromElement() on <a> with
2696            extractedStyle = 0. But the method expected that extractedStyle was not null.
2697            So, it crashed.
2698
2699         This bug doesn't happen with non-atomic nodes because if <a> is inside a non-atomic
2700         node, <a> will be covered by the selection. Therefore, it will be removed in
2701         step #2 and we will never call removeInlineStyleFromElement() on <a>
2702         again. Thus, the assertion that extractedStyle is not null is reasonable.
2703         Hence, this patch fixes this bug by skipping over atomic nodes when we apply style.
2704
2705         Test: editing/style/apply-style-atomic.html
2706
2707         * editing/ApplyStyleCommand.cpp:
2708         (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle):
2709         (WebCore::ApplyStyleCommand::removeInlineStyle):
2710
2711 2012-08-28  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2712
2713         [EFL] Range input ignores padding
2714         https://bugs.webkit.org/show_bug.cgi?id=94595
2715
2716         Reviewed by Kenneth Rohde Christiansen.
2717
2718         We do not constrain the slider size anymore since it was ignoring the
2719         padding. Also paint the slider thumb on the step it was suppose
2720         to be painted. WebKit will now take care of the positioning of the
2721         thumb, the behavior will be now more coherent with other ports.
2722
2723         As side effect, this patch also fixes setting a slider RTL that wasn't
2724         working before and can be verified by the existing tests. Also
2725         datalist will stop at tick marks.
2726
2727         No new tests, rebaselined the existing ones and unskipping failures.
2728
2729         * platform/efl/RenderThemeEfl.cpp:
2730         (WebCore):
2731         (WebCore::RenderThemeEfl::paintThemePart):
2732         (WebCore::RenderThemeEfl::edjeGroupFromFormType):
2733         (WebCore::RenderThemeEfl::adjustSliderTrackStyle):
2734         (WebCore::RenderThemeEfl::adjustSliderThumbStyle):
2735         (WebCore::RenderThemeEfl::adjustSliderThumbSize):
2736         (WebCore::RenderThemeEfl::paintSliderThumb):
2737         * platform/efl/RenderThemeEfl.h:
2738
2739 2012-08-28  Kevin Funk  <kevin.funk@kdab.com>
2740
2741         Compile fix: use fabs() instead of abs() for doubles
2742         https://bugs.webkit.org/show_bug.cgi?id=95184
2743
2744         Reviewed by Kentaro Hara.
2745
2746         Simple compilation fix.
2747
2748         * platform/ScrollAnimatorNone.cpp:
2749
2750 2012-08-28  Christophe Dumez  <christophe.dumez@intel.com>
2751
2752         REGRESSION (r124512): Failures in MathML Presentation tests on GTK and EFL
2753         https://bugs.webkit.org/show_bug.cgi?id=93073
2754
2755         Reviewed by Kenneth Rohde Christiansen.
2756
2757         Provide SimpleFontData::platformBoundsForGlyph() implementation
2758         for FreeType backend. This fixes several CSS line-box-contain
2759         test cases as well as the MathML tests for ports using
2760         FreeType.
2761
2762         No new tests, already covered by:
2763         fast/block/lineboxcontain/block-glyphs-replaced.html
2764         fast/block/lineboxcontain/glyphs.html
2765         mathml/*
2766
2767         * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
2768         (WebCore::SimpleFontData::platformBoundsForGlyph):
2769
2770 2012-08-28  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2771
2772         Rename HitTestPoint and pointInContainer
2773         https://bugs.webkit.org/show_bug.cgi?id=90992
2774
2775         Reviewed by Eric Seidel.
2776
2777         The former hitTestPoint is not just a point. It can be either a point or an area being
2778         hit tested. This patches renames 'point' to 'location' to make it more obvious that the
2779         code does not only handle points.
2780
2781         * rendering/EllipsisBox.cpp:
2782         (WebCore::EllipsisBox::nodeAtPoint):
2783         * rendering/EllipsisBox.h:
2784         (EllipsisBox):
2785         * rendering/HitTestResult.cpp:
2786         (WebCore::HitTestLocation::HitTestLocation):
2787         (WebCore::HitTestLocation::~HitTestLocation):
2788         (WebCore::HitTestLocation::operator=):
2789         (WebCore::HitTestLocation::move):
2790         (WebCore::HitTestLocation::intersectsRect):
2791         (WebCore::HitTestLocation::intersects):
2792         (WebCore::HitTestLocation::rectForPoint):
2793         (WebCore::HitTestResult::HitTestResult):
2794         (WebCore::HitTestResult::operator=):
2795         (WebCore::HitTestResult::addNodeToRectBasedTestResult):
2796         (WebCore::HitTestResult::dictationAlternatives):
2797         * rendering/HitTestResult.h:
2798         (HitTestLocation):
2799         (HitTestResult):
2800         (WebCore::HitTestResult::hitTestLocation):
2801         * rendering/InlineBox.cpp:
2802         (WebCore::InlineBox::nodeAtPoint):
2803         * rendering/InlineBox.h:
2804         (InlineBox):
2805         * rendering/InlineFlowBox.cpp:
2806         (WebCore::InlineFlowBox::nodeAtPoint):
2807         * rendering/InlineFlowBox.h:
2808         (InlineFlowBox):
2809         * rendering/InlineTextBox.cpp:
2810         (WebCore::InlineTextBox::nodeAtPoint):
2811         * rendering/InlineTextBox.h:
2812         (InlineTextBox):
2813         * rendering/RenderBlock.cpp:
2814         (WebCore::RenderBlock::isPointInOverflowControl):
2815         (WebCore::RenderBlock::nodeAtPoint):
2816         (WebCore::RenderBlock::hitTestFloats):
2817         (WebCore::RenderBlock::hitTestColumns):
2818         (WebCore::RenderBlock::adjustForColumnRect):
2819         (WebCore::RenderBlock::hitTestContents):
2820         * rendering/RenderBlock.h:
2821         (RenderBlock):
2822         * rendering/RenderBox.cpp:
2823         (WebCore::RenderBox::nodeAtPoint):
2824         * rendering/RenderBox.h:
2825         (RenderBox):
2826         * rendering/RenderEmbeddedObject.cpp:
2827         (WebCore::RenderEmbeddedObject::nodeAtPoint):
2828         * rendering/RenderEmbeddedObject.h:
2829         (RenderEmbeddedObject):
2830         * rendering/RenderFlowThread.cpp:
2831         (WebCore::RenderFlowThread::hitTestRegion):
2832         * rendering/RenderFlowThread.h:
2833         * rendering/RenderFrameSet.cpp:
2834         (WebCore::RenderFrameSet::nodeAtPoint):
2835         * rendering/RenderFrameSet.h:
2836         (RenderFrameSet):
2837         * rendering/RenderImage.cpp:
2838         (WebCore::RenderImage::nodeAtPoint):
2839         * rendering/RenderImage.h:
2840         (RenderImage):
2841         * rendering/RenderInline.cpp:
2842         (WebCore::RenderInline::nodeAtPoint):
2843         * rendering/RenderInline.h:
2844         (RenderInline):
2845         * rendering/RenderLayer.cpp:
2846         (WebCore::ClipRect::intersects):
2847         (WebCore::RenderLayer::hitTest):
2848         (WebCore::RenderLayer::createLocalTransformState):
2849         (WebCore::RenderLayer::hitTestLayer):
2850         (WebCore::RenderLayer::hitTestContents):
2851         (WebCore::RenderLayer::hitTestList):
2852         (WebCore::RenderLayer::hitTestPaginatedChildLayer):
2853         (WebCore::RenderLayer::hitTestChildLayerColumns):
2854         * rendering/RenderLayer.h:
2855         (ClipRect):
2856         (RenderLayer):
2857         * rendering/RenderLineBoxList.cpp:
2858         (WebCore::RenderLineBoxList::hitTest):
2859         * rendering/RenderLineBoxList.h:
2860         (RenderLineBoxList):
2861         * rendering/RenderListBox.cpp:
2862         (WebCore::RenderListBox::isPointInOverflowControl):
2863         (WebCore::RenderListBox::nodeAtPoint):
2864         * rendering/RenderListBox.h:
2865         (RenderListBox):
2866         * rendering/RenderObject.cpp:
2867         (WebCore::RenderObject::hitTest):
2868         (WebCore::RenderObject::nodeAtPoint):
2869         * rendering/RenderObject.h:
2870         (RenderObject):
2871         * rendering/RenderRegion.cpp:
2872         (WebCore::RenderRegion::nodeAtPoint):
2873         * rendering/RenderRegion.h:
2874         (RenderRegion):
2875         * rendering/RenderTable.cpp:
2876         (WebCore::RenderTable::nodeAtPoint):
2877         * rendering/RenderTable.h:
2878         (RenderTable):
2879         * rendering/RenderTableRow.cpp:
2880         (WebCore::RenderTableRow::nodeAtPoint):
2881         * rendering/RenderTableRow.h:
2882         (RenderTableRow):
2883         * rendering/RenderTableSection.cpp:
2884         (WebCore::RenderTableSection::nodeAtPoint):
2885         * rendering/RenderTableSection.h:
2886         (RenderTableSection):
2887         * rendering/RenderText.h:
2888         * rendering/RenderTextControlMultiLine.cpp:
2889         (WebCore::RenderTextControlMultiLine::nodeAtPoint):
2890         * rendering/RenderTextControlMultiLine.h:
2891         (RenderTextControlMultiLine):
2892         * rendering/RenderTextControlSingleLine.cpp:
2893         (WebCore::RenderTextControlSingleLine::nodeAtPoint):
2894         * rendering/RenderTextControlSingleLine.h:
2895         (RenderTextControlSingleLine):
2896         * rendering/RenderWidget.cpp:
2897         (WebCore::RenderWidget::nodeAtPoint):
2898         * rendering/RenderWidget.h:
2899         (RenderWidget):
2900         * rendering/RootInlineBox.cpp:
2901         (WebCore::RootInlineBox::nodeAtPoint):
2902         * rendering/RootInlineBox.h:
2903         (RootInlineBox):
2904         * rendering/svg/RenderSVGForeignObject.cpp:
2905         (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
2906         (WebCore::RenderSVGForeignObject::nodeAtPoint):
2907         * rendering/svg/RenderSVGForeignObject.h:
2908         (RenderSVGForeignObject):
2909         * rendering/svg/RenderSVGModelObject.cpp:
2910         (WebCore::RenderSVGModelObject::nodeAtPoint):
2911         * rendering/svg/RenderSVGModelObject.h:
2912         (RenderSVGModelObject):
2913         * rendering/svg/RenderSVGRoot.cpp:
2914         (WebCore::RenderSVGRoot::nodeAtPoint):
2915         * rendering/svg/RenderSVGRoot.h:
2916         (RenderSVGRoot):
2917         * rendering/svg/RenderSVGText.cpp:
2918         (WebCore::RenderSVGText::nodeAtFloatPoint):
2919         (WebCore::RenderSVGText::nodeAtPoint):
2920         * rendering/svg/RenderSVGText.h:
2921         (RenderSVGText):
2922         * rendering/svg/SVGInlineTextBox.cpp:
2923         (WebCore::SVGInlineTextBox::nodeAtPoint):
2924         * rendering/svg/SVGInlineTextBox.h:
2925         (SVGInlineTextBox):
2926
2927 2012-08-28  Simon Hausmann  <simon.hausmann@nokia.com>
2928
2929         [Qt] New test introduced in r126611 fails: fast/css/image-set-setting.html
2930         https://bugs.webkit.org/show_bug.cgi?id=95054
2931
2932         Reviewed by Eric Seidel.
2933
2934         Add missing files to the build for CSS_IMAGE_SET.
2935
2936         * Target.pri:
2937
2938 2012-08-28  Pavel Feldman  <pfeldman@chromium.org>
2939
2940         Web Inspector: introduce overlay page and migrate "paused in debugger" to it.
2941         https://bugs.webkit.org/show_bug.cgi?id=95080
2942
2943         Reviewed by Yury Semikhatsky.
2944
2945         Separate page instance is now used to render overlay. Paused in debugger is migrated to the new overlay.
2946
2947         * CMakeLists.txt:
2948         * DerivedSources.make:
2949         * GNUmakefile.am:
2950         * WebCore.gyp/WebCore.gyp:
2951         * WebCore.gypi:
2952         * WebCore.vcproj/WebCore.vcproj:
2953         * WebCore.xcodeproj/project.pbxproj:
2954         * inspector/InspectorOverlay.cpp:
2955         (WebCore::InspectorOverlay::~InspectorOverlay):
2956         (WebCore):
2957         (WebCore::InspectorOverlay::paint):
2958         (WebCore::InspectorOverlay::drawOutline):
2959         (WebCore::InspectorOverlay::setPausedInDebuggerMessage):
2960         (WebCore::InspectorOverlay::drawNodeHighlight):
2961         (WebCore::InspectorOverlay::drawRectHighlight):
2962         (WebCore::InspectorOverlay::drawOverlayPage):
2963         (WebCore::InspectorOverlay::overlayPage):
2964         (WebCore::InspectorOverlay::evaluateInOverlay):
2965         * inspector/InspectorOverlay.h:
2966         (InspectorOverlay):
2967         * inspector/InspectorOverlayPage.html: Added.
2968         * inspector/InspectorPageAgent.cpp:
2969         (WebCore::InspectorPageAgent::didPaint):
2970
2971 2012-08-28  Andrey Adaikin  <aandrey@chromium.org>
2972
2973         Web Inspector: [WebGL] Simple experimental frontend implementation
2974         https://bugs.webkit.org/show_bug.cgi?id=94696
2975
2976         Reviewed by Vsevolod Vlasov.
2977
2978         A simple experimental frontend for WebGL instrumentation.
2979         This is a draft unpolished UI just to start with. Iterations on the UI will follow.
2980
2981         * WebCore.gypi:
2982         * inspector/front-end/Settings.js:
2983         (WebInspector.ExperimentsSettings):
2984         * inspector/front-end/WebGLPanel.js: Added.
2985         (WebInspector.WebGLPanel):
2986         (WebInspector.WebGLPanel.prototype.get toolbarItemLabel):
2987         (WebInspector.WebGLPanel.prototype.get statusBarItems):
2988         (WebInspector.WebGLPanel.prototype.wasShown):
2989         (WebInspector.WebGLPanel.prototype.willHide):
2990         (WebInspector.WebGLPanel.prototype._toggleWebGLInspection):
2991         (WebInspector.WebGLPanel.prototype._onCaptureFrameButtonClick):
2992         (WebInspector.WebGLPanel.prototype._onTraceLogListItemClick):
2993         (WebInspector.WebGLPanel.prototype._onFunctionCallItemClick):
2994         (WebInspector.WebGLManager):
2995         (WebInspector.WebGLManager.prototype.start):
2996         (WebInspector.WebGLManager.prototype.stop):
2997         (WebInspector.WebGLManager.prototype.dropTraceLog):
2998         (WebInspector.WebGLManager.prototype.captureFrame):
2999         (WebInspector.WebGLManager.prototype.getTraceLog):
3000         (WebInspector.WebGLManager.prototype.replayTraceLog):
3001         (WebInspector.WebGLManager.prototype._started):
3002         (WebInspector.WebGLManager.prototype._stopped):
3003         * inspector/front-end/WebKit.qrc:
3004         * inspector/front-end/inspector.html:
3005         * inspector/front-end/inspector.js:
3006         (WebInspector._panelDescriptors):
3007         * inspector/front-end/webGLPanel.css: Added.
3008         (.webgl-toggle-status-bar-item .glyph):
3009         (.webgl-toggle-status-bar-item.toggled-on .glyph):
3010         (.webgl-trace-logs-list):
3011         (.webgl-trace-log):
3012         (.webgl-trace-logs-list div, .webgl-trace-log div):
3013         (#webgl-capture-frame-button):
3014         (#webgl-replay-image-container):
3015         (#webgl-replay-image):
3016
3017 2012-08-28  Kentaro Hara  <haraken@chromium.org>
3018
3019         Unreviewed, rolling out r126852.
3020         http://trac.webkit.org/changeset/126852
3021         https://bugs.webkit.org/show_bug.cgi?id=94433
3022
3023         broke qt and mac tests
3024
3025         * bindings/js/ScheduledAction.cpp:
3026         (WebCore::ScheduledAction::create):
3027         * bindings/js/ScriptController.cpp:
3028         (WebCore::ScriptController::initScript):
3029         * bindings/v8/V8DOMWindowShell.cpp:
3030         (WebCore::V8DOMWindowShell::initializeIfNeeded):
3031         * bindings/v8/custom/V8DOMWindowCustom.cpp:
3032         (WebCore::WindowSetTimeoutImpl):
3033         * page/ContentSecurityPolicy.cpp:
3034         (CSPDirectiveList):
3035         (WebCore::CSPDirectiveList::reportViolation):
3036         (WebCore::CSPDirectiveList::checkEvalAndReportViolation):
3037         (WebCore::CSPDirectiveList::allowEval):
3038         (WebCore::ContentSecurityPolicy::didReceiveHeader):
3039         (WebCore):
3040         (WebCore::isAllowedByAllWithCallStack):
3041         (WebCore::ContentSecurityPolicy::allowEval):
3042         (WebCore::ContentSecurityPolicy::reportViolation):
3043         (WebCore::ContentSecurityPolicy::logToConsole):
3044         * page/ContentSecurityPolicy.h:
3045         (WebCore):
3046         * page/DOMSecurityPolicy.cpp:
3047         (WebCore::DOMSecurityPolicy::allowsEval):
3048
3049 2012-08-28  Mike West  <mkwst@chromium.org>
3050
3051         Add call stacks to Content Security Policy checks when relevant.
3052         https://bugs.webkit.org/show_bug.cgi?id=94433
3053
3054         Reviewed by Adam Barth.
3055
3056         Previously, we generated stack traces only for eval-related CSP
3057         violations. As it turns out, we can call createScriptCallStack from
3058         practically anywhere. This patch takes advantage of that to generate
3059         stack traces whenever a warning is logged to the console. If we're in
3060         a JavaScript stack, brilliant: we get a detailed warning. If not, the
3061         stack trace is empty, and we don't pass it into the console logging
3062         method.
3063
3064         This has the advantage of giving us good developer-facing logging for
3065         any and all violations that result from script-based injection of
3066         resources. Yay!
3067
3068         Tests: http/tests/inspector/csp-injected-content-warning-contains-stacktrace.html
3069                http/tests/inspector/csp-inline-warning-contains-stacktrace.html
3070
3071         * bindings/js/ScriptController.cpp:
3072         (WebCore::ScriptController::initScript):
3073         * bindings/js/ScheduledAction.cpp:
3074         (WebCore::ScheduledAction::create):
3075         * bindings/v8/V8DOMWindowShell.cpp:
3076         (WebCore::V8DOMWindowShell::initContextIfNeeded):
3077         * bindings/v8/custom/V8DOMWindowCustom.cpp:
3078         (WebCore::WindowSetTimeoutImpl):
3079             Dropping stack trace from call to ContentSecurityPolicy::allowEval.
3080         * page/ContentSecurityPolicy.cpp:
3081         (CSPDirectiveList):
3082         (WebCore::CSPDirectiveList::reportViolation):
3083         (WebCore::CSPDirectiveList::checkEvalAndReportViolation):
3084         (WebCore::CSPDirectiveList::allowEval):
3085             No longer piping a stack trace through CSPDirectiveList::allowEval
3086             to reportViolation.
3087         (WebCore::ContentSecurityPolicy::didReceiveHeader):
3088             Dropping stack trace from call to ContentSecurityPolicy::allowEval.
3089         (WebCore):
3090         (WebCore::isAllowedByAll):
3091         (WebCore::ContentSecurityPolicy::allowEval):
3092         (WebCore::ContentSecurityPolicy::reportViolation):
3093         (WebCore::ContentSecurityPolicy::logToConsole):
3094             No longer piping a stack trace through ContentSecurityPolicy down to
3095             the point where it would be logged. Instead, we simply generate the
3096             stack trace just before logging it, and only pass it to
3097             addConsoleMessage if it's non-empty.
3098         * page/ContentSecurityPolicy.h:
3099         (WebCore):
3100         * page/DOMSecurityPolicy.cpp:
3101         (WebCore::DOMSecurityPolicy::allowsEval):
3102             Dropping stack trace from call to ContentSecurityPolicy::allowEval.
3103
3104 2012-08-27  Andrey Kosyakov  <caseq@chromium.org>
3105
3106         Web Inspector: persist the state of glue records to parents button of Timeline panel
3107         https://bugs.webkit.org/show_bug.cgi?id=95091
3108
3109         Reviewed by Vsevolod Vlasov.
3110
3111         Add a setting for "Glue records" button on the timeline, use it to persist the state of the button.
3112
3113         * inspector/front-end/TimelinePanel.js:
3114         (WebInspector.TimelinePanel):
3115         (WebInspector.TimelinePanel.prototype._createStatusBarItems.get this):
3116         (WebInspector.TimelinePanel.prototype._createStatusBarItems):
3117
3118 2012-08-27  Taiju Tsuiki  <tzik@chromium.org>
3119
3120         Web Inspector: Add delete button to FileSystemView
3121         https://bugs.webkit.org/show_bug.cgi?id=93940
3122
3123         Reviewed by Vsevolod Vlasov.
3124
3125         Adding status bar button to allow user to delete entries in FileSystem
3126         for debugging use.
3127
3128         Test: http/tests/inspector/filesystem/delete-entry.html
3129
3130         * inspector/front-end/FileSystemModel.js:
3131         (WebInspector.FileSystemModel.prototype.requestFileContent):
3132         (WebInspector.FileSystemModel.prototype.deleteEntry.hookFileSystemDeletion):
3133         (WebInspector.FileSystemModel.prototype.deleteEntry):
3134         (WebInspector.FileSystemModel.prototype._removeFileSystem):
3135         (WebInspector.FileSystemModel.Entry.prototype.deleteEntry):
3136         (WebInspector.FileSystemRequestManager):
3137         (WebInspector.FileSystemRequestManager.prototype.deleteEntry.requestAccepted):
3138         (WebInspector.FileSystemRequestManager.prototype.deleteEntry):
3139         (WebInspector.FileSystemRequestManager.prototype._deletionCompleted):
3140         (WebInspector.FileSystemDispatcher.prototype.deletionCompleted):
3141         * inspector/front-end/FileSystemView.js:
3142         (WebInspector.FileSystemView):
3143         (WebInspector.FileSystemView.prototype.get statusBarItems):
3144         (WebInspector.FileSystemView.prototype._refresh):
3145         (WebInspector.FileSystemView.prototype._confirmDelete):
3146         (WebInspector.FileSystemView.prototype._delete):
3147         (WebInspector.FileSystemView.EntryTreeElement.prototype.deleteEntry):
3148         (WebInspector.FileSystemView.EntryTreeElement.prototype._deletionCompleted):
3149
3150 2012-08-27  Yoshifumi Inoue  <yosin@chromium.org>
3151
3152         [ShadowDOM] Shadow elements in the input element should be focusable.
3153         https://bugs.webkit.org/show_bug.cgi?id=95169
3154
3155         Reviewed by Kent Tamura.
3156
3157         This patch introduces new virtual function HTMLElement::hasCustomFocusLogic()
3158         to allow input type implementations to use shadow element with focus
3159         navigation.
3160
3161         No new tests. This patch doesn't change behavior.
3162
3163         (WebCore::HTMLElement::hasCustomFocusLogic): Added to return false as
3164         default value.
3165         * html/HTMLElement.h:
3166         (HTMLElement): Added a declaration of hasCustomFocusLogic().
3167         * html/HTMLInputElement.cpp:
3168         (WebCore::HTMLInputElement::hasCustomFocusLogic): Added to call InputType::hasCustomFocusLogic(),
3169         * html/HTMLInputElement.h:
3170         (HTMLInputElement): Added a declaration of hasCustomFocusLogic().
3171         * html/HTMLMediaElement.cpp:
3172         (WebCore::HTMLMediaElement::hasCustomFocusLogic): Added to return true for "audio" and "video" elements.
3173         * html/HTMLMediaElement.h:
3174         (HTMLMediaElement): Add a declaration of hasCustomFocusLogic()
3175         * html/HTMLTextAreaElement.cpp:
3176         (WebCore::HTMLTextAreaElement::hasCustomFocusLogic): Added to return true.
3177         * html/HTMLTextAreaElement.h:
3178         (HTMLTextAreaElement): Add a declaration of hasCustomFocusLogic().
3179         * page/FocusController.cpp:
3180         (WebCore::hasCustomFocusLogic): Changed to call HTMLElement::hasCustomFocusLogic()
3181         rather than checking tag names.
3182         * html/InputType.cpp:
3183         (WebCore::InputType::hasCustomFocusLogic): Added to return true as default value.
3184         * html/InputType.h:
3185         (InputType): Added a declaration of hasCustomFocusLogic().
3186
3187 2012-08-27  Beth Dakin  <bdakin@apple.com>
3188
3189         https://bugs.webkit.org/show_bug.cgi?id=94848
3190         When paged-x/y is specified on the root, columnGap is ignored, and garbage pixels 
3191         are likely
3192
3193         Reviewed by Dan Bernstein.
3194
3195         We used to call setPagination() from applyOverflowToViewport(), but that is too 
3196         late. We want to setPagination() before we actually lay anything out so that all 
3197         of the styles (including columnGap!) will be properly set on the RenderView. 
3198
3199         No longer handle pagination here since we take care of it in 
3200         applyPaginationToViewport()        
3201         * page/FrameView.cpp:
3202         (WebCore::FrameView::applyOverflowToViewport):
3203
3204         New function to call setPagination(). This function gets the appropriate renderer 
3205         and uses its RenderStyle to determine if pagination should be set.
3206         (WebCore::FrameView::applyPaginationToViewport):
3207         (WebCore):
3208
3209         Call applyPaginationToViewport() before the call to updateStyleIfNeeded().
3210         (WebCore::FrameView::layout):
3211
3212         This code was meant to prevent garbage pixels in column gaps for pagination on the 
3213         RenderView, but paintContents() does not always get called when we paint into 
3214         tiles, so I moved this code to RenderView.
3215         (WebCore::FrameView::paintContents):
3216         * page/FrameView.h:
3217         (FrameView):
3218
3219         The code from RenderView::paintContents() to prevent garbage pixels is moved here.
3220         * rendering/RenderView.cpp:
3221         (WebCore::RenderView::paint):
3222
3223 2012-08-27  Kent Tamura  <tkent@chromium.org>
3224
3225         REGRESSION(r109480): Form state for iframe content is not restored
3226         https://bugs.webkit.org/show_bug.cgi?id=90870
3227
3228         Reviewed by Jochen Eisinger.
3229
3230         Since r109480, we have restored form state only for documents
3231         loaded by FrameLoader::loadItem(). However we should restore form
3232         state for documents in sub-frames of documents loaded by
3233         FrameLoader::loadItem().
3234
3235         Test: fast/loader/form-state-restore-with-frames.html
3236
3237         * history/HistoryItem.cpp:
3238         (WebCore::HistoryItem::isAncestorOf):
3239         Added. A function to search descendants for the specified
3240         HistoryItem. This is used by isAssociatedToRequestedHistoryItem().
3241         * history/HistoryItem.h:
3242         (HistoryItem): Declare isAncestorOf().
3243         * loader/HistoryController.cpp:
3244         (WebCore::HistoryController::saveDocumentState):
3245         Don't save form state for detached document.
3246         This is needed because saveDocumentState() is called twice; before
3247         document detach and after document detach. We need to avoid the
3248         latter call because formElementsState() for a detached document
3249         produces an empty state.
3250         (WebCore::isAssociatedToRequestedHistoryItem):
3251         Added. This function checks the current HistoryItem is associated
3252         to the HistoryItem specified to FrameLoader::loadItem().
3253         (WebCore::HistoryController::restoreDocumentState):
3254         Uses isAssociatedToRequestedHistoryItem().
3255
3256 2012-08-27  Ian Vollick  <vollick@chromium.org>
3257
3258         [chromium] Should accelerate rotations of >= 180 degrees
3259         https://bugs.webkit.org/show_bug.cgi?id=94860
3260
3261         Reviewed by James Robinson.
3262
3263         WebTransformOperation now stores enough information to interpolate
3264         without resorting to WebTransformationMatrix::blend which is both
3265         expensive, and in the case of big rotations, error prone. For example,
3266         we now store the axis and angle for rotations, so if two rotations are
3267         interpolated, and they are about the same axis, we can simply
3268         interpolate the angles.
3269
3270         Unit tests:
3271           WebTransformOperationTest.transformTypesAreUnique
3272           WebTransformOperationTest.matchTypesSameLength
3273           WebTransformOperationTest.identityAlwaysMatches
3274           WebTransformOperationTest.largeRotationsWithSameAxis
3275           WebTransformOperationTest.largeRotationsWithSameAxisInDifferentDirection
3276           WebTransformOperationTest.largeRotationsWithDifferentAxes
3277           WebTransformOperationTest.blendRotationFromIdentity
3278           WebTransformOperationTest.blendTranslationFromIdentity
3279           WebTransformOperationTest.blendScaleFromIdentity
3280           WebTransformOperationTest.blendSkewFromIdentity
3281           WebTransformOperationTest.blendPerspectiveFromIdentity
3282           WebTransformOperationTest.blendRotationToIdentity
3283           WebTransformOperationTest.blendTranslationToIdentity
3284           WebTransformOperationTest.blendScaleToIdentity
3285           WebTransformOperationTest.blendSkewToIdentity
3286           WebTransformOperationTest.blendPerspectiveToIdentity
3287           AnimationTranslationUtilTest.createTransformAnimationWithBigRotation
3288           AnimationTranslationUtilTest.createTransformAnimationWithBigRotationAndEmptyTransformOperationList
3289
3290         * platform/chromium/support/WebTransformOperations.cpp:
3291         (std):
3292         (WebKit::WebTransformOperation::WebTransformOperation):
3293         (WebTransformOperation):
3294           Added x y z and angle.
3295         (WebKit::WebTransformOperation::isIdentity):
3296           Returns true if this->matrix.isIdentity()
3297         (WebKit::isIdentity):
3298           Returns true if the argument is null or ->isIdentity()
3299         (WebKit):
3300         (WebKit::shareSameAxis):
3301           A helper function that determines if two transform operations
3302           share the same axis. Also returns the axis and 'from' angle
3303           to use in the interpolation (in case the axes point in different
3304           directions).
3305         (WebKit::blendDoubles):
3306           Linearly interpolates doubles.
3307         (WebKit::blendTransformOperations):
3308           Blends two WebTransformOperation objects.
3309         (WebKit::WebTransformOperations::blend):
3310           Blends two WebTransformOperations objects, taking special care
3311           when either isIdentity().
3312         (WebKit::WebTransformOperations::matchesTypes):
3313           Was changed to reflect the fact that identity transform operations
3314           match anything.
3315         (WebKit::WebTransformOperations::appendTranslate):
3316         (WebKit::WebTransformOperations::appendRotate):
3317         (WebKit::WebTransformOperations::appendScale):
3318         (WebKit::WebTransformOperations::appendSkew):
3319         (WebKit::WebTransformOperations::appendPerspective):
3320         (WebKit::WebTransformOperations::appendIdentity):
3321           The 'append' functions all populate the new members in
3322           WebTransformOperation.
3323         (WebKit::WebTransformOperations::isIdentity):
3324           Returns false iff any of its transform operations !isIdentity().
3325         * platform/graphics/chromium/AnimationTranslationUtil.cpp:
3326         (WebCore::toWebTransformOperations):
3327         (WebCore::WebTransformAnimationCurve):
3328           Removed the >= 180 degree restriction.
3329
3330 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3331
3332         Unreviewed, rolling out r126836.
3333         http://trac.webkit.org/changeset/126836
3334         https://bugs.webkit.org/show_bug.cgi?id=95163
3335
3336         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
3337         #webkit).
3338
3339         * Modules/geolocation/Geolocation.cpp:
3340         (WebCore::Geolocation::Watchers::find):
3341         (WebCore::Geolocation::Watchers::remove):
3342         * Modules/indexeddb/IDBDatabase.cpp:
3343         (WebCore::IDBDatabase::objectStoreNames):
3344         * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
3345         (WebCore::IDBDatabaseBackendImpl::metadata):
3346         * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
3347         (WebCore::IDBFactoryBackendImpl::deleteDatabase):
3348         (WebCore::IDBFactoryBackendImpl::openBackingStore):
3349         (WebCore::IDBFactoryBackendImpl::open):
3350         * Modules/indexeddb/IDBObjectStore.cpp:
3351         (WebCore::IDBObjectStore::indexNames):
3352         (WebCore::IDBObjectStore::put):
3353         (WebCore::IDBObjectStore::index):
3354         (WebCore::IDBObjectStore::deleteIndex):
3355         * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
3356         (WebCore::IDBObjectStoreBackendImpl::metadata):
3357         (WebCore::makeIndexWriters):
3358         (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
3359         * Modules/indexeddb/IDBTransaction.cpp:
3360         (WebCore::IDBTransaction::objectStore):
3361         (WebCore::IDBTransaction::objectStoreDeleted):
3362         (WebCore::IDBTransaction::onAbort):
3363         (WebCore::IDBTransaction::dispatchEvent):
3364         * Modules/webdatabase/AbstractDatabase.cpp:
3365         (WebCore::AbstractDatabase::performOpenAndVerify):
3366         * Modules/webdatabase/DatabaseTracker.cpp:
3367         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
3368         * Modules/webdatabase/OriginUsageRecord.cpp:
3369         (WebCore::OriginUsageRecord::diskUsage):
3370         * Modules/webdatabase/SQLTransactionCoordinator.cpp:
3371         (WebCore::SQLTransactionCoordinator::acquireLock):
3372         (WebCore::SQLTransactionCoordinator::releaseLock):
3373         (WebCore::SQLTransactionCoordinator::shutdown):
3374         * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
3375         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
3376         * Modules/webdatabase/chromium/QuotaTracker.cpp:
3377         (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
3378         (WebCore::QuotaTracker::updateDatabaseSize):
3379         * Modules/websockets/WebSocketDeflateFramer.cpp:
3380         (WebCore::WebSocketExtensionDeflateFrame::processResponse):
3381         * Modules/websockets/WebSocketExtensionDispatcher.cpp:
3382         (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
3383         * accessibility/AXObjectCache.cpp:
3384         (WebCore::AXObjectCache::~AXObjectCache):
3385         * bindings/gobject/DOMObjectCache.cpp:
3386         (WebKit::DOMObjectCache::clearByFrame):
3387         * bindings/js/DOMObjectHashTableMap.h:
3388         (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
3389         (WebCore::DOMObjectHashTableMap::get):
3390         * bindings/js/JSDOMBinding.cpp:
3391         (WebCore::cacheDOMStructure):
3392         * bindings/js/JSDOMGlobalObject.cpp:
3393         (WebCore::JSDOMGlobalObject::visitChildren):
3394         * bindings/js/JSDOMGlobalObject.h:
3395         (WebCore::getDOMConstructor):
3396         * bindings/js/PageScriptDebugServer.cpp:
3397         (WebCore::PageScriptDebugServer::addListener):
3398         (WebCore::PageScriptDebugServer::removeListener):
3399         * bindings/js/ScriptCachedFrameData.cpp:
3400         (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
3401         (WebCore::ScriptCachedFrameData::restore):
3402         * bindings/js/ScriptController.cpp:
3403         (WebCore::ScriptController::~ScriptController):
3404         (WebCore::ScriptController::clearWindowShell):
3405         (WebCore::ScriptController::attachDebugger):
3406         (WebCore::ScriptController::updateDocument):
3407         (WebCore::ScriptController::createRootObject):
3408         (WebCore::ScriptController::collectIsolatedContexts):
3409         (WebCore::ScriptController::cleanupScriptObjectsForPlugin):