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