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