Micro-optimize RenderBoxModelObject::computedCSSPadding().
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-01-17  Andreas Kling  <akling@apple.com>
2
3         Micro-optimize RenderBoxModelObject::computedCSSPadding().
4         <https://webkit.org/b/127208>
5
6         Make computedCSSPadding() take the Length as a const reference
7         to avoid creating a temporary copy. This was showing up (0.2%)
8         on DoYouEvenBench.
9
10         Reviewed by Anders Carlsson.
11
12         * rendering/RenderBoxModelObject.h:
13         * rendering/RenderBoxModelObject.cpp:
14         (WebCore::RenderBoxModelObject::computedCSSPadding):
15
16 2014-01-17  Anders Carlsson  <andersca@apple.com>
17
18         Add a callOnMainThreadAndWait variant in SocketStreamHandle
19         https://bugs.webkit.org/show_bug.cgi?id=127180
20
21         Reviewed by Geoffrey Garen.
22
23         WTF::callOnMainThreadAndWait was only used inside SocketStreamHandleCFNet.cpp, 
24         so add an improved version there which is implemented in terms of callOnMainThread and
25         with the bonus of handling spurious wake-ups correctly (the old version didn't).
26
27         * platform/network/cf/SocketStreamHandle.h:
28         * platform/network/cf/SocketStreamHandleCFNet.cpp:
29         (WebCore::callOnMainThreadAndWait):
30         (WebCore::SocketStreamHandle::pacExecutionCallback):
31         (WebCore::SocketStreamHandle::readStreamCallback):
32         (WebCore::SocketStreamHandle::writeStreamCallback):
33
34 2014-01-17  Anders Carlsson  <andersca@apple.com>
35
36         Clean up PageCache classes
37         https://bugs.webkit.org/show_bug.cgi?id=127202
38
39         Reviewed by Andreas Kling.
40
41         * WebCore.exp.in:
42         * history/CachedFrame.cpp:
43         (WebCore::CachedFrameBase::~CachedFrameBase):
44         (WebCore::CachedFrame::CachedFrame):
45         (WebCore::CachedFrame::clear):
46         (WebCore::CachedFrame::setCachedFramePlatformData):
47         * history/CachedFrame.h:
48         * history/CachedPage.cpp:
49         (WebCore::CachedPage::CachedPage):
50         * history/CachedPage.h:
51         * history/HistoryItem.h:
52         (WebCore::HistoryItem::isInPageCache):
53         * history/PageCache.cpp:
54         (WebCore::PageCache::add):
55         (WebCore::PageCache::take):
56         (WebCore::PageCache::remove):
57         * history/PageCache.h:
58         * loader/FrameLoader.cpp:
59         (WebCore::FrameLoader::commitProvisionalLoad):
60         * loader/HistoryController.cpp:
61         (WebCore::HistoryController::invalidateCurrentItemCachedPage):
62
63 2014-01-17  Andy Estes  <aestes@apple.com>
64
65         Work around a preprocessor warning in mediaControlsApple.js
66         https://bugs.webkit.org/show_bug.cgi?id=127204
67
68         Reviewed by Dan Bernstein.
69
70         * Modules/mediacontrols/mediaControlsApple.js: Changed '' to String().
71
72 2014-01-17  Daniel Bates  <dabates@apple.com>
73
74         Fix the iOS build after <http://trac.webkit.org/changeset/162184>
75         (https://bugs.webkit.org/show_bug.cgi?id=126856)
76
77         Remove symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(unsigned short const*, int).
78         Add symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView).
79
80         * WebCore.exp.in:
81
82 2014-01-17  Andreas Kling  <akling@apple.com>
83
84         Remove unused TOUCH_ADJUSTMENT code.
85         <https://webkit.org/b/127181>
86
87         There are no ports using the ENABLE(TOUCH_ADJUSTMENT) feature
88         anymore, so nuke it from orbit.
89
90         Reviewed by Anders Carlsson.
91
92         * page/EventHandler.cpp:
93         * page/EventHandler.h:
94         * page/Settings.in:
95         * page/TouchAdjustment.cpp: Removed.
96         * page/TouchAdjustment.h: Removed.
97         * testing/Internals.cpp:
98         * testing/Internals.h:
99         * testing/Internals.idl:
100
101 2014-01-17  Beth Dakin  <bdakin@apple.com>
102
103         Need a way to test the tile cache with margins enabled
104         https://bugs.webkit.org/show_bug.cgi?id=127194
105         -and corresponding-
106         <rdar://problem/15571327>
107
108         Reviewed by Tim Horton.
109
110         This patch adds a new function to InternalSettings that will allow layout tests to 
111         flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also         
112         makes changing that setting take effect immediately. 
113
114         To make this setting dynamic, we can no longer generate the Setting function, so 
115         we have to export the symbol manually.
116         * WebCore.exp.in:
117
118         This new function on FrameView will call into RenderLayerBacking to add or remove 
119         margins.
120         * page/FrameView.cpp:
121         (WebCore::FrameView::setBackgroundExtendsBeyondPage):
122         * page/FrameView.h:
123
124         Again, we’re no longer using the boiler-plate generated Setting functions, so now 
125         we can call into FrameView to make the background extend.
126         * page/Settings.cpp:
127         (WebCore::Settings::Settings):
128         (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
129         * page/Settings.h:
130         (WebCore::Settings::backgroundShouldExtendBeyondPage):
131         * page/Settings.in:
132
133         Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change 
134         dynamic.
135         * platform/graphics/ca/mac/TileController.mm:
136         (WebCore::TileController::setTileMargins):
137
138         Move the call to TiledBacking::setTileMargins() into a helper function so that the 
139         same code can be used for FrameView.
140         * rendering/RenderLayerBacking.cpp:
141         (WebCore::RenderLayerBacking::RenderLayerBacking):
142         (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
143         * rendering/RenderLayerBacking.h:
144
145         New InternalSetting.
146         * testing/InternalSettings.cpp:
147         (WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
148         * testing/InternalSettings.h:
149         * testing/InternalSettings.idl:
150
151 2014-01-17  Anders Carlsson  <andersca@apple.com>
152
153         Remove another unused FrameLoaderClient callback
154         https://bugs.webkit.org/show_bug.cgi?id=127192
155
156         Reviewed by Dan Bernstein.
157
158         FrameLoaderClient::dispatchDocumentElementAvailable() was only used by the Chromium port, so remove it.
159
160         * html/ImageDocument.cpp:
161         (WebCore::ImageDocument::createDocumentStructure):
162         * html/MediaDocument.cpp:
163         (WebCore::MediaDocumentParser::createDocumentStructure):
164         * html/PluginDocument.cpp:
165         (WebCore::PluginDocumentParser::createDocumentStructure):
166         * html/parser/HTMLConstructionSite.cpp:
167         (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
168         * loader/EmptyClients.h:
169         * loader/FrameLoader.cpp:
170         * loader/FrameLoader.h:
171         * loader/FrameLoaderClient.h:
172         * xml/parser/XMLDocumentParserLibxml2.cpp:
173         (WebCore::XMLDocumentParser::startElementNs):
174
175 2014-01-17  Anders Carlsson  <andersca@apple.com>
176
177         Remove FrameLoaderClient::didPerformFirstNavigation()
178         https://bugs.webkit.org/show_bug.cgi?id=127191
179
180         Reviewed by Dan Bernstein.
181
182         * loader/EmptyClients.h:
183         * loader/FrameLoader.cpp:
184         (WebCore::FrameLoader::FrameLoader):
185         * loader/FrameLoader.h:
186         * loader/FrameLoaderClient.h:
187         * loader/HistoryController.cpp:
188         (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
189
190 2014-01-17  Anders Carlsson  <andersca@apple.com>
191
192         Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
193         https://bugs.webkit.org/show_bug.cgi?id=127189
194
195         Reviewed by Dan Bernstein.
196
197         * loader/FrameLoaderClient.h:
198         (WebCore::FrameLoaderClient::didPerformFirstNavigation):
199         Add an empty implementation of didPerformFirstNavigation() to make it easier to remove it from subclasses.
200
201 2014-01-17  Eric Carlson  <eric.carlson@apple.com>
202
203         [iOS] HTMLMediaSession should set AudioSession category
204         https://bugs.webkit.org/show_bug.cgi?id=127137
205
206         Reviewed by Sam Weinig.
207
208         * html/HTMLMediaSession.cpp:
209         (WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
210         (WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.
211
212 2014-01-17  Daniel Bates  <dabates@apple.com>
213
214         Fix the iOS build after <http://trac.webkit.org/changeset/162178>
215         (https://bugs.webkit.org/show_bug.cgi?id=127147)
216
217         Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
218         "Objective-C declarations may only appear in global scope".
219
220         * platform/audio/ios/MediaSessionManagerIOS.mm:
221
222 2014-01-17  Bem Jones-Bey  <bjonesbe@adobe.com>
223
224         [CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
225         https://bugs.webkit.org/show_bug.cgi?id=122576
226
227         Reviewed by David Hyatt.
228
229         Make inline content interact with stacked floats with shape-outside
230         per the spec. This means that content can interact with floats on the
231         line that are not the outermost float.
232
233         This refactors ComputeFloatOffsetAdapter into a superclass and two
234         subclasses: one adaptor for determining the offset for float layout,
235         and one for determining the offset for inline layout.
236
237         The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
238         been updated to handle stacked floats with shape-outside properly and
239         has been considerably simplified in the process. It was previously
240         doing a whole bunch of unnecessary work.
241
242         Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
243                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
244                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html
245
246         * rendering/FloatingObjects.cpp:
247         (WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
248         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
249         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
250         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
251         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
252         (WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
253         (WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
254         (WebCore::FloatingObjects::logicalLeftOffset):
255         (WebCore::FloatingObjects::logicalRightOffset):
256         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
257         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
258         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
259         (WebCore::shapeInfoForFloat):
260         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
261         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
262         * rendering/line/LineWidth.cpp:
263         (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
264         * rendering/shapes/ShapeOutsideInfo.cpp:
265         (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
266         * rendering/shapes/ShapeOutsideInfo.h:
267
268 2014-01-17  Zoltan Horvath  <zoltan@webkit.org>
269
270         [CSS3] Add rendering support for -webkit-text-align-last
271         https://bugs.webkit.org/show_bug.cgi?id=99584
272
273         Reviewed by David Hyatt.
274
275         Add support for the text-align-last CSS3 property, according to the latest specification:
276         http://dev.w3.org/csswg/css-text-3/#text-align-last-property
277
278         Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
279                fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html
280
281         * rendering/RenderBlockLineLayout.cpp:
282         (WebCore::RenderBlockFlow::textAlignmentForLine):
283         * rendering/style/RenderStyle.cpp:
284         (WebCore::RenderStyle::changeRequiresLayout):
285
286 2014-01-17  Daniel Bates  <dabates@apple.com>
287
288         Fix the iOS build after <http://trac.webkit.org/changeset/162208>
289         (https://bugs.webkit.org/show_bug.cgi?id=127139)
290
291         __MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
292         check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.
293
294         * platform/network/cf/CookieJarCFNet.cpp:
295
296 2014-01-17  Bear Travis  <betravis@adobe.com>
297
298         [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
299         https://bugs.webkit.org/show_bug.cgi?id=127010
300
301         Reviewed by Rob Buis.
302
303         This patch updates the computed position values used for blending to be a horizontal
304         left offset and a vertical top offset. When positions include a center, bottom, or
305         right position offset, it is converted to the appropriate top/left coordinate as
306         a calc expression. Serialized values still use the original bottom/right directions
307         when present, and also omit the top/left keywords where possible.
308
309         Updated parsing and animation tests.
310
311         * css/BasicShapeFunctions.cpp:
312         (WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
313         which includes an offset and whether the direction is from the top/left or bottom/right.
314         (WebCore::valueForBasicShape): Ditto.
315         (WebCore::convertToCenterCoordinate): Ditto.
316         (WebCore::basicShapeForValue): Ditto.
317         (WebCore::floatValueForCenterCoordinate): Ditto.
318         * page/animation/CSSPropertyAnimation.cpp:
319         (WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
320         * rendering/style/BasicShapes.cpp:
321         (WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
322         position offset for this center coordinate.
323         (WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
324         (WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
325         (WebCore::BasicShapeCircle::blend): Ditto.
326         (WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
327         (WebCore::BasicShapeEllipse::blend): Ditto.
328         (WebCore::BasicShapePolygon::blend): Ditto.
329         (WebCore::BasicShapeInsetRectangle::blend): Ditto.
330         (WebCore::BasicShapeInset::blend): Ditto.
331         * rendering/style/BasicShapes.h:
332         (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
333         BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
334         computed length, which is an offset from the top/left direction.
335         (WebCore::BasicShapeCenterCoordinate::direction):
336         (WebCore::BasicShapeCenterCoordinate::computedLength):
337         (WebCore::BasicShapeCenterCoordinate::blend):
338
339 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
340
341         More non-Mac build fix.
342
343         * platform/network/cf/CookieJarCFNet.cpp:
344
345 2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
346
347         Unprefix text-emphasis CSS properties
348         https://bugs.webkit.org/show_bug.cgi?id=127160
349
350         Reviewed by Sam Weinig.
351
352         Add synonym CSS properties. We don't want to delete the old ones because
353         we've shipped with them included.
354
355         Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
356
357         * css/CSSPropertyNames.in:
358
359 2014-01-17  Alberto Garcia  <berto@igalia.com>
360
361         [GTK] WebKitGtk/testcopyandpaste fails in debug builds
362         https://bugs.webkit.org/show_bug.cgi?id=127173
363
364         Reviewed by Carlos Garcia Campos.
365
366         Remove duplicate "PasteGlobalSelection" entry.
367
368         * editing/EditorCommand.cpp:
369         (WebCore::createCommandMap):
370
371 2014-01-14  Andreas Kling  <akling@apple.com>
372
373         Pack ResourceRequest harder.
374         <https://webkit.org/b/126982>
375
376         Re-arrange the members of ResourceRequest to reduce padding,
377         shrinking it by 8 bytes.
378
379         Reviewed by Anders Carlsson.
380
381         * platform/network/ResourceRequestBase.h:
382         (WebCore::ResourceRequestBase::ResourceRequestBase):
383
384 2014-01-17  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
385
386         Remove workaround for compilers not supporting deleted functions
387         https://bugs.webkit.org/show_bug.cgi?id=127166
388
389         Reviewed by Andreas Kling.
390
391         * bindings/js/JSLazyEventListener.h:
392         * dom/ContainerNode.h:
393         * dom/Document.h:
394         * dom/Element.h:
395         * rendering/InlineFlowBox.h:
396         * rendering/InlineTextBox.h:
397         * rendering/RenderButton.h:
398         * rendering/RenderCombineText.h:
399         * rendering/RenderElement.h:
400         * rendering/RenderFieldset.h:
401         * rendering/RenderFileUploadControl.h:
402         * rendering/RenderFrame.h:
403         * rendering/RenderFrameBase.h:
404         * rendering/RenderFrameSet.h:
405         * rendering/RenderHTMLCanvas.h:
406         * rendering/RenderIFrame.h:
407         * rendering/RenderLineBreak.h:
408         * rendering/RenderListBox.h:
409         * rendering/RenderListMarker.h:
410         * rendering/RenderMedia.h:
411         * rendering/RenderMenuList.h:
412         * rendering/RenderSnapshottedPlugIn.h:
413         * rendering/RenderTableCell.h:
414         * rendering/RenderTableRow.h:
415         * rendering/RenderTableSection.h:
416         * rendering/RenderText.h:
417         * rendering/RenderTextControl.h:
418         * rendering/RenderTextControlMultiLine.h:
419         * rendering/RenderTextControlSingleLine.h:
420         * rendering/RenderVideo.h:
421         * rendering/RenderWidget.h:
422         * rendering/svg/RenderSVGBlock.h:
423         * rendering/svg/RenderSVGForeignObject.h:
424         * rendering/svg/RenderSVGImage.h:
425         * rendering/svg/RenderSVGInline.h:
426         * rendering/svg/RenderSVGRect.h:
427         * rendering/svg/RenderSVGResourceClipper.h:
428         * rendering/svg/RenderSVGResourceFilter.h:
429         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
430         * rendering/svg/RenderSVGResourceGradient.h:
431         * rendering/svg/RenderSVGResourceLinearGradient.h:
432         * rendering/svg/RenderSVGResourceMarker.h:
433         * rendering/svg/RenderSVGResourceMasker.h:
434         * rendering/svg/RenderSVGResourcePattern.h:
435         * rendering/svg/RenderSVGResourceRadialGradient.h:
436         * rendering/svg/RenderSVGRoot.h:
437         * rendering/svg/RenderSVGShape.h:
438         * rendering/svg/RenderSVGTSpan.h:
439         * rendering/svg/RenderSVGText.h:
440         * rendering/svg/RenderSVGTextPath.h:
441         * rendering/svg/RenderSVGTransformableContainer.h:
442         * rendering/svg/RenderSVGViewportContainer.h:
443         * xml/XPathValue.h:
444
445 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
446
447         [ATK] Modernize the for loops in ATK AX code
448         https://bugs.webkit.org/show_bug.cgi?id=127120
449
450         Reviewed by Mario Sanchez Prada.
451
452         Update the for loops to be range-based in ATK accessibility code.
453         This work is complementary to r161979.
454
455         * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
456         (webkitAccessibleHypertextGetLink):
457         * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
458         (webkitAccessibleTableGetColumnHeader):
459         (webkitAccessibleTableGetRowHeader):
460         * accessibility/atk/WebKitAccessibleUtil.cpp:
461         (accessibilityTitle):
462         (accessibilityDescription):
463         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
464         (getNChildrenForTable):
465         (getChildForTable):
466         (getIndexInParentForCellInRow):
467
468 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
469
470         [Soup] Remove unnecessary using-directives for the std namespace
471         https://bugs.webkit.org/show_bug.cgi?id=127122
472
473         Reviewed by Martin Robinson.
474
475         * platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
476         as no symbols from that namespace are in use in this implementation file.
477         * platform/network/soup/ResourceResponseSoup.cpp: Ditto.
478
479 2014-01-16  Tim Horton  <timothy_horton@apple.com>
480
481         On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
482         https://bugs.webkit.org/show_bug.cgi?id=126531
483         <rdar://problem/15745862>
484
485         Reviewed by Anders Carlsson.
486
487         * platform/graphics/ca/mac/TileController.h:
488         * platform/graphics/ca/mac/TileController.mm:
489         (WebCore::TileController::tilesWouldChangeForVisibleRect):
490         (WebCore::TileController::scaledExposedRect):
491         (WebCore::TileController::computeTileCoverageRect):
492         (WebCore::TileController::revalidateTiles):
493         (WebCore::TileController::updateTileCoverageMap):
494         Scale the FrameView-space exposedRect into document space, to match the visibleRect.
495
496         Flipping on WKView's clipsToExposedRect now works correctly even in Safari
497         or MiniBrowser with zooming.
498
499 2014-01-15  Sam Weinig  <sam@webkit.org>
500
501         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
502         https://bugs.webkit.org/show_bug.cgi?id=126856
503
504         Reviewed by Ryosuke Niwa.
505
506         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
507         now unnecessary up-conversions to UTF-16 in the process.
508
509         * dom/CharacterData.cpp:
510         * editing/TextCheckingHelper.cpp:
511         * editing/VisibleUnits.cpp:
512         * platform/graphics/StringTruncator.cpp:
513         * platform/graphics/mac/ComplexTextController.cpp:
514         * platform/text/TextBoundaries.cpp:
515         * platform/text/TextBreakIterator.cpp:
516         * platform/text/TextBreakIterator.h:
517         * rendering/RenderText.cpp:
518
519 2014-01-16  Anders Carlsson  <andersca@apple.com>
520
521         Run clang-modernize and let it add a bunch of missing overrides.
522
523         Rubber-stamped by Sam Weinig.
524
525         * dom/BeforeLoadEvent.h:
526         * dom/ClassNodeList.h:
527         * dom/Comment.h:
528         * dom/CompositionEvent.h:
529         * dom/DecodedDataDocumentParser.h:
530         * dom/DeviceMotionEvent.h:
531         * dom/DeviceOrientationEvent.h:
532         * dom/DocumentMarker.cpp:
533         * dom/DocumentType.h:
534         * dom/EntityReference.h:
535         * dom/FocusEvent.h:
536         * dom/HashChangeEvent.h:
537         * dom/MessageEvent.h:
538         * dom/MouseEvent.h:
539         * dom/MouseRelatedEvent.h:
540         * dom/MutationEvent.h:
541         * dom/NameNodeList.h:
542         * dom/Notation.h:
543         * dom/OverflowEvent.h:
544         * dom/PendingScript.h:
545         * dom/PopStateEvent.h:
546         * dom/ProcessingInstruction.h:
547         * dom/ScriptElement.h:
548         * dom/ScriptExecutionContext.cpp:
549         * dom/ScriptableDocumentParser.h:
550         * dom/ScriptedAnimationController.h:
551         * dom/StringCallback.cpp:
552         * dom/WheelEvent.h:
553         * html/FTPDirectoryDocument.h:
554         * html/FileInputType.cpp:
555         * html/HTMLAppletElement.h:
556         * html/HTMLBRElement.h:
557         * html/HTMLBaseElement.h:
558         * html/HTMLBodyElement.h:
559         * html/HTMLButtonElement.h:
560         * html/HTMLDocument.h:
561         * html/HTMLEmbedElement.h:
562         * html/HTMLFormControlsCollection.h:
563         * html/HTMLFrameElement.h:
564         * html/HTMLFrameSetElement.h:
565         * html/HTMLHRElement.h:
566         * html/HTMLIFrameElement.h:
567         * html/HTMLKeygenElement.cpp:
568         * html/HTMLKeygenElement.h:
569         * html/HTMLLinkElement.h:
570         * html/HTMLMarqueeElement.h:
571         * html/HTMLObjectElement.h:
572         * html/HTMLOutputElement.h:
573         * html/HTMLParamElement.h:
574         * html/HTMLScriptElement.h:
575         * html/HTMLStyleElement.h:
576         * html/HTMLSummaryElement.h:
577         * html/HTMLTrackElement.h:
578         * html/HTMLViewSourceDocument.h:
579         * html/ImageDocument.cpp:
580         * html/ImageDocument.h:
581         * html/MediaDocument.cpp:
582         * html/MediaDocument.h:
583         * html/MediaKeyEvent.h:
584         * html/PluginDocument.cpp:
585         * html/RadioNodeList.h:
586         * html/TextDocument.h:
587         * html/canvas/EXTDrawBuffers.h:
588         * html/canvas/EXTTextureFilterAnisotropic.h:
589         * html/canvas/OESElementIndexUint.h:
590         * html/canvas/OESStandardDerivatives.h:
591         * html/canvas/OESTextureFloat.h:
592         * html/canvas/OESTextureFloatLinear.h:
593         * html/canvas/OESTextureHalfFloat.h:
594         * html/canvas/OESTextureHalfFloatLinear.h:
595         * html/canvas/OESVertexArrayObject.h:
596         * html/canvas/WebGLBuffer.h:
597         * html/canvas/WebGLCompressedTextureATC.h:
598         * html/canvas/WebGLCompressedTexturePVRTC.h:
599         * html/canvas/WebGLCompressedTextureS3TC.h:
600         * html/canvas/WebGLContextEvent.h:
601         * html/canvas/WebGLContextObject.h:
602         * html/canvas/WebGLDebugRendererInfo.h:
603         * html/canvas/WebGLDebugShaders.h:
604         * html/canvas/WebGLDepthTexture.h:
605         * html/canvas/WebGLFramebuffer.cpp:
606         * html/canvas/WebGLFramebuffer.h:
607         * html/canvas/WebGLLoseContext.h:
608         * html/canvas/WebGLProgram.h:
609         * html/canvas/WebGLRenderbuffer.h:
610         * html/canvas/WebGLRenderingContext.cpp:
611         * html/canvas/WebGLRenderingContext.h:
612         * html/canvas/WebGLShader.h:
613         * html/canvas/WebGLSharedObject.h:
614         * html/canvas/WebGLTexture.h:
615         * html/canvas/WebGLVertexArrayObjectOES.h:
616         * html/parser/HTMLDocumentParser.h:
617         * html/parser/HTMLViewSourceParser.h:
618         * html/shadow/DetailsMarkerControl.h:
619         * html/shadow/MediaControls.h:
620         * html/shadow/MediaControlsApple.h:
621         * html/shadow/MeterShadowElement.h:
622         * html/shadow/ProgressShadowElement.h:
623         * html/shadow/SliderThumbElement.h:
624         * html/track/LoadableTextTrack.h:
625         * html/track/TrackEvent.h:
626         * svg/SVGAElement.h:
627         * svg/SVGAnimateColorElement.h:
628         * svg/SVGAnimateElement.h:
629         * svg/SVGAnimateMotionElement.h:
630         * svg/SVGAnimateTransformElement.h:
631         * svg/SVGAnimationElement.h:
632         * svg/SVGCircleElement.h:
633         * svg/SVGClipPathElement.h:
634         * svg/SVGComponentTransferFunctionElement.h:
635         * svg/SVGCursorElement.h:
636         * svg/SVGDefsElement.h:
637         * svg/SVGDescElement.h:
638         * svg/SVGEllipseElement.h:
639         * svg/SVGFEBlendElement.h:
640         * svg/SVGFEColorMatrixElement.h:
641         * svg/SVGFEComponentTransferElement.h:
642         * svg/SVGFECompositeElement.h:
643         * svg/SVGFEConvolveMatrixElement.h:
644         * svg/SVGFEDiffuseLightingElement.h:
645         * svg/SVGFEDisplacementMapElement.h:
646         * svg/SVGFEDistantLightElement.h:
647         * svg/SVGFEDropShadowElement.h:
648         * svg/SVGFEFloodElement.h:
649         * svg/SVGFEGaussianBlurElement.h:
650         * svg/SVGFEImageElement.h:
651         * svg/SVGFELightElement.h:
652         * svg/SVGFEMergeElement.h:
653         * svg/SVGFEMergeNodeElement.h:
654         * svg/SVGFEMorphologyElement.h:
655         * svg/SVGFEOffsetElement.h:
656         * svg/SVGFEPointLightElement.h:
657         * svg/SVGFESpecularLightingElement.h:
658         * svg/SVGFESpotLightElement.h:
659         * svg/SVGFETileElement.h:
660         * svg/SVGFETurbulenceElement.h:
661         * svg/SVGFilterElement.h:
662         * svg/SVGFilterPrimitiveStandardAttributes.h:
663         * svg/SVGFontData.h:
664         * svg/SVGForeignObjectElement.h:
665         * svg/SVGGlyphElement.h:
666         * svg/SVGGlyphRefElement.h:
667         * svg/SVGGradientElement.h:
668         * svg/SVGHKernElement.h:
669         * svg/SVGImageElement.h:
670         * svg/SVGImageLoader.h:
671         * svg/SVGLineElement.h:
672         * svg/SVGLinearGradientElement.h:
673         * svg/SVGMPathElement.h:
674         * svg/SVGMarkerElement.h:
675         * svg/SVGMaskElement.h:
676         * svg/SVGMissingGlyphElement.h:
677         * svg/SVGPathBuilder.h:
678         * svg/SVGPathByteStreamBuilder.h:
679         * svg/SVGPathByteStreamSource.h:
680         * svg/SVGPathElement.h:
681         * svg/SVGPathSegArcAbs.h:
682         * svg/SVGPathSegArcRel.h:
683         * svg/SVGPathSegClosePath.h:
684         * svg/SVGPathSegCurvetoCubicAbs.h:
685         * svg/SVGPathSegCurvetoCubicRel.h:
686         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
687         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
688         * svg/SVGPathSegCurvetoQuadraticAbs.h:
689         * svg/SVGPathSegCurvetoQuadraticRel.h:
690         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
691         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
692         * svg/SVGPathSegLinetoAbs.h:
693         * svg/SVGPathSegLinetoHorizontalAbs.h:
694         * svg/SVGPathSegLinetoHorizontalRel.h:
695         * svg/SVGPathSegLinetoRel.h:
696         * svg/SVGPathSegLinetoVerticalAbs.h:
697         * svg/SVGPathSegLinetoVerticalRel.h:
698         * svg/SVGPathSegListBuilder.h:
699         * svg/SVGPathSegListSource.h:
700         * svg/SVGPathSegMovetoAbs.h:
701         * svg/SVGPathSegMovetoRel.h:
702         * svg/SVGPathStringSource.h:
703         * svg/SVGPathTraversalStateBuilder.h:
704         * svg/SVGPatternElement.h:
705         * svg/SVGPolyElement.h:
706         * svg/SVGRadialGradientElement.h:
707         * svg/SVGRectElement.h:
708         * svg/SVGSVGElement.h:
709         * svg/SVGScriptElement.h:
710         * svg/SVGStopElement.h:
711         * svg/SVGStyleElement.h:
712         * svg/SVGSwitchElement.h:
713         * svg/SVGSymbolElement.h:
714         * svg/SVGTRefElement.h:
715         * svg/SVGTSpanElement.h:
716         * svg/SVGTextContentElement.h:
717         * svg/SVGTextElement.h:
718         * svg/SVGTextPathElement.h:
719         * svg/SVGTextPositioningElement.h:
720         * svg/SVGTitleElement.h:
721         * svg/SVGUseElement.h:
722         * svg/SVGVKernElement.h:
723         * svg/SVGViewElement.h:
724         * svg/SVGZoomEvent.h:
725         * svg/animation/SVGSMILElement.cpp:
726         * svg/animation/SVGSMILElement.h:
727         * svg/graphics/SVGImageChromeClient.h:
728         * svg/graphics/filters/SVGFEImage.h:
729         * svg/graphics/filters/SVGFilter.h:
730         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
731         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
732         * svg/properties/SVGPathSegListPropertyTearOff.h:
733
734 2014-01-16  Jer Noble  <jer.noble@apple.com>
735
736         REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
737         https://bugs.webkit.org/show_bug.cgi?id=127147
738
739         Reviewed by Eric Carlson.
740
741         Reset the MediaSessionManager's restrictions to their default values before
742         each run.
743
744         Add a new virtual method "resetRestrictions()" so that each port-specific
745         MediaSessionManager can reset the restrictions to their default values.
746         Call this from Internals::resetToConsistentState() so that tests which change
747         the restrictions don't affect later tests.
748
749         * platform/audio/MediaSessionManager.cpp:
750         (WebCore::MediaSessionManager::MediaSessionManager):
751         (WebCore::MediaSessionManager::resetRestrictions):
752         * platform/audio/MediaSessionManager.h:
753         (WebCore::MediaSessionManager::~MediaSessionManager):
754         * platform/audio/ios/MediaSessionManagerIOS.h:
755         * platform/audio/ios/MediaSessionManagerIOS.mm:
756         (WebCore::MediaSessionManageriOS::resetRestrictions):
757         * testing/Internals.cpp:
758         (WebCore::Internals::resetToConsistentState):
759
760 2014-01-16  Alex Christensen  <achristensen@webkit.org>
761
762         Compile fix for WinCairo after r162138.
763         https://bugs.webkit.org/show_bug.cgi?id=127140
764
765         Reviewed by Beth Dakin.
766
767         * page/FrameView.cpp:
768         (WebCore::FrameView::extendedBackgroundRect):
769         Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.
770
771 2014-01-16  Brady Eidson  <beidson@apple.com>
772
773         IDB: delete object store support
774         <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
775
776         Reviewed by Alexey Proskuryakov.
777
778         * Modules/indexeddb/IDBTransactionBackendOperations.h:
779         (WebCore::DeleteObjectStoreOperation::transaction):
780
781 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
782
783         More non-Mac build fix.
784
785         * platform/network/cf/CookieJarCFNet.cpp:
786         (WebCore::copyCookiesForURLWithFirstPartyURL):
787
788 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
789
790         Build fix.
791
792         * platform/network/cf/CookieJarCFNet.cpp: Remove a spurious semicolon.
793
794 2014-01-16  Andy Estes  <aestes@apple.com>
795
796         Another iOS build fix.
797
798         * platform/audio/ios/MediaSessionManagerIOS.mm:
799         (WebCore::m_objcObserver):
800
801 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
802
803         [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
804         https://bugs.webkit.org/show_bug.cgi?id=127139
805
806         Reviewed by Brady Eidson.
807
808         * platform/ios/WebCoreSystemInterfaceIOS.mm:
809         * platform/mac/WebCoreSystemInterface.h:
810         * platform/mac/WebCoreSystemInterface.mm:
811         Pass first party URL down, because reading cookies depends on it when this policy
812         in in action.
813
814         * platform/network/cf/CookieJarCFNet.cpp:
815         (WebCore::copyCookiesForURLWithFirstPartyURL):
816         (WebCore::cookiesForDOM):
817         (WebCore::cookieRequestHeaderFieldValue):
818         (WebCore::cookiesEnabled):
819         (WebCore::getRawCookies):
820         Use a new CFNetwork API that takes first party URL.
821
822         * platform/network/mac/CookieJarMac.mm:
823         (WebCore::cookiesForDOM):
824         (WebCore::cookieRequestHeaderFieldValue):
825         (WebCore::cookiesEnabled):
826         (WebCore::getRawCookies):
827         (WebCore::deleteCookie):
828         Pass first party URL (and null in deleteCookie, as there is none).
829
830         * platform/network/mac/ResourceHandleMac.mm:
831         (WebCore::ResourceHandle::platformLoadResourceSynchronously):
832         Removed a call to shouldRelaxThirdPartyCookiePolicy(), which no longer exists
833         in trunk.
834
835 2014-01-16  Andy Estes  <aestes@apple.com>
836
837         Fix the iOS build after r162150.
838
839         * platform/graphics/cg/GraphicsContextCG.cpp:
840         (WebCore::GraphicsContext::platformInit):
841
842 2014-01-16  Dean Jackson  <dino@apple.com>
843
844         glReadPixels should use UNSIGNED_BYTE on iOS
845         https://bugs.webkit.org/show_bug.cgi?id=127148
846
847         Reviewed by Benjamin Poulain.
848
849         We were incorrectly mapping GL_UNSIGNED_INT_8_8_8_8_REV to
850         GL_RGBA on iOS. It's only used in glReadPixels, so should
851         be GL_UNSIGNED_BYTE.
852
853         This is covered by lots of tests in the Khronos test suite,
854         that now pass on iOS.
855
856         * platform/graphics/ios/GraphicsContext3DIOS.h:
857
858 2014-01-16  Anders Carlsson  <andersca@apple.com>
859
860         Change all uses of FINAL to final now that all our compilers support it
861         https://bugs.webkit.org/show_bug.cgi?id=127142
862
863         Reviewed by Benjamin Poulain.
864
865         * Modules/encryptedmedia/MediaKeySession.h:
866         * Modules/indexeddb/IDBCursorBackendOperations.h:
867         * Modules/indexeddb/IDBDatabase.h:
868         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
869         * Modules/indexeddb/IDBRequest.h:
870         * Modules/indexeddb/IDBTransaction.h:
871         * Modules/indexeddb/IDBTransactionBackendOperations.h:
872         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
873         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
874         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
875         * Modules/mediasource/MediaSource.h:
876         * Modules/mediasource/MediaSourceRegistry.h:
877         * Modules/mediasource/SourceBuffer.h:
878         * Modules/mediasource/SourceBufferList.h:
879         * Modules/mediastream/AudioStreamTrack.h:
880         * Modules/mediastream/MediaStream.h:
881         * Modules/mediastream/MediaStreamRegistry.h:
882         * Modules/mediastream/MediaStreamTrack.h:
883         * Modules/mediastream/RTCDTMFSender.h:
884         * Modules/mediastream/RTCDataChannel.h:
885         * Modules/mediastream/RTCPeerConnection.h:
886         * Modules/mediastream/UserMediaRequest.h:
887         * Modules/mediastream/VideoStreamTrack.h:
888         * Modules/notifications/Notification.h:
889         * Modules/speech/SpeechSynthesisUtterance.h:
890         * Modules/webaudio/AudioContext.h:
891         * Modules/webaudio/AudioNode.h:
892         * Modules/websockets/WebSocket.h:
893         * accessibility/AccessibilityList.h:
894         * accessibility/AccessibilityListBoxOption.h:
895         * accessibility/AccessibilityNodeObject.h:
896         * accessibility/AccessibilitySearchFieldButtons.h:
897         * accessibility/AccessibilitySlider.h:
898         * bindings/js/JSCryptoAlgorithmBuilder.h:
899         * bindings/js/JSCryptoKeySerializationJWK.h:
900         * bindings/js/JSDOMGlobalObjectTask.cpp:
901         * bindings/js/JSDOMGlobalObjectTask.h:
902         * bindings/js/JSLazyEventListener.h:
903         * bindings/js/ScriptDebugServer.h:
904         * bindings/js/WorkerScriptDebugServer.h:
905         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
906         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
907         * crypto/algorithms/CryptoAlgorithmHMAC.h:
908         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
909         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
910         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
911         * crypto/algorithms/CryptoAlgorithmSHA1.h:
912         * crypto/algorithms/CryptoAlgorithmSHA224.h:
913         * crypto/algorithms/CryptoAlgorithmSHA256.h:
914         * crypto/algorithms/CryptoAlgorithmSHA384.h:
915         * crypto/algorithms/CryptoAlgorithmSHA512.h:
916         * crypto/keys/CryptoKeyAES.h:
917         * crypto/keys/CryptoKeyDataOctetSequence.h:
918         * crypto/keys/CryptoKeyDataRSAComponents.h:
919         * crypto/keys/CryptoKeyHMAC.h:
920         * crypto/keys/CryptoKeyRSA.h:
921         * crypto/keys/CryptoKeySerializationRaw.h:
922         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
923         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
924         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
925         * crypto/parameters/CryptoAlgorithmHmacParams.h:
926         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
927         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
928         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
929         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
930         * css/CSSCanvasValue.h:
931         * css/CSSFontSelector.h:
932         * css/CSSStyleSheet.h:
933         * dom/Attr.h:
934         * dom/BeforeUnloadEvent.h:
935         * dom/CDATASection.h:
936         * dom/CharacterData.h:
937         * dom/ChildNodeList.h:
938         * dom/Clipboard.cpp:
939         * dom/Comment.h:
940         * dom/DatasetDOMStringMap.h:
941         * dom/Document.h:
942         * dom/DocumentEventQueue.cpp:
943         * dom/DocumentEventQueue.h:
944         * dom/DocumentType.h:
945         * dom/Element.h:
946         * dom/EntityReference.h:
947         * dom/EventContext.h:
948         * dom/EventTarget.h:
949         * dom/FocusEvent.h:
950         * dom/LiveNodeList.h:
951         * dom/MessagePort.h:
952         * dom/MouseEvent.h:
953         * dom/Node.h:
954         * dom/Notation.h:
955         * dom/ProcessingInstruction.h:
956         * dom/PseudoElement.h:
957         * dom/ShadowRoot.h:
958         * dom/StaticNodeList.h:
959         * dom/StyledElement.h:
960         * dom/TemplateContentDocumentFragment.h:
961         * dom/Text.h:
962         * dom/WebKitNamedFlow.h:
963         * editing/ios/EditorIOS.mm:
964         * editing/mac/EditorMac.mm:
965         * editing/markup.cpp:
966         * fileapi/Blob.cpp:
967         * fileapi/FileReader.h:
968         * html/ClassList.h:
969         * html/DOMSettableTokenList.h:
970         * html/FTPDirectoryDocument.cpp:
971         * html/FormAssociatedElement.cpp:
972         * html/FormAssociatedElement.h:
973         * html/HTMLAllCollection.h:
974         * html/HTMLAnchorElement.h:
975         * html/HTMLAppletElement.h:
976         * html/HTMLAreaElement.h:
977         * html/HTMLAudioElement.h:
978         * html/HTMLBDIElement.h:
979         * html/HTMLBRElement.h:
980         * html/HTMLBaseElement.h:
981         * html/HTMLBaseFontElement.h:
982         * html/HTMLBodyElement.h:
983         * html/HTMLButtonElement.h:
984         * html/HTMLCanvasElement.h:
985         * html/HTMLDListElement.h:
986         * html/HTMLDataListElement.h:
987         * html/HTMLDetailsElement.h:
988         * html/HTMLDirectoryElement.h:
989         * html/HTMLDocument.h:
990         * html/HTMLElement.h:
991         * html/HTMLEmbedElement.h:
992         * html/HTMLFieldSetElement.h:
993         * html/HTMLFontElement.h:
994         * html/HTMLFormControlElement.h:
995         * html/HTMLFormElement.h:
996         * html/HTMLFrameElement.h:
997         * html/HTMLFrameSetElement.h:
998         * html/HTMLHRElement.h:
999         * html/HTMLHeadElement.h:
1000         * html/HTMLHeadingElement.h:
1001         * html/HTMLHtmlElement.h:
1002         * html/HTMLIFrameElement.h:
1003         * html/HTMLImageElement.h:
1004         * html/HTMLInputElement.h:
1005         * html/HTMLKeygenElement.cpp:
1006         * html/HTMLKeygenElement.h:
1007         * html/HTMLLIElement.h:
1008         * html/HTMLLabelElement.h:
1009         * html/HTMLLegendElement.h:
1010         * html/HTMLLinkElement.h:
1011         * html/HTMLMapElement.h:
1012         * html/HTMLMarqueeElement.h:
1013         * html/HTMLMenuElement.h:
1014         * html/HTMLMetaElement.h:
1015         * html/HTMLMeterElement.h:
1016         * html/HTMLModElement.h:
1017         * html/HTMLNameCollection.h:
1018         * html/HTMLOListElement.h:
1019         * html/HTMLObjectElement.h:
1020         * html/HTMLOptGroupElement.h:
1021         * html/HTMLOptionElement.h:
1022         * html/HTMLOptionsCollection.h:
1023         * html/HTMLOutputElement.h:
1024         * html/HTMLParagraphElement.h:
1025         * html/HTMLParamElement.h:
1026         * html/HTMLPlugInElement.h:
1027         * html/HTMLPreElement.h:
1028         * html/HTMLProgressElement.h:
1029         * html/HTMLQuoteElement.h:
1030         * html/HTMLScriptElement.h:
1031         * html/HTMLSelectElement.h:
1032         * html/HTMLSourceElement.h:
1033         * html/HTMLStyleElement.h:
1034         * html/HTMLSummaryElement.h:
1035         * html/HTMLTableCaptionElement.h:
1036         * html/HTMLTableCellElement.h:
1037         * html/HTMLTableColElement.h:
1038         * html/HTMLTableElement.h:
1039         * html/HTMLTableRowElement.h:
1040         * html/HTMLTableRowsCollection.h:
1041         * html/HTMLTableSectionElement.h:
1042         * html/HTMLTemplateElement.h:
1043         * html/HTMLTextAreaElement.h:
1044         * html/HTMLTextFormControlElement.h:
1045         * html/HTMLTitleElement.h:
1046         * html/HTMLTrackElement.h:
1047         * html/HTMLUListElement.h:
1048         * html/HTMLUnknownElement.h:
1049         * html/HTMLVideoElement.h:
1050         * html/HTMLViewSourceDocument.h:
1051         * html/ImageDocument.cpp:
1052         * html/ImageDocument.h:
1053         * html/LabelableElement.h:
1054         * html/LabelsNodeList.h:
1055         * html/MediaController.h:
1056         * html/MediaDocument.cpp:
1057         * html/MediaDocument.h:
1058         * html/MediaFragmentURIParser.h:
1059         * html/PluginDocument.cpp:
1060         * html/PluginDocument.h:
1061         * html/RangeInputType.h:
1062         * html/TextDocument.h:
1063         * html/parser/TextDocumentParser.h:
1064         * html/parser/TextViewSourceParser.h:
1065         * html/shadow/DetailsMarkerControl.h:
1066         * html/shadow/MediaControlElementTypes.h:
1067         * html/shadow/MediaControlElements.h:
1068         * html/shadow/MeterShadowElement.h:
1069         * html/shadow/ProgressShadowElement.h:
1070         * html/shadow/SliderThumbElement.h:
1071         * html/shadow/SpinButtonElement.h:
1072         * html/shadow/TextControlInnerElements.h:
1073         * html/shadow/YouTubeEmbedShadowElement.h:
1074         * html/track/TextTrack.h:
1075         * html/track/TextTrackCue.h:
1076         * html/track/TextTrackCueGeneric.cpp:
1077         * html/track/TextTrackCueGeneric.h:
1078         * html/track/TrackListBase.h:
1079         * html/track/WebVTTElement.h:
1080         * inspector/CommandLineAPIModule.h:
1081         * inspector/InjectedScriptCanvasModule.h:
1082         * inspector/InspectorConsoleAgent.cpp:
1083         * inspector/InspectorController.h:
1084         * inspector/InspectorDebuggerAgent.h:
1085         * inspector/PageConsoleAgent.cpp:
1086         * inspector/PageInjectedScriptHost.h:
1087         * inspector/PageInjectedScriptManager.h:
1088         * inspector/WorkerInspectorController.h:
1089         * loader/SinkDocument.cpp:
1090         * loader/SinkDocument.h:
1091         * loader/appcache/DOMApplicationCache.h:
1092         * loader/cache/CachedCSSStyleSheet.h:
1093         * loader/cache/CachedFont.h:
1094         * loader/cache/CachedRawResource.h:
1095         * loader/cache/CachedSVGDocument.h:
1096         * loader/cache/CachedScript.h:
1097         * loader/cache/CachedShader.h:
1098         * loader/cache/CachedTextTrack.h:
1099         * loader/cache/CachedXSLStyleSheet.h:
1100         * loader/icon/IconLoader.h:
1101         * mathml/MathMLSelectElement.h:
1102         * page/DOMTimer.h:
1103         * page/DOMWindow.h:
1104         * page/EventSource.h:
1105         * page/Frame.h:
1106         * page/FrameView.h:
1107         * page/MainFrame.h:
1108         * page/PageDebuggable.h:
1109         * page/PageSerializer.cpp:
1110         * page/Performance.h:
1111         * page/SuspendableTimer.h:
1112         * page/animation/KeyframeAnimation.h:
1113         * page/scrolling/ScrollingStateFixedNode.h:
1114         * page/scrolling/ScrollingStateScrollingNode.h:
1115         * page/scrolling/ScrollingStateStickyNode.h:
1116         * platform/ClockGeneric.h:
1117         * platform/efl/ScrollbarThemeEfl.h:
1118         * platform/graphics/BitmapImage.h:
1119         * platform/graphics/CrossfadeGeneratedImage.h:
1120         * platform/graphics/GradientImage.h:
1121         * platform/graphics/SimpleFontData.h:
1122         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
1123         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
1124         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
1125         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
1126         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
1127         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
1128         * platform/graphics/ca/mac/PlatformCALayerMac.h:
1129         * platform/graphics/ca/win/PlatformCALayerWin.h:
1130         * platform/graphics/cg/PDFDocumentImage.h:
1131         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
1132         * platform/graphics/gstreamer/MediaSourceGStreamer.h:
1133         * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
1134         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
1135         * platform/ios/WebSafeGCActivityCallbackIOS.h:
1136         * platform/ios/WebSafeIncrementalSweeperIOS.h:
1137         * platform/mac/PlatformClockCA.h:
1138         * platform/mac/PlatformClockCM.h:
1139         * platform/mac/ScrollAnimatorMac.h:
1140         * platform/mediastream/MediaStreamTrackPrivate.h:
1141         * platform/mediastream/mac/MediaStreamCenterMac.h:
1142         * platform/mock/MockMediaStreamCenter.h:
1143         * platform/mock/RTCDataChannelHandlerMock.h:
1144         * platform/mock/RTCPeerConnectionHandlerMock.h:
1145         * platform/mock/mediasource/MockBox.h:
1146         * platform/mock/mediasource/MockMediaSourcePrivate.h:
1147         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
1148         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
1149         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
1150         * platform/text/LocaleNone.cpp:
1151         * platform/text/PlatformLocale.cpp:
1152         * rendering/EllipsisBox.h:
1153         * rendering/FilterEffectRenderer.h:
1154         * rendering/InlineElementBox.h:
1155         * rendering/InlineFlowBox.h:
1156         * rendering/InlineTextBox.h:
1157         * rendering/RenderBlock.h:
1158         * rendering/RenderBlockFlow.h:
1159         * rendering/RenderBox.cpp:
1160         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
1161         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
1162         * rendering/RenderBox.h:
1163         * rendering/RenderButton.h:
1164         * rendering/RenderCombineText.h:
1165         * rendering/RenderCounter.h:
1166         * rendering/RenderDeprecatedFlexibleBox.h:
1167         * rendering/RenderDetailsMarker.h:
1168         * rendering/RenderElement.h:
1169         * rendering/RenderEmbeddedObject.h:
1170         * rendering/RenderFieldset.h:
1171         * rendering/RenderFileUploadControl.h:
1172         * rendering/RenderFlexibleBox.h:
1173         * rendering/RenderFlowThread.h:
1174         * rendering/RenderFrame.h:
1175         * rendering/RenderFrameSet.h:
1176         * rendering/RenderFullScreen.cpp:
1177         * rendering/RenderFullScreen.h:
1178         * rendering/RenderGrid.h:
1179         * rendering/RenderHTMLCanvas.h:
1180         * rendering/RenderIFrame.h:
1181         * rendering/RenderImage.h:
1182         * rendering/RenderInline.h:
1183         * rendering/RenderLayer.h:
1184         * rendering/RenderLayerFilterInfo.h:
1185         * rendering/RenderLineBreak.h:
1186         * rendering/RenderListBox.h:
1187         * rendering/RenderListItem.h:
1188         * rendering/RenderListMarker.h:
1189         * rendering/RenderMedia.h:
1190         * rendering/RenderMediaControlElements.h:
1191         * rendering/RenderMenuList.h:
1192         * rendering/RenderMeter.h:
1193         * rendering/RenderMultiColumnBlock.h:
1194         * rendering/RenderMultiColumnFlowThread.h:
1195         * rendering/RenderMultiColumnSet.h:
1196         * rendering/RenderNamedFlowFragment.h:
1197         * rendering/RenderNamedFlowThread.h:
1198         * rendering/RenderProgress.h:
1199         * rendering/RenderQuote.h:
1200         * rendering/RenderRegion.h:
1201         * rendering/RenderRegionSet.h:
1202         * rendering/RenderReplaced.h:
1203         * rendering/RenderReplica.h:
1204         * rendering/RenderRuby.h:
1205         * rendering/RenderRubyBase.h:
1206         * rendering/RenderRubyRun.h:
1207         * rendering/RenderRubyText.h:
1208         * rendering/RenderScrollbar.h:
1209         * rendering/RenderScrollbarPart.h:
1210         * rendering/RenderSearchField.h:
1211         * rendering/RenderSlider.h:
1212         * rendering/RenderSnapshottedPlugIn.h:
1213         * rendering/RenderTable.h:
1214         * rendering/RenderTableCaption.h:
1215         * rendering/RenderTableCell.h:
1216         * rendering/RenderTableCol.h:
1217         * rendering/RenderTableRow.h:
1218         * rendering/RenderTableSection.h:
1219         * rendering/RenderText.h:
1220         * rendering/RenderTextControl.h:
1221         * rendering/RenderTextControlMultiLine.h:
1222         * rendering/RenderTextControlSingleLine.h:
1223         * rendering/RenderTextFragment.h:
1224         * rendering/RenderTextTrackCue.h:
1225         * rendering/RenderVideo.h:
1226         * rendering/RenderView.h:
1227         * rendering/RenderWidget.h:
1228         * rendering/RootInlineBox.h:
1229         * rendering/TrailingFloatsRootInlineBox.h:
1230         * rendering/mathml/RenderMathMLBlock.h:
1231         * rendering/mathml/RenderMathMLFenced.h:
1232         * rendering/mathml/RenderMathMLFraction.h:
1233         * rendering/mathml/RenderMathMLMath.h:
1234         * rendering/mathml/RenderMathMLOperator.h:
1235         * rendering/mathml/RenderMathMLRoot.h:
1236         * rendering/mathml/RenderMathMLRow.h:
1237         * rendering/mathml/RenderMathMLScripts.h:
1238         * rendering/mathml/RenderMathMLSpace.h:
1239         * rendering/mathml/RenderMathMLSquareRoot.h:
1240         * rendering/shapes/ShapeInsideInfo.h:
1241         * rendering/shapes/ShapeOutsideInfo.h:
1242         * rendering/style/ContentData.h:
1243         * rendering/style/StyleCachedImage.h:
1244         * rendering/style/StyleCachedImageSet.h:
1245         * rendering/style/StyleGeneratedImage.h:
1246         * rendering/svg/RenderSVGBlock.h:
1247         * rendering/svg/RenderSVGContainer.h:
1248         * rendering/svg/RenderSVGEllipse.h:
1249         * rendering/svg/RenderSVGForeignObject.h:
1250         * rendering/svg/RenderSVGGradientStop.h:
1251         * rendering/svg/RenderSVGHiddenContainer.h:
1252         * rendering/svg/RenderSVGImage.h:
1253         * rendering/svg/RenderSVGInline.h:
1254         * rendering/svg/RenderSVGInlineText.h:
1255         * rendering/svg/RenderSVGModelObject.h:
1256         * rendering/svg/RenderSVGPath.h:
1257         * rendering/svg/RenderSVGRect.h:
1258         * rendering/svg/RenderSVGResourceClipper.h:
1259         * rendering/svg/RenderSVGResourceContainer.h:
1260         * rendering/svg/RenderSVGResourceFilter.h:
1261         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
1262         * rendering/svg/RenderSVGResourceGradient.h:
1263         * rendering/svg/RenderSVGResourceLinearGradient.h:
1264         * rendering/svg/RenderSVGResourceMarker.h:
1265         * rendering/svg/RenderSVGResourceMasker.h:
1266         * rendering/svg/RenderSVGResourcePattern.h:
1267         * rendering/svg/RenderSVGResourceRadialGradient.h:
1268         * rendering/svg/RenderSVGRoot.h:
1269         * rendering/svg/RenderSVGShape.cpp:
1270         * rendering/svg/RenderSVGShape.h:
1271         * rendering/svg/RenderSVGTSpan.h:
1272         * rendering/svg/RenderSVGText.h:
1273         * rendering/svg/RenderSVGTextPath.h:
1274         * rendering/svg/RenderSVGTransformableContainer.h:
1275         * rendering/svg/RenderSVGViewportContainer.h:
1276         * rendering/svg/SVGInlineFlowBox.h:
1277         * rendering/svg/SVGInlineTextBox.h:
1278         * rendering/svg/SVGRootInlineBox.h:
1279         * rendering/svg/SVGTextRunRenderingContext.h:
1280         * svg/SVGAElement.h:
1281         * svg/SVGAltGlyphDefElement.h:
1282         * svg/SVGAltGlyphElement.h:
1283         * svg/SVGAltGlyphItemElement.h:
1284         * svg/SVGAnimateColorElement.h:
1285         * svg/SVGAnimateMotionElement.h:
1286         * svg/SVGAnimateTransformElement.h:
1287         * svg/SVGAnimatedAngle.h:
1288         * svg/SVGAnimatedBoolean.h:
1289         * svg/SVGAnimatedColor.h:
1290         * svg/SVGAnimatedEnumeration.h:
1291         * svg/SVGAnimatedInteger.h:
1292         * svg/SVGAnimatedIntegerOptionalInteger.h:
1293         * svg/SVGAnimatedLength.h:
1294         * svg/SVGAnimatedLengthList.h:
1295         * svg/SVGAnimatedNumber.h:
1296         * svg/SVGAnimatedNumberList.h:
1297         * svg/SVGAnimatedNumberOptionalNumber.h:
1298         * svg/SVGAnimatedPath.h:
1299         * svg/SVGAnimatedPointList.h:
1300         * svg/SVGAnimatedPreserveAspectRatio.h:
1301         * svg/SVGAnimatedRect.h:
1302         * svg/SVGAnimatedString.h:
1303         * svg/SVGAnimatedTransformList.h:
1304         * svg/SVGCircleElement.h:
1305         * svg/SVGClipPathElement.h:
1306         * svg/SVGCursorElement.h:
1307         * svg/SVGDefsElement.h:
1308         * svg/SVGDescElement.h:
1309         * svg/SVGDocument.h:
1310         * svg/SVGElement.h:
1311         * svg/SVGEllipseElement.h:
1312         * svg/SVGFEBlendElement.h:
1313         * svg/SVGFEColorMatrixElement.h:
1314         * svg/SVGFEComponentTransferElement.h:
1315         * svg/SVGFECompositeElement.h:
1316         * svg/SVGFEConvolveMatrixElement.h:
1317         * svg/SVGFEDiffuseLightingElement.h:
1318         * svg/SVGFEDisplacementMapElement.h:
1319         * svg/SVGFEDistantLightElement.h:
1320         * svg/SVGFEDropShadowElement.h:
1321         * svg/SVGFEFloodElement.h:
1322         * svg/SVGFEFuncAElement.h:
1323         * svg/SVGFEFuncBElement.h:
1324         * svg/SVGFEFuncGElement.h:
1325         * svg/SVGFEFuncRElement.h:
1326         * svg/SVGFEGaussianBlurElement.h:
1327         * svg/SVGFEImageElement.h:
1328         * svg/SVGFEMergeElement.h:
1329         * svg/SVGFEMergeNodeElement.h:
1330         * svg/SVGFEMorphologyElement.h:
1331         * svg/SVGFEOffsetElement.h:
1332         * svg/SVGFEPointLightElement.h:
1333         * svg/SVGFESpecularLightingElement.h:
1334         * svg/SVGFESpotLightElement.h:
1335         * svg/SVGFETileElement.h:
1336         * svg/SVGFETurbulenceElement.h:
1337         * svg/SVGFilterElement.h:
1338         * svg/SVGFontElement.h:
1339         * svg/SVGFontFaceElement.h:
1340         * svg/SVGFontFaceFormatElement.h:
1341         * svg/SVGFontFaceNameElement.h:
1342         * svg/SVGFontFaceSrcElement.h:
1343         * svg/SVGFontFaceUriElement.h:
1344         * svg/SVGForeignObjectElement.h:
1345         * svg/SVGGElement.h:
1346         * svg/SVGGlyphElement.h:
1347         * svg/SVGGlyphRefElement.h:
1348         * svg/SVGHKernElement.h:
1349         * svg/SVGImageElement.h:
1350         * svg/SVGLineElement.h:
1351         * svg/SVGLinearGradientElement.h:
1352         * svg/SVGMPathElement.h:
1353         * svg/SVGMarkerElement.h:
1354         * svg/SVGMaskElement.h:
1355         * svg/SVGMetadataElement.h:
1356         * svg/SVGMissingGlyphElement.h:
1357         * svg/SVGPathElement.h:
1358         * svg/SVGPathStringBuilder.h:
1359         * svg/SVGPatternElement.h:
1360         * svg/SVGPolygonElement.h:
1361         * svg/SVGPolylineElement.h:
1362         * svg/SVGRadialGradientElement.h:
1363         * svg/SVGRectElement.h:
1364         * svg/SVGSVGElement.h:
1365         * svg/SVGScriptElement.h:
1366         * svg/SVGSetElement.h:
1367         * svg/SVGStopElement.h:
1368         * svg/SVGStyleElement.h:
1369         * svg/SVGSwitchElement.h:
1370         * svg/SVGSymbolElement.h:
1371         * svg/SVGTRefElement.h:
1372         * svg/SVGTSpanElement.h:
1373         * svg/SVGTextContentElement.h:
1374         * svg/SVGTextElement.h:
1375         * svg/SVGTextPathElement.h:
1376         * svg/SVGTitleElement.h:
1377         * svg/SVGUnknownElement.h:
1378         * svg/SVGUseElement.h:
1379         * svg/SVGVKernElement.h:
1380         * svg/SVGViewElement.h:
1381         * svg/animation/SVGSMILElement.h:
1382         * svg/graphics/SVGImage.h:
1383         * svg/graphics/SVGImageForContainer.h:
1384         * svg/graphics/filters/SVGFilter.h:
1385         * workers/AbstractWorker.h:
1386         * workers/SharedWorker.h:
1387         * workers/Worker.h:
1388         * workers/WorkerEventQueue.cpp:
1389         * workers/WorkerEventQueue.h:
1390         * workers/WorkerGlobalScope.h:
1391         * xml/XMLHttpRequest.h:
1392         * xml/XMLHttpRequestUpload.h:
1393         * xml/XPathFunctions.cpp:
1394         * xml/XPathPath.h:
1395         * xml/XPathPredicate.h:
1396         * xml/XSLStyleSheet.h:
1397
1398 2014-01-15  Myles C. Maxfield  <mmaxfield@apple.com>
1399
1400         Draw all underline segments in a particular run in the same call
1401         https://bugs.webkit.org/show_bug.cgi?id=127082
1402
1403         Reviewed by Simon Fraser.
1404
1405         Instead of running CGContextFillRect() in a loop, we can instead call CGContextFillRects()
1406
1407         In my tests, this seems to have about 0.5% speedup.
1408
1409         This patch creates some redundant code, but I think that refactoring would make the code
1410         much less readable. I also am hesitant to make drawLineForText call drawLinesForText because
1411         of the overhead of the vector that would be needed.
1412
1413         As there is no behavior change, no new tests are necessary
1414
1415         * platform/graphics/GraphicsContext.h:
1416         * platform/graphics/cairo/GraphicsContextCairo.cpp:
1417         (WebCore::GraphicsContext::drawLinesForText):
1418         * platform/graphics/cg/GraphicsContextCG.cpp:
1419         (WebCore::GraphicsContext::platformInit):
1420         * platform/graphics/wince/GraphicsContextWinCE.cpp:
1421         (WebCore::GraphicsContext::drawLinesForText):
1422         * rendering/InlineTextBox.cpp:
1423         (WebCore::drawSkipInkUnderline):
1424
1425 2014-01-16  Brady Eidson  <beidson@apple.com>
1426
1427         Use KeyedCoding as a persistent storage mechanism for blobs
1428         https://bugs.webkit.org/show_bug.cgi?id=127012
1429
1430         Reviewed by Anders Carlsson.
1431
1432         Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
1433         * platform/KeyedCoding.h:
1434         (WebCore::KeyedDecoder::decodeVerifiedEnum):
1435         (WebCore::KeyedDecoder::decodeObject):
1436         (WebCore::KeyedDecoder::decodeObjects):
1437
1438         Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
1439         * Modules/indexeddb/IDBKeyPath.cpp:
1440         (WebCore::IDBKeyPath::encode):
1441         (WebCore::IDBKeyPath::decode):
1442         * Modules/indexeddb/IDBKeyPath.h:
1443
1444         * WebCore.exp.in:
1445
1446 2014-01-16  Eric Carlson  <eric.carlson@apple.com>
1447
1448         Allow MediaSessionManager to restrict inline <video> playback
1449         https://bugs.webkit.org/show_bug.cgi?id=127113
1450
1451         Reviewed by Jer Noble.
1452
1453         Test: media/video-fullscreeen-only-playback.html
1454
1455         * html/HTMLMediaElement.cpp:
1456         (WebCore::HTMLMediaElement::updatePlayState): Drive-by change to not tell the media session that
1457             playback is starting if the media player is already playing. Enter fullscreen if the media
1458             session says it is required.
1459
1460         * html/HTMLMediaSession.cpp:
1461         (WebCore::HTMLMediaSession::clientWillBeginPlayback): Make it const.
1462         (WebCore::HTMLMediaSession::requiresFullscreenForVideoPlayback): New, see if the specified
1463             media element must be played in fullscreen based on the media session settings, document
1464             settings, and attributes.
1465         * html/HTMLMediaSession.h:
1466
1467         * platform/audio/MediaSession.h: pauseSession shouldn't be virtual.
1468
1469         * platform/audio/MediaSessionManager.cpp:
1470         (WebCore::MediaSessionManager::sessionWillBeginPlayback): Return immediately if ConcurrentPlaybackNotPermitted
1471             is not set.
1472         (WebCore::MediaSessionManager::sessionRestrictsInlineVideoPlayback): New.
1473         * platform/audio/MediaSessionManager.h:
1474
1475         * platform/audio/ios/MediaSessionManagerIOS.mm:
1476         (WebCore::MediaSessionManageriOS::MediaSessionManageriOS): Set InlineVideoPlaybackRestricted if
1477             running on an iPhone or iPod class device.
1478
1479         * testing/Internals.cpp:
1480         (WebCore::Internals::setMediaSessionRestrictions): Support InlineVideoPlaybackRestricted.
1481
1482 2014-01-16  Roger Fong  <roger_fong@apple.com>
1483
1484         Add support for handling WebGL load policies.
1485         https://bugs.webkit.org/show_bug.cgi?id=126935
1486         <rdar://problem/15790448>.
1487
1488         Reviewed by Timothy Horton.
1489
1490         Rename webGLPolicyForSite to webGLPolicyForURL.
1491
1492         * html/HTMLCanvasElement.cpp:
1493         (WebCore::HTMLCanvasElement::getContext):
1494         * loader/FrameLoaderClient.h:
1495         (WebCore::FrameLoaderClient::webGLPolicyForURL):
1496
1497 2014-01-16  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1498
1499         Guarding HTMLMediaSession with ENABLE(VIDEO)
1500         https://bugs.webkit.org/show_bug.cgi?id=127126
1501
1502         Reviewed by Eric Carlson.
1503
1504         No new tests needed.
1505
1506         * html/HTMLMediaSession.cpp:
1507         * html/HTMLMediaSession.h:
1508
1509 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1510
1511         Remove workaround for compilers not supporting explicit override control
1512         https://bugs.webkit.org/show_bug.cgi?id=127111
1513
1514         Reviewed by Anders Carlsson.
1515
1516         Now all compilers support explicit override control, this workaround can be removed.
1517
1518         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
1519         * Modules/encryptedmedia/CDMPrivateAVFoundation.h:
1520         * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
1521         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
1522         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
1523         * Modules/encryptedmedia/MediaKeySession.h:
1524         * Modules/encryptedmedia/MediaKeys.h:
1525         * Modules/geolocation/Geolocation.h:
1526         * Modules/indexeddb/DOMWindowIndexedDatabase.h:
1527         * Modules/indexeddb/IDBCursorBackendOperations.h:
1528         * Modules/indexeddb/IDBCursorWithValue.h:
1529         * Modules/indexeddb/IDBDatabase.h:
1530         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
1531         * Modules/indexeddb/IDBOpenDBRequest.h:
1532         * Modules/indexeddb/IDBRequest.h:
1533         * Modules/indexeddb/IDBTransaction.h:
1534         * Modules/indexeddb/IDBTransactionBackendOperations.h:
1535         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
1536         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
1537         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
1538         * Modules/indieui/UIRequestEvent.h:
1539         * Modules/mediasource/MediaSource.h:
1540         * Modules/mediasource/MediaSourceRegistry.h:
1541         * Modules/mediasource/SourceBuffer.h:
1542         * Modules/mediasource/SourceBufferList.h:
1543         * Modules/mediastream/AudioStreamTrack.h:
1544         * Modules/mediastream/MediaConstraintsImpl.h:
1545         * Modules/mediastream/MediaStream.h:
1546         * Modules/mediastream/MediaStreamRegistry.h:
1547         * Modules/mediastream/MediaStreamTrack.h:
1548         * Modules/mediastream/MediaStreamTrackEvent.h:
1549         * Modules/mediastream/MediaStreamTrackSourcesRequest.h:
1550         * Modules/mediastream/RTCDTMFSender.h:
1551         * Modules/mediastream/RTCDataChannel.h:
1552         * Modules/mediastream/RTCPeerConnection.h:
1553         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
1554         * Modules/mediastream/RTCStatsRequestImpl.h:
1555         * Modules/mediastream/RTCStatsResponse.h:
1556         * Modules/mediastream/RTCVoidRequestImpl.h:
1557         * Modules/mediastream/UserMediaRequest.h:
1558         * Modules/mediastream/VideoStreamTrack.h:
1559         * Modules/networkinfo/NetworkInfoConnection.h:
1560         * Modules/notifications/DOMWindowNotifications.h:
1561         * Modules/notifications/Notification.h:
1562         * Modules/notifications/NotificationCenter.h:
1563         * Modules/plugins/QuickTimePluginReplacement.h:
1564         * Modules/speech/SpeechRecognition.h:
1565         * Modules/speech/SpeechRecognitionError.h:
1566         * Modules/speech/SpeechRecognitionEvent.h:
1567         * Modules/speech/SpeechSynthesis.h:
1568         * Modules/speech/SpeechSynthesisUtterance.h:
1569         * Modules/webaudio/AnalyserNode.h:
1570         * Modules/webaudio/AudioBasicInspectorNode.h:
1571         * Modules/webaudio/AudioBasicProcessorNode.h:
1572         * Modules/webaudio/AudioBufferSourceNode.h:
1573         * Modules/webaudio/AudioContext.h:
1574         * Modules/webaudio/AudioDestinationNode.h:
1575         * Modules/webaudio/AudioNode.h:
1576         * Modules/webaudio/AudioNodeInput.h:
1577         * Modules/webaudio/AudioParam.h:
1578         * Modules/webaudio/AudioProcessingEvent.h:
1579         * Modules/webaudio/BiquadDSPKernel.h:
1580         * Modules/webaudio/BiquadProcessor.h:
1581         * Modules/webaudio/ChannelMergerNode.h:
1582         * Modules/webaudio/ChannelSplitterNode.h:
1583         * Modules/webaudio/ConvolverNode.h:
1584         * Modules/webaudio/DefaultAudioDestinationNode.h:
1585         * Modules/webaudio/DelayDSPKernel.h:
1586         * Modules/webaudio/DelayProcessor.h:
1587         * Modules/webaudio/DynamicsCompressorNode.h:
1588         * Modules/webaudio/GainNode.h:
1589         * Modules/webaudio/MediaElementAudioSourceNode.h:
1590         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
1591         * Modules/webaudio/MediaStreamAudioSourceNode.h:
1592         * Modules/webaudio/OfflineAudioCompletionEvent.h:
1593         * Modules/webaudio/OfflineAudioDestinationNode.h:
1594         * Modules/webaudio/OscillatorNode.h:
1595         * Modules/webaudio/PannerNode.h:
1596         * Modules/webaudio/ScriptProcessorNode.h:
1597         * Modules/webaudio/WaveShaperDSPKernel.h:
1598         * Modules/webaudio/WaveShaperProcessor.h:
1599         * Modules/webdatabase/DatabaseTask.h:
1600         * Modules/webdatabase/SQLTransaction.h:
1601         * Modules/webdatabase/SQLTransactionBackend.h:
1602         * Modules/websockets/CloseEvent.h:
1603         * Modules/websockets/WebSocket.h:
1604         * Modules/websockets/WebSocketChannel.h:
1605         * Modules/websockets/WebSocketDeflateFramer.cpp:
1606         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
1607         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
1608         * accessibility/AccessibilityARIAGrid.h:
1609         * accessibility/AccessibilityARIAGridCell.h:
1610         * accessibility/AccessibilityARIAGridRow.h:
1611         * accessibility/AccessibilityImageMapLink.h:
1612         * accessibility/AccessibilityList.h:
1613         * accessibility/AccessibilityListBox.h:
1614         * accessibility/AccessibilityListBoxOption.h:
1615         * accessibility/AccessibilityMediaControls.h:
1616         * accessibility/AccessibilityMenuList.h:
1617         * accessibility/AccessibilityMenuListOption.h:
1618         * accessibility/AccessibilityMenuListPopup.h:
1619         * accessibility/AccessibilityMockObject.h:
1620         * accessibility/AccessibilityNodeObject.h:
1621         * accessibility/AccessibilityProgressIndicator.h:
1622         * accessibility/AccessibilityRenderObject.h:
1623         * accessibility/AccessibilitySVGRoot.h:
1624         * accessibility/AccessibilityScrollView.h:
1625         * accessibility/AccessibilityScrollbar.h:
1626         * accessibility/AccessibilitySearchFieldButtons.h:
1627         * accessibility/AccessibilitySlider.h:
1628         * accessibility/AccessibilitySpinButton.h:
1629         * accessibility/AccessibilityTable.h:
1630         * accessibility/AccessibilityTableCell.h:
1631         * accessibility/AccessibilityTableColumn.h:
1632         * accessibility/AccessibilityTableHeaderContainer.h:
1633         * accessibility/AccessibilityTableRow.h:
1634         * bindings/js/JSCryptoAlgorithmBuilder.h:
1635         * bindings/js/JSCryptoKeySerializationJWK.h:
1636         * bindings/js/JSDOMGlobalObjectTask.h:
1637         * bindings/js/JSEventListener.h:
1638         * bindings/js/JSLazyEventListener.h:
1639         * bindings/js/JSMutationCallback.h:
1640         * bindings/js/PageScriptDebugServer.h:
1641         * bindings/js/ScriptDebugServer.h:
1642         * bindings/js/WebCoreTypedArrayController.h:
1643         * bindings/js/WorkerScriptDebugServer.h:
1644         * bridge/c/c_class.h:
1645         * bridge/c/c_instance.h:
1646         * bridge/c/c_runtime.h:
1647         * bridge/runtime_root.h:
1648         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
1649         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
1650         * crypto/algorithms/CryptoAlgorithmHMAC.h:
1651         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
1652         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
1653         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
1654         * crypto/algorithms/CryptoAlgorithmSHA1.h:
1655         * crypto/algorithms/CryptoAlgorithmSHA224.h:
1656         * crypto/algorithms/CryptoAlgorithmSHA256.h:
1657         * crypto/algorithms/CryptoAlgorithmSHA384.h:
1658         * crypto/algorithms/CryptoAlgorithmSHA512.h:
1659         * crypto/keys/CryptoKeyAES.h:
1660         * crypto/keys/CryptoKeyHMAC.h:
1661         * crypto/keys/CryptoKeyRSA.h:
1662         * crypto/keys/CryptoKeySerializationRaw.h:
1663         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
1664         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
1665         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
1666         * crypto/parameters/CryptoAlgorithmHmacParams.h:
1667         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
1668         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
1669         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
1670         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
1671         * css/CSSBasicShapes.h:
1672         * css/CSSCanvasValue.h:
1673         * css/CSSCharsetRule.h:
1674         * css/CSSComputedStyleDeclaration.h:
1675         * css/CSSCrossfadeValue.h:
1676         * css/CSSFilterImageValue.h:
1677         * css/CSSFontFaceRule.h:
1678         * css/CSSFontSelector.h:
1679         * css/CSSGroupingRule.h:
1680         * css/CSSHostRule.h:
1681         * css/CSSImportRule.h:
1682         * css/CSSMediaRule.h:
1683         * css/CSSPageRule.h:
1684         * css/CSSStyleRule.h:
1685         * css/CSSStyleSheet.h:
1686         * css/CSSSupportsRule.h:
1687         * css/CSSUnknownRule.h:
1688         * css/FontLoader.cpp:
1689         * css/FontLoader.h:
1690         * css/PropertySetCSSStyleDeclaration.h:
1691         * css/WebKitCSSFilterRule.h:
1692         * css/WebKitCSSKeyframeRule.h:
1693         * css/WebKitCSSKeyframesRule.h:
1694         * css/WebKitCSSRegionRule.h:
1695         * css/WebKitCSSViewportRule.h:
1696         * dom/Attr.h:
1697         * dom/BeforeTextInsertedEvent.h:
1698         * dom/BeforeUnloadEvent.h:
1699         * dom/CDATASection.h:
1700         * dom/CharacterData.h:
1701         * dom/ChildNodeList.h:
1702         * dom/Clipboard.cpp:
1703         * dom/ClipboardEvent.h:
1704         * dom/ContainerNode.h:
1705         * dom/DOMImplementation.cpp:
1706         * dom/DatasetDOMStringMap.h:
1707         * dom/DeviceMotionController.h:
1708         * dom/DeviceOrientationController.h:
1709         * dom/Document.h:
1710         * dom/DocumentEventQueue.cpp:
1711         * dom/DocumentEventQueue.h:
1712         * dom/DocumentFragment.h:
1713         * dom/Element.h:
1714         * dom/ErrorEvent.h:
1715         * dom/EventContext.h:
1716         * dom/EventTarget.h:
1717         * dom/FocusEvent.h:
1718         * dom/KeyboardEvent.h:
1719         * dom/LiveNodeList.h:
1720         * dom/MessagePort.h:
1721         * dom/MouseEvent.h:
1722         * dom/MutationRecord.cpp:
1723         * dom/Node.h:
1724         * dom/PageTransitionEvent.h:
1725         * dom/ProcessingInstruction.h:
1726         * dom/ProgressEvent.h:
1727         * dom/PseudoElement.h:
1728         * dom/ScriptExecutionContext.h:
1729         * dom/ShadowRoot.h:
1730         * dom/StaticNodeList.h:
1731         * dom/StyledElement.h:
1732         * dom/TagNodeList.h:
1733         * dom/TemplateContentDocumentFragment.h:
1734         * dom/Text.h:
1735         * dom/TextEvent.h:
1736         * dom/TouchEvent.h:
1737         * dom/TransitionEvent.h:
1738         * dom/UIEvent.h:
1739         * dom/WebKitAnimationEvent.h:
1740         * dom/WebKitNamedFlow.h:
1741         * dom/WebKitTransitionEvent.h:
1742         * editing/AppendNodeCommand.h:
1743         * editing/ApplyBlockElementCommand.h:
1744         * editing/ApplyStyleCommand.h:
1745         * editing/BreakBlockquoteCommand.h:
1746         * editing/CompositeEditCommand.h:
1747         * editing/DeleteButton.h:
1748         * editing/DeleteFromTextNodeCommand.h:
1749         * editing/EditCommand.h:
1750         * editing/InsertIntoTextNodeCommand.h:
1751         * editing/InsertNodeBeforeCommand.h:
1752         * editing/InsertTextCommand.h:
1753         * editing/MergeIdenticalElementsCommand.h:
1754         * editing/RemoveCSSPropertyCommand.h:
1755         * editing/RemoveNodeCommand.h:
1756         * editing/ReplaceNodeWithSpanCommand.h:
1757         * editing/SetNodeAttributeCommand.h:
1758         * editing/SetSelectionCommand.h:
1759         * editing/SpellChecker.h:
1760         * editing/SpellingCorrectionCommand.cpp:
1761         * editing/SpellingCorrectionCommand.h:
1762         * editing/SplitElementCommand.h:
1763         * editing/SplitTextNodeCommand.h:
1764         * editing/WrapContentsInDummySpanCommand.h:
1765         * editing/ios/EditorIOS.mm:
1766         * editing/markup.cpp:
1767         * fileapi/Blob.cpp:
1768         * fileapi/Blob.h:
1769         * fileapi/File.h:
1770         * fileapi/FileReader.h:
1771         * fileapi/FileThreadTask.h:
1772         * history/BackForwardList.h:
1773         * html/BaseButtonInputType.h:
1774         * html/BaseCheckableInputType.h:
1775         * html/BaseChooserOnlyDateAndTimeInputType.h:
1776         * html/BaseClickableWithKeyInputType.h:
1777         * html/BaseDateAndTimeInputType.h:
1778         * html/BaseTextInputType.h:
1779         * html/ButtonInputType.h:
1780         * html/CheckboxInputType.h:
1781         * html/ClassList.h:
1782         * html/ColorInputType.h:
1783         * html/DOMSettableTokenList.h:
1784         * html/DateInputType.h:
1785         * html/DateTimeInputType.h:
1786         * html/DateTimeLocalInputType.h:
1787         * html/EmailInputType.h:
1788         * html/FTPDirectoryDocument.cpp:
1789         * html/FileInputType.h:
1790         * html/FormAssociatedElement.cpp:
1791         * html/FormAssociatedElement.h:
1792         * html/HTMLAnchorElement.h:
1793         * html/HTMLAppletElement.h:
1794         * html/HTMLAreaElement.h:
1795         * html/HTMLBRElement.h:
1796         * html/HTMLBaseElement.h:
1797         * html/HTMLBodyElement.h:
1798         * html/HTMLButtonElement.h:
1799         * html/HTMLCanvasElement.h:
1800         * html/HTMLDetailsElement.cpp:
1801         * html/HTMLDetailsElement.h:
1802         * html/HTMLDivElement.h:
1803         * html/HTMLDocument.h:
1804         * html/HTMLElement.h:
1805         * html/HTMLEmbedElement.h:
1806         * html/HTMLFieldSetElement.h:
1807         * html/HTMLFontElement.h:
1808         * html/HTMLFormControlElement.h:
1809         * html/HTMLFormControlElementWithState.h:
1810         * html/HTMLFormControlsCollection.h:
1811         * html/HTMLFormElement.h:
1812         * html/HTMLFrameElement.h:
1813         * html/HTMLFrameElementBase.h:
1814         * html/HTMLFrameOwnerElement.h:
1815         * html/HTMLFrameSetElement.h:
1816         * html/HTMLHRElement.h:
1817         * html/HTMLHtmlElement.h:
1818         * html/HTMLIFrameElement.h:
1819         * html/HTMLImageElement.h:
1820         * html/HTMLImageLoader.h:
1821         * html/HTMLInputElement.cpp:
1822         * html/HTMLInputElement.h:
1823         * html/HTMLKeygenElement.h:
1824         * html/HTMLLIElement.h:
1825         * html/HTMLLabelElement.h:
1826         * html/HTMLLegendElement.h:
1827         * html/HTMLLinkElement.h:
1828         * html/HTMLMapElement.h:
1829         * html/HTMLMarqueeElement.h:
1830         * html/HTMLMediaElement.h:
1831         * html/HTMLMediaSession.h:
1832         * html/HTMLMediaSource.h:
1833         * html/HTMLMetaElement.h:
1834         * html/HTMLMeterElement.h:
1835         * html/HTMLModElement.h:
1836         * html/HTMLOListElement.h:
1837         * html/HTMLObjectElement.h:
1838         * html/HTMLOptGroupElement.h:
1839         * html/HTMLOptionElement.h:
1840         * html/HTMLOutputElement.h:
1841         * html/HTMLParagraphElement.h:
1842         * html/HTMLParamElement.h:
1843         * html/HTMLPlugInElement.h:
1844         * html/HTMLPlugInImageElement.h:
1845         * html/HTMLPreElement.h:
1846         * html/HTMLProgressElement.h:
1847         * html/HTMLQuoteElement.h:
1848         * html/HTMLScriptElement.h:
1849         * html/HTMLSelectElement.h:
1850         * html/HTMLSourceElement.h:
1851         * html/HTMLStyleElement.h:
1852         * html/HTMLSummaryElement.h:
1853         * html/HTMLTableCaptionElement.h:
1854         * html/HTMLTableCellElement.h:
1855         * html/HTMLTableColElement.h:
1856         * html/HTMLTableElement.h:
1857         * html/HTMLTablePartElement.h:
1858         * html/HTMLTableRowsCollection.h:
1859         * html/HTMLTableSectionElement.h:
1860         * html/HTMLTemplateElement.h:
1861         * html/HTMLTextAreaElement.h:
1862         * html/HTMLTextFormControlElement.h:
1863         * html/HTMLTitleElement.h:
1864         * html/HTMLTrackElement.h:
1865         * html/HTMLUListElement.h:
1866         * html/HTMLUnknownElement.h:
1867         * html/HTMLVideoElement.h:
1868         * html/HiddenInputType.h:
1869         * html/ImageDocument.cpp:
1870         * html/ImageInputType.h:
1871         * html/LabelableElement.h:
1872         * html/LabelsNodeList.h:
1873         * html/MediaController.h:
1874         * html/MonthInputType.h:
1875         * html/NumberInputType.h:
1876         * html/PasswordInputType.h:
1877         * html/PluginDocument.h:
1878         * html/RadioInputType.h:
1879         * html/RangeInputType.h:
1880         * html/ResetInputType.h:
1881         * html/SearchInputType.h:
1882         * html/SubmitInputType.h:
1883         * html/TelephoneInputType.h:
1884         * html/TextFieldInputType.h:
1885         * html/TextInputType.h:
1886         * html/TimeInputType.h:
1887         * html/URLInputType.h:
1888         * html/WeekInputType.h:
1889         * html/canvas/CanvasRenderingContext2D.cpp:
1890         * html/canvas/CanvasRenderingContext2D.h:
1891         * html/canvas/WebGLRenderingContext.h:
1892         * html/parser/HTMLDocumentParser.h:
1893         * html/parser/TextDocumentParser.h:
1894         * html/shadow/DetailsMarkerControl.h:
1895         * html/shadow/InsertionPoint.h:
1896         * html/shadow/MediaControlElementTypes.h:
1897         * html/shadow/MediaControlElements.h:
1898         * html/shadow/MediaControls.h:
1899         * html/shadow/MediaControlsApple.h:
1900         * html/shadow/MediaControlsGtk.h:
1901         * html/shadow/MeterShadowElement.h:
1902         * html/shadow/ProgressShadowElement.h:
1903         * html/shadow/SliderThumbElement.cpp:
1904         * html/shadow/SliderThumbElement.h:
1905         * html/shadow/SpinButtonElement.h:
1906         * html/shadow/TextControlInnerElements.h:
1907         * html/shadow/YouTubeEmbedShadowElement.h:
1908         * html/track/AudioTrack.h:
1909         * html/track/AudioTrackList.h:
1910         * html/track/InbandGenericTextTrack.h:
1911         * html/track/InbandTextTrack.h:
1912         * html/track/InbandWebVTTTextTrack.h:
1913         * html/track/LoadableTextTrack.h:
1914         * html/track/TextTrack.h:
1915         * html/track/TextTrackCue.h:
1916         * html/track/TextTrackCueGeneric.cpp:
1917         * html/track/TextTrackCueGeneric.h:
1918         * html/track/TextTrackList.h:
1919         * html/track/TrackListBase.h:
1920         * html/track/VideoTrack.h:
1921         * html/track/VideoTrackList.h:
1922         * html/track/WebVTTElement.h:
1923         * inspector/CommandLineAPIModule.h:
1924         * inspector/InjectedScriptCanvasModule.h:
1925         * inspector/InspectorApplicationCacheAgent.h:
1926         * inspector/InspectorCSSAgent.h:
1927         * inspector/InspectorCanvasAgent.h:
1928         * inspector/InspectorConsoleAgent.cpp:
1929         * inspector/InspectorConsoleAgent.h:
1930         * inspector/InspectorController.h:
1931         * inspector/InspectorDOMAgent.h:
1932         * inspector/InspectorDOMDebuggerAgent.h:
1933         * inspector/InspectorDOMStorageAgent.h:
1934         * inspector/InspectorDatabaseAgent.h:
1935         * inspector/InspectorDebuggerAgent.h:
1936         * inspector/InspectorHeapProfilerAgent.h:
1937         * inspector/InspectorIndexedDBAgent.cpp:
1938         * inspector/InspectorIndexedDBAgent.h:
1939         * inspector/InspectorInputAgent.h:
1940         * inspector/InspectorLayerTreeAgent.h:
1941         * inspector/InspectorMemoryAgent.h:
1942         * inspector/InspectorPageAgent.h:
1943         * inspector/InspectorProfilerAgent.h:
1944         * inspector/InspectorResourceAgent.h:
1945         * inspector/InspectorTimelineAgent.h:
1946         * inspector/InspectorWorkerAgent.h:
1947         * inspector/PageConsoleAgent.cpp:
1948         * inspector/PageConsoleAgent.h:
1949         * inspector/PageInjectedScriptHost.h:
1950         * inspector/PageInjectedScriptManager.h:
1951         * inspector/PageRuntimeAgent.h:
1952         * inspector/WorkerConsoleAgent.h:
1953         * inspector/WorkerDebuggerAgent.h:
1954         * inspector/WorkerInspectorController.h:
1955         * inspector/WorkerRuntimeAgent.h:
1956         * loader/DocumentLoader.h:
1957         * loader/EmptyClients.h:
1958         * loader/FrameNetworkingContext.h:
1959         * loader/ImageLoader.h:
1960         * loader/NavigationScheduler.cpp:
1961         * loader/NetscapePlugInStreamLoader.h:
1962         * loader/PingLoader.h:
1963         * loader/ResourceLoader.h:
1964         * loader/SubresourceLoader.h:
1965         * loader/WorkerThreadableLoader.h:
1966         * loader/appcache/ApplicationCacheGroup.cpp:
1967         * loader/appcache/ApplicationCacheGroup.h:
1968         * loader/appcache/DOMApplicationCache.h:
1969         * loader/archive/cf/LegacyWebArchive.h:
1970         * loader/cache/CachedCSSStyleSheet.h:
1971         * loader/cache/CachedFont.h:
1972         * loader/cache/CachedFontClient.h:
1973         * loader/cache/CachedImage.h:
1974         * loader/cache/CachedImageClient.h:
1975         * loader/cache/CachedRawResource.h:
1976         * loader/cache/CachedRawResourceClient.h:
1977         * loader/cache/CachedSVGDocument.h:
1978         * loader/cache/CachedSVGDocumentClient.h:
1979         * loader/cache/CachedScript.h:
1980         * loader/cache/CachedShader.h:
1981         * loader/cache/CachedStyleSheetClient.h:
1982         * loader/cache/CachedTextTrack.h:
1983         * loader/cache/CachedXSLStyleSheet.h:
1984         * loader/icon/IconLoader.h:
1985         * mathml/MathMLElement.h:
1986         * mathml/MathMLInlineContainerElement.h:
1987         * mathml/MathMLMathElement.h:
1988         * mathml/MathMLSelectElement.h:
1989         * mathml/MathMLTextElement.h:
1990         * page/CaptionUserPreferencesMediaAF.h:
1991         * page/Chrome.h:
1992         * page/DOMTimer.h:
1993         * page/DOMWindow.h:
1994         * page/DOMWindowExtension.h:
1995         * page/EventSource.h:
1996         * page/Frame.h:
1997         * page/FrameView.h:
1998         * page/PageDebuggable.h:
1999         * page/PageSerializer.cpp:
2000         * page/Performance.h:
2001         * page/SuspendableTimer.h:
2002         * page/animation/ImplicitAnimation.h:
2003         * page/animation/KeyframeAnimation.h:
2004         * page/scrolling/AsyncScrollingCoordinator.h:
2005         * page/scrolling/ScrollingConstraints.h:
2006         * page/scrolling/ScrollingStateFixedNode.h:
2007         * page/scrolling/ScrollingStateScrollingNode.h:
2008         * page/scrolling/ScrollingStateStickyNode.h:
2009         * page/scrolling/ScrollingTreeScrollingNode.h:
2010         * page/scrolling/ThreadedScrollingTree.h:
2011         * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
2012         * page/scrolling/ios/ScrollingCoordinatorIOS.h:
2013         * page/scrolling/ios/ScrollingTreeIOS.h:
2014         * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
2015         * page/scrolling/mac/ScrollingCoordinatorMac.h:
2016         * page/scrolling/mac/ScrollingTreeFixedNode.h:
2017         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
2018         * page/scrolling/mac/ScrollingTreeStickyNode.h:
2019         * pdf/ios/PDFDocument.cpp:
2020         * pdf/ios/PDFDocument.h:
2021         * platform/CalculationValue.h:
2022         * platform/ClockGeneric.h:
2023         * platform/MainThreadTask.h:
2024         * platform/PODIntervalTree.h:
2025         * platform/PODRedBlackTree.h:
2026         * platform/RefCountedSupplement.h:
2027         * platform/ScrollView.h:
2028         * platform/Scrollbar.h:
2029         * platform/Timer.h:
2030         * platform/animation/TimingFunction.h:
2031         * platform/audio/AudioDSPKernelProcessor.h:
2032         * platform/audio/EqualPowerPanner.h:
2033         * platform/audio/HRTFPanner.h:
2034         * platform/audio/ios/AudioDestinationIOS.h:
2035         * platform/audio/mac/AudioDestinationMac.h:
2036         * platform/audio/nix/AudioDestinationNix.h:
2037         * platform/efl/RenderThemeEfl.h:
2038         * platform/efl/ScrollbarEfl.h:
2039         * platform/efl/ScrollbarThemeEfl.h:
2040         * platform/graphics/AudioTrackPrivate.h:
2041         * platform/graphics/BitmapImage.h:
2042         * platform/graphics/CrossfadeGeneratedImage.h:
2043         * platform/graphics/FloatPolygon.h:
2044         * platform/graphics/GeneratedImage.h:
2045         * platform/graphics/GradientImage.h:
2046         * platform/graphics/GraphicsLayer.h:
2047         * platform/graphics/InbandTextTrackPrivate.h:
2048         * platform/graphics/MediaPlayer.cpp:
2049         * platform/graphics/SimpleFontData.h:
2050         * platform/graphics/VideoTrackPrivate.h:
2051         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
2052         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
2053         * platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
2054         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
2055         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
2056         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
2057         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
2058         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
2059         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
2060         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
2061         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
2062         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
2063         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
2064         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
2065         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
2066         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
2067         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
2068         * platform/graphics/ca/GraphicsLayerCA.h:
2069         * platform/graphics/ca/mac/PlatformCALayerMac.h:
2070         * platform/graphics/ca/mac/TileController.h:
2071         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
2072         * platform/graphics/ca/win/PlatformCALayerWin.h:
2073         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
2074         * platform/graphics/cg/PDFDocumentImage.h:
2075         * platform/graphics/efl/GraphicsContext3DPrivate.h:
2076         * platform/graphics/egl/GLContextFromCurrentEGL.h:
2077         * platform/graphics/filters/DistantLightSource.h:
2078         * platform/graphics/filters/FEComposite.h:
2079         * platform/graphics/filters/FEDisplacementMap.h:
2080         * platform/graphics/filters/FEFlood.h:
2081         * platform/graphics/filters/FilterOperation.h:
2082         * platform/graphics/filters/PointLightSource.h:
2083         * platform/graphics/filters/SpotLightSource.h:
2084         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
2085         * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
2086         * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
2087         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
2088         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
2089         * platform/graphics/ios/MediaPlayerPrivateIOS.h:
2090         * platform/graphics/ios/TextTrackRepresentationIOS.h:
2091         * platform/graphics/surfaces/GLTransportSurface.h:
2092         * platform/graphics/surfaces/egl/EGLContext.h:
2093         * platform/graphics/surfaces/egl/EGLSurface.h:
2094         * platform/graphics/surfaces/egl/EGLXSurface.h:
2095         * platform/graphics/surfaces/glx/GLXContext.h:
2096         * platform/graphics/surfaces/glx/GLXSurface.h:
2097         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
2098         * platform/graphics/texmap/TextureMapperGL.h:
2099         * platform/graphics/texmap/TextureMapperImageBuffer.h:
2100         * platform/graphics/texmap/TextureMapperLayer.h:
2101         * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
2102         * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
2103         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
2104         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h:
2105         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
2106         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
2107         * platform/graphics/texmap/coordinated/CoordinatedTile.h:
2108         * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
2109         * platform/gtk/RenderThemeGtk.h:
2110         * platform/ios/DeviceMotionClientIOS.h:
2111         * platform/ios/DeviceOrientationClientIOS.h:
2112         * platform/ios/ScrollAnimatorIOS.h:
2113         * platform/ios/ScrollbarThemeIOS.h:
2114         * platform/ios/WebSafeGCActivityCallbackIOS.h:
2115         * platform/ios/WebSafeIncrementalSweeperIOS.h:
2116         * platform/mac/PlatformClockCA.h:
2117         * platform/mac/PlatformClockCM.h:
2118         * platform/mac/ScrollAnimatorMac.h:
2119         * platform/mac/ScrollbarThemeMac.h:
2120         * platform/mediastream/MediaStreamTrackPrivate.h:
2121         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
2122         * platform/mediastream/mac/AVAudioCaptureSource.h:
2123         * platform/mediastream/mac/AVMediaCaptureSource.h:
2124         * platform/mediastream/mac/AVVideoCaptureSource.h:
2125         * platform/mediastream/mac/MediaStreamCenterMac.h:
2126         * platform/mock/DeviceMotionClientMock.h:
2127         * platform/mock/DeviceOrientationClientMock.h:
2128         * platform/mock/MockMediaStreamCenter.h:
2129         * platform/mock/RTCDataChannelHandlerMock.h:
2130         * platform/mock/RTCNotifiersMock.h:
2131         * platform/mock/RTCPeerConnectionHandlerMock.h:
2132         * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
2133         * platform/mock/mediasource/MockMediaSourcePrivate.h:
2134         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
2135         * platform/mock/mediasource/MockSourceBufferPrivate.h:
2136         * platform/network/BlobRegistryImpl.h:
2137         * platform/network/BlobResourceHandle.cpp:
2138         * platform/network/BlobResourceHandle.h:
2139         * platform/network/ResourceHandle.h:
2140         * platform/network/SynchronousLoaderClient.h:
2141         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
2142         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
2143         * platform/nix/RenderThemeNix.h:
2144         * platform/nix/ScrollbarThemeNix.h:
2145         * platform/text/LocaleICU.h:
2146         * platform/text/LocaleNone.cpp:
2147         * platform/text/PlatformLocale.cpp:
2148         * platform/text/mac/LocaleMac.h:
2149         * platform/text/win/LocaleWin.h:
2150         * platform/win/PopupMenuWin.h:
2151         * plugins/PluginView.h:
2152         * rendering/AutoTableLayout.h:
2153         * rendering/ClipPathOperation.h:
2154         * rendering/EllipsisBox.h:
2155         * rendering/FilterEffectRenderer.h:
2156         * rendering/FixedTableLayout.h:
2157         * rendering/InlineElementBox.h:
2158         * rendering/InlineFlowBox.h:
2159         * rendering/InlineTextBox.h:
2160         * rendering/RenderBlock.h:
2161         * rendering/RenderBlockFlow.h:
2162         * rendering/RenderBox.h:
2163         * rendering/RenderBoxModelObject.h:
2164         * rendering/RenderButton.h:
2165         * rendering/RenderCombineText.h:
2166         * rendering/RenderCounter.h:
2167         * rendering/RenderDeprecatedFlexibleBox.h:
2168         * rendering/RenderDetailsMarker.h:
2169         * rendering/RenderElement.h:
2170         * rendering/RenderEmbeddedObject.h:
2171         * rendering/RenderFieldset.h:
2172         * rendering/RenderFileUploadControl.h:
2173         * rendering/RenderFlexibleBox.h:
2174         * rendering/RenderFlowThread.h:
2175         * rendering/RenderFrame.h:
2176         * rendering/RenderFrameSet.h:
2177         * rendering/RenderFullScreen.h:
2178         * rendering/RenderGrid.h:
2179         * rendering/RenderHTMLCanvas.h:
2180         * rendering/RenderIFrame.h:
2181         * rendering/RenderImage.h:
2182         * rendering/RenderImageResourceStyleImage.h:
2183         * rendering/RenderInline.h:
2184         * rendering/RenderLayer.h:
2185         * rendering/RenderLayerBacking.h:
2186         * rendering/RenderLayerCompositor.h:
2187         * rendering/RenderLayerFilterInfo.h:
2188         * rendering/RenderLayerModelObject.h:
2189         * rendering/RenderLineBreak.h:
2190         * rendering/RenderListBox.h:
2191         * rendering/RenderListItem.h:
2192         * rendering/RenderListMarker.h:
2193         * rendering/RenderMedia.h:
2194         * rendering/RenderMenuList.h:
2195         * rendering/RenderMeter.h:
2196         * rendering/RenderMultiColumnBlock.h:
2197         * rendering/RenderMultiColumnFlowThread.h:
2198         * rendering/RenderMultiColumnSet.h:
2199         * rendering/RenderNamedFlowFragment.h:
2200         * rendering/RenderNamedFlowThread.h:
2201         * rendering/RenderObject.h:
2202         * rendering/RenderProgress.h:
2203         * rendering/RenderQuote.h:
2204         * rendering/RenderRegion.h:
2205         * rendering/RenderRegionSet.h:
2206         * rendering/RenderReplaced.h:
2207         * rendering/RenderReplica.h:
2208         * rendering/RenderRuby.h:
2209         * rendering/RenderRubyRun.h:
2210         * rendering/RenderRubyText.h:
2211         * rendering/RenderScrollbar.h:
2212         * rendering/RenderScrollbarPart.h:
2213         * rendering/RenderScrollbarTheme.h:
2214         * rendering/RenderSearchField.h:
2215         * rendering/RenderSlider.h:
2216         * rendering/RenderSnapshottedPlugIn.h:
2217         * rendering/RenderTable.h:
2218         * rendering/RenderTableCaption.h:
2219         * rendering/RenderTableCell.h:
2220         * rendering/RenderTableCol.h:
2221         * rendering/RenderTableRow.h:
2222         * rendering/RenderTableSection.h:
2223         * rendering/RenderText.h:
2224         * rendering/RenderTextControl.h:
2225         * rendering/RenderTextControlMultiLine.h:
2226         * rendering/RenderTextControlSingleLine.h:
2227         * rendering/RenderTextFragment.h:
2228         * rendering/RenderTextTrackCue.h:
2229         * rendering/RenderThemeIOS.h:
2230         * rendering/RenderThemeMac.h:
2231         * rendering/RenderThemeSafari.h:
2232         * rendering/RenderThemeWin.h:
2233         * rendering/RenderVideo.h:
2234         * rendering/RenderView.h:
2235         * rendering/RenderWidget.h:
2236         * rendering/RootInlineBox.h:
2237         * rendering/mathml/RenderMathMLBlock.h:
2238         * rendering/mathml/RenderMathMLFenced.h:
2239         * rendering/mathml/RenderMathMLFraction.h:
2240         * rendering/mathml/RenderMathMLMath.h:
2241         * rendering/mathml/RenderMathMLOperator.h:
2242         * rendering/mathml/RenderMathMLRoot.h:
2243         * rendering/mathml/RenderMathMLRow.h:
2244         * rendering/mathml/RenderMathMLScripts.h:
2245         * rendering/mathml/RenderMathMLSpace.h:
2246         * rendering/mathml/RenderMathMLSquareRoot.h:
2247         * rendering/mathml/RenderMathMLUnderOver.h:
2248         * rendering/shapes/BoxShape.h:
2249         * rendering/shapes/PolygonShape.h:
2250         * rendering/shapes/RasterShape.h:
2251         * rendering/shapes/RectangleShape.h:
2252         * rendering/shapes/ShapeInsideInfo.h:
2253         * rendering/shapes/ShapeOutsideInfo.h:
2254         * rendering/style/BasicShapes.h:
2255         * rendering/style/ContentData.h:
2256         * rendering/style/StyleCachedImage.h:
2257         * rendering/style/StyleCachedImageSet.h:
2258         * rendering/style/StyleGeneratedImage.h:
2259         * rendering/style/StylePendingImage.h:
2260         * rendering/svg/RenderSVGBlock.h:
2261         * rendering/svg/RenderSVGContainer.h:
2262         * rendering/svg/RenderSVGForeignObject.h:
2263         * rendering/svg/RenderSVGGradientStop.h:
2264         * rendering/svg/RenderSVGHiddenContainer.h:
2265         * rendering/svg/RenderSVGImage.h:
2266         * rendering/svg/RenderSVGInline.h:
2267         * rendering/svg/RenderSVGInlineText.h:
2268         * rendering/svg/RenderSVGModelObject.h:
2269         * rendering/svg/RenderSVGPath.h:
2270         * rendering/svg/RenderSVGResourceClipper.h:
2271         * rendering/svg/RenderSVGResourceContainer.h:
2272         * rendering/svg/RenderSVGResourceFilter.h:
2273         * rendering/svg/RenderSVGResourceGradient.h:
2274         * rendering/svg/RenderSVGResourceLinearGradient.h:
2275         * rendering/svg/RenderSVGResourceMarker.h:
2276         * rendering/svg/RenderSVGResourceMasker.h:
2277         * rendering/svg/RenderSVGResourcePattern.h:
2278         * rendering/svg/RenderSVGResourceRadialGradient.h:
2279         * rendering/svg/RenderSVGResourceSolidColor.h:
2280         * rendering/svg/RenderSVGRoot.h:
2281         * rendering/svg/RenderSVGShape.cpp:
2282         * rendering/svg/RenderSVGShape.h:
2283         * rendering/svg/RenderSVGText.h:
2284         * rendering/svg/RenderSVGTextPath.h:
2285         * rendering/svg/RenderSVGViewportContainer.h:
2286         * rendering/svg/SVGInlineFlowBox.h:
2287         * rendering/svg/SVGInlineTextBox.h:
2288         * rendering/svg/SVGRootInlineBox.h:
2289         * rendering/svg/SVGTextRunRenderingContext.h:
2290         * storage/StorageAreaImpl.h:
2291         * storage/StorageNamespaceImpl.h:
2292         * svg/SVGAElement.h:
2293         * svg/SVGAltGlyphDefElement.h:
2294         * svg/SVGAltGlyphElement.h:
2295         * svg/SVGAltGlyphItemElement.h:
2296         * svg/SVGAnimateElement.h:
2297         * svg/SVGAnimateMotionElement.h:
2298         * svg/SVGAnimateTransformElement.h:
2299         * svg/SVGAnimatedAngle.h:
2300         * svg/SVGAnimatedBoolean.h:
2301         * svg/SVGAnimatedColor.h:
2302         * svg/SVGAnimatedEnumeration.h:
2303         * svg/SVGAnimatedInteger.h:
2304         * svg/SVGAnimatedIntegerOptionalInteger.h:
2305         * svg/SVGAnimatedLength.h:
2306         * svg/SVGAnimatedLengthList.h:
2307         * svg/SVGAnimatedNumber.h:
2308         * svg/SVGAnimatedNumberList.h:
2309         * svg/SVGAnimatedNumberOptionalNumber.h:
2310         * svg/SVGAnimatedPath.h:
2311         * svg/SVGAnimatedPointList.h:
2312         * svg/SVGAnimatedPreserveAspectRatio.h:
2313         * svg/SVGAnimatedRect.h:
2314         * svg/SVGAnimatedString.h:
2315         * svg/SVGAnimatedTransformList.h:
2316         * svg/SVGAnimationElement.h:
2317         * svg/SVGCircleElement.h:
2318         * svg/SVGClipPathElement.h:
2319         * svg/SVGComponentTransferFunctionElement.h:
2320         * svg/SVGCursorElement.h:
2321         * svg/SVGDefsElement.h:
2322         * svg/SVGDocument.h:
2323         * svg/SVGElement.h:
2324         * svg/SVGElementInstance.h:
2325         * svg/SVGEllipseElement.h:
2326         * svg/SVGFEBlendElement.h:
2327         * svg/SVGFEColorMatrixElement.h:
2328         * svg/SVGFEComponentTransferElement.h:
2329         * svg/SVGFECompositeElement.h:
2330         * svg/SVGFEConvolveMatrixElement.h:
2331         * svg/SVGFEDiffuseLightingElement.h:
2332         * svg/SVGFEDisplacementMapElement.h:
2333         * svg/SVGFEDropShadowElement.h:
2334         * svg/SVGFEGaussianBlurElement.h:
2335         * svg/SVGFEImageElement.h:
2336         * svg/SVGFELightElement.h:
2337         * svg/SVGFEMergeNodeElement.h:
2338         * svg/SVGFEMorphologyElement.h:
2339         * svg/SVGFEOffsetElement.h:
2340         * svg/SVGFESpecularLightingElement.h:
2341         * svg/SVGFETileElement.h:
2342         * svg/SVGFETurbulenceElement.h:
2343         * svg/SVGFilterElement.h:
2344         * svg/SVGFilterPrimitiveStandardAttributes.h:
2345         * svg/SVGFontElement.h:
2346         * svg/SVGFontFaceElement.h:
2347         * svg/SVGFontFaceFormatElement.h:
2348         * svg/SVGFontFaceNameElement.h:
2349         * svg/SVGFontFaceSrcElement.h:
2350         * svg/SVGFontFaceUriElement.h:
2351         * svg/SVGForeignObjectElement.h:
2352         * svg/SVGGElement.h:
2353         * svg/SVGGlyphElement.h:
2354         * svg/SVGGlyphRefElement.h:
2355         * svg/SVGGradientElement.h:
2356         * svg/SVGGraphicsElement.h:
2357         * svg/SVGHKernElement.h:
2358         * svg/SVGImageElement.h:
2359         * svg/SVGLineElement.h:
2360         * svg/SVGLinearGradientElement.h:
2361         * svg/SVGMPathElement.h:
2362         * svg/SVGMarkerElement.h:
2363         * svg/SVGMaskElement.h:
2364         * svg/SVGMetadataElement.h:
2365         * svg/SVGPathElement.h:
2366         * svg/SVGPathStringBuilder.h:
2367         * svg/SVGPatternElement.h:
2368         * svg/SVGPolyElement.h:
2369         * svg/SVGRadialGradientElement.h:
2370         * svg/SVGRectElement.h:
2371         * svg/SVGSVGElement.h:
2372         * svg/SVGScriptElement.h:
2373         * svg/SVGSetElement.h:
2374         * svg/SVGStopElement.h:
2375         * svg/SVGStyleElement.h:
2376         * svg/SVGSwitchElement.h:
2377         * svg/SVGSymbolElement.h:
2378         * svg/SVGTRefElement.cpp:
2379         * svg/SVGTRefElement.h:
2380         * svg/SVGTSpanElement.h:
2381         * svg/SVGTextContentElement.h:
2382         * svg/SVGTextElement.h:
2383         * svg/SVGTextPathElement.h:
2384         * svg/SVGTextPositioningElement.h:
2385         * svg/SVGTitleElement.h:
2386         * svg/SVGTransformable.h:
2387         * svg/SVGUnknownElement.h:
2388         * svg/SVGUseElement.h:
2389         * svg/SVGVKernElement.h:
2390         * svg/SVGViewElement.h:
2391         * svg/animation/SVGSMILElement.h:
2392         * svg/graphics/SVGImage.h:
2393         * svg/graphics/SVGImageForContainer.h:
2394         * svg/graphics/filters/SVGFilter.h:
2395         * svg/properties/SVGAnimatedListPropertyTearOff.h:
2396         * svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
2397         * svg/properties/SVGListPropertyTearOff.h:
2398         * svg/properties/SVGPathSegListPropertyTearOff.h:
2399         * svg/properties/SVGPropertyTearOff.h:
2400         * testing/InternalSettings.cpp:
2401         * testing/Internals.cpp:
2402         * testing/MockCDM.cpp:
2403         * testing/MockCDM.h:
2404         * workers/AbstractWorker.h:
2405         * workers/DedicatedWorkerGlobalScope.h:
2406         * workers/DedicatedWorkerThread.h:
2407         * workers/SharedWorker.h:
2408         * workers/SharedWorkerGlobalScope.h:
2409         * workers/SharedWorkerThread.h:
2410         * workers/Worker.h:
2411         * workers/WorkerEventQueue.cpp:
2412         * workers/WorkerEventQueue.h:
2413         * workers/WorkerGlobalScope.h:
2414         * workers/WorkerMessagingProxy.h:
2415         * workers/WorkerObjectProxy.h:
2416         * workers/WorkerScriptLoader.h:
2417         * workers/WorkerThread.cpp:
2418         * xml/XMLHttpRequest.h:
2419         * xml/XMLHttpRequestUpload.h:
2420         * xml/XPathFunctions.cpp:
2421         * xml/XPathPath.h:
2422         * xml/XPathPredicate.h:
2423         * xml/XSLStyleSheet.h:
2424
2425 2014-01-16  Beth Dakin  <bdakin@apple.com>
2426
2427         Speculative Win Cairo build fix.
2428
2429         These need to be inside an ifdef.
2430         * page/FrameView.cpp:
2431         (WebCore::FrameView::hasExtendedBackground):
2432         (WebCore::FrameView::extendedBackgroundRect):
2433
2434 2014-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
2435
2436         text-emphasis-position CSS property doesn't recognize 'left' and 'right'
2437         https://bugs.webkit.org/show_bug.cgi?id=126611
2438
2439         Reviewed by Simon Fraser.
2440
2441         This patch allows the text-emphasis-position to accept the "left" and
2442         "right" CSS values. In horizontal writing modes, these values no not
2443         change behavior. In vertical writing modes, however, these values specify
2444         which side to place the emphasis mark. Similarly, in vertical writing
2445         modes, the "above" and "below" values should not change behavior.
2446
2447         However, in order to keep existing behavior, if neither "left" nor "right"
2448         is specified, we should draw as if the appropriate value were
2449         specified ("over" -> "right" and "under" -> "left"). Note that this
2450         will have to be updated when we implement the
2451         "text-orientation: sideways-left" CSS property.
2452
2453         Tests: fast/text/emphasis-horizontal-left-right.html
2454                fast/text/emphasis-vertical-over-right.html
2455                fast/text/emphasis-vertical-over-under.html
2456
2457         * css/CSSComputedStyleDeclaration.cpp:
2458         (WebCore::renderEmphasisPositionFlagsToCSSValue):
2459         (WebCore::ComputedStyleExtractor::propertyValue):
2460         * css/CSSParser.cpp:
2461         (WebCore::isValidKeywordPropertyAndValue):
2462         (WebCore::isKeywordPropertyID):
2463         (WebCore::CSSParser::parseValue):
2464         (WebCore::CSSParser::parseTextEmphasisPosition):
2465         * css/CSSParser.h:
2466         * css/CSSPrimitiveValueMappings.h:
2467         * css/DeprecatedStyleBuilder.cpp:
2468         (WebCore::valueToEmphasisPosition):
2469         (WebCore::ApplyPropertyTextEmphasisPosition::applyValue):
2470         (WebCore::ApplyPropertyTextEmphasisPosition::createHandler):
2471         (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
2472         * rendering/InlineFlowBox.cpp:
2473         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
2474         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
2475         (WebCore::InlineFlowBox::computeOverAnnotationAdjustment):
2476         (WebCore::InlineFlowBox::computeUnderAnnotationAdjustment):
2477         * rendering/InlineTextBox.cpp:
2478         (WebCore::InlineTextBox::emphasisMarkExistsAndIsAbove):
2479         (WebCore::InlineTextBox::paint):
2480         * rendering/InlineTextBox.h:
2481         * rendering/style/RenderStyle.h:
2482         * rendering/style/RenderStyleConstants.h:
2483         * rendering/style/StyleRareInheritedData.cpp:
2484         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
2485         * rendering/style/StyleRareInheritedData.h:
2486
2487 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
2488
2489         AX: WebKit is not firing AXMenuOpenedNotification
2490         https://bugs.webkit.org/show_bug.cgi?id=126993
2491
2492         Reviewed by Mario Sanchez Prada.
2493
2494         To monitor for menu open notifications, we need to know which children are added to
2495         the render tree, so the childrenChanged() method has been updated to allow for that.
2496         Once we know the new child, we can then check what kind of role it has.
2497
2498         I also found a flakiness issue with DRT where posting a notification back to DRT
2499         would sometimes cause a new notification to be queued, which would then be lost when the
2500         queue was cleared. This was fixed by copying the notifications to post before iterating them.
2501
2502         Test: platform/mac/accessibility/aria-menu-open-notification.html
2503
2504         * accessibility/AXObjectCache.cpp:
2505         (WebCore::AXObjectCache::checkForOpenMenu):
2506         (WebCore::AXObjectCache::childrenChanged):
2507         (WebCore::AXObjectCache::notificationPostTimerFired):
2508         * accessibility/AXObjectCache.h:
2509         (WebCore::AXObjectCache::childrenChanged):
2510         * accessibility/AccessibilityNodeObject.h:
2511         * accessibility/mac/AXObjectCacheMac.mm:
2512         (WebCore::AXObjectCache::postPlatformNotification):
2513         * rendering/RenderElement.cpp:
2514         (WebCore::RenderElement::insertChildInternal):
2515         (WebCore::RenderElement::styleWillChange):
2516
2517 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
2518
2519         AX: WebKit is not firing AXMenuItemSelectedNotification
2520         https://bugs.webkit.org/show_bug.cgi?id=127081
2521
2522         Reviewed by Mario Sanchez Prada.
2523
2524         Monitor for when a menu item either gains focus() or has aria-selected set,
2525         in which case, we need to fire a specific notification.
2526
2527         Test: platform/mac/accessibility/aria-menu-item-selected-notification.html
2528
2529         * accessibility/AXObjectCache.cpp:
2530         (WebCore::nodeHasRole):
2531             This method was declared in the header, but never implemented, leading to compilation issues.
2532         (WebCore::AXObjectCache::handleMenuItemSelected):
2533         (WebCore::AXObjectCache::handleFocusedUIElementChanged):
2534             Allow the core class to handle focus changes first, then pass off to platform
2535         (WebCore::AXObjectCache::selectedChildrenChanged):
2536         * accessibility/AXObjectCache.h:
2537         * accessibility/ios/AXObjectCacheIOS.mm:
2538         (WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
2539         * accessibility/mac/AXObjectCacheMac.mm:
2540         (WebCore::AXObjectCache::postPlatformNotification):
2541         (WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
2542         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
2543         (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):
2544             Allow menu items to expose a description attribute.
2545
2546 2014-01-16  Andy Estes  <aestes@apple.com>
2547
2548         [iOS] Fix build issues with exported headers
2549
2550         * Configurations/WebCore.xcconfig: Allowed UIKit to link against
2551         WebCore.
2552         * page/ios/WebEventRegion.h: Removed ENABLE(TOUCH_EVENTS), which are
2553         always enabled on iOS.
2554
2555 2014-01-16  Dirk Schulze  <krit@webkit.org>
2556
2557         Rename functions in SVGDocumentExtension
2558         https://bugs.webkit.org/show_bug.cgi?id=127046
2559
2560         Reviewed by Sam Weinig.
2561
2562         Change some function names in SVGDocumentExtension
2563         to make them more descriptive.
2564
2565         Simple refactoring. No new tests.
2566
2567         * rendering/svg/RenderSVGResourceContainer.cpp:
2568         (WebCore::RenderSVGResourceContainer::registerResource):
2569         * svg/SVGDocumentExtensions.cpp:
2570         (WebCore::SVGDocumentExtensions::addPendingResource):
2571         (WebCore::SVGDocumentExtensions::isIdOfPendingResource):
2572         (WebCore::SVGDocumentExtensions::isElementWithPendingResources):
2573         (WebCore::SVGDocumentExtensions::isPendingResource):
2574         (WebCore::SVGDocumentExtensions::clearHasPendingResourcesIfPossible):
2575         (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
2576         (WebCore::SVGDocumentExtensions::removePendingResource):
2577         (WebCore::SVGDocumentExtensions::removePendingResourceForRemoval):
2578         (WebCore::SVGDocumentExtensions::markPendingResourcesForRemoval):
2579         (WebCore::SVGDocumentExtensions::removeElementFromPendingResourcesForRemovalMap): The name is not great but a bit more descriptive.
2580         * svg/SVGDocumentExtensions.h:
2581         * svg/SVGElement.cpp:
2582         (WebCore::SVGElement::buildPendingResourcesIfNeeded):
2583         * svg/SVGMPathElement.cpp:
2584         (WebCore::SVGMPathElement::buildPendingResource):
2585         * svg/SVGTextPathElement.cpp:
2586         (WebCore::SVGTextPathElement::buildPendingResource):
2587         * svg/animation/SVGSMILElement.cpp:
2588         (WebCore::SVGSMILElement::buildPendingResource):
2589
2590 2014-01-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2591
2592         [GTK][EFL][NIX] Do not use PrintContext, Frame and DocumentLoader in Errors
2593         https://bugs.webkit.org/show_bug.cgi?id=127047
2594
2595         Reviewed by Martin Robinson.
2596
2597         Using PrintContext, Frame and DocumentLoader in platform is a
2598         layering violation.
2599         Change printing error methods to receive a failing URL instead of
2600         receiving a PrintContext that was used only to get the failing
2601         URL.
2602
2603         * platform/efl/ErrorsEfl.cpp:
2604         (WebCore::printError):
2605         (WebCore::printerNotFoundError):
2606         (WebCore::invalidPageRangeToPrint):
2607         * platform/efl/ErrorsEfl.h:
2608         * platform/gtk/ErrorsGtk.cpp:
2609         (WebCore::printError):
2610         (WebCore::printerNotFoundError):
2611         (WebCore::invalidPageRangeToPrint):
2612         * platform/gtk/ErrorsGtk.h:
2613         * platform/nix/ErrorsNix.cpp:
2614         (WebCore::printError):
2615         (WebCore::printerNotFoundError):
2616         (WebCore::invalidPageRangeToPrint):
2617         * platform/nix/ErrorsNix.h:
2618
2619 2014-01-15  Mihnea Ovidenie  <mihnea@adobe.com>
2620
2621         [CSS Regions] Enable accelerated compositing for fixed elements in named flows
2622         https://bugs.webkit.org/show_bug.cgi?id=125144
2623
2624         Reviewed by David Hyatt.
2625
2626         Add support for compositing for fixed positioned element that are collected
2627         inside a named flow. Prior to this patch, the fixed positioned elements were
2628         positioned and sized properly but only in the non-compositing scenario.
2629
2630         Tests: compositing/regions/abs-in-named-flow-from-fixed-in-named-flow.html
2631                compositing/regions/fixed-in-diff-named-flows-zIndex.html
2632                compositing/regions/fixed-in-named-flow-clip-descendant.html
2633                compositing/regions/fixed-in-named-flow-from-abs-in-named-flow.html
2634                compositing/regions/fixed-in-named-flow-from-outflow.html
2635                compositing/regions/fixed-in-named-flow-got-transformed-parent.html
2636                compositing/regions/fixed-in-named-flow-lost-transformed-parent.html
2637                compositing/regions/fixed-in-named-flow-overlap-composited.html
2638                compositing/regions/fixed-in-named-flow-position-changed.html
2639                compositing/regions/fixed-in-named-flow-transformed-parent.html
2640                compositing/regions/fixed-in-named-flow-zIndex.html
2641                compositing/regions/fixed-in-named-flow.html
2642                compositing/regions/fixed-transformed-in-named-flow.html
2643
2644         * rendering/RenderFlowThread.cpp:
2645         (WebCore::RenderFlowThread::regionForCompositedLayer):
2646         * rendering/RenderLayerCompositor.cpp:
2647         (WebCore::RenderLayerCompositor::computeCompositingRequirementsForNamedFlowFixed):
2648         (WebCore::RenderLayerCompositor::computeCompositingRequirements):
2649         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTreeForNamedFlowFixed):
2650         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
2651         (WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
2652         (WebCore::RenderLayerCompositor::requiresCompositingForPosition):
2653         * rendering/RenderLayerCompositor.h:
2654         * rendering/RenderNamedFlowFragment.h:
2655         * rendering/RenderNamedFlowThread.h:
2656
2657 2014-01-15  Benjamin Poulain  <bpoulain@apple.com>
2658
2659         Fix the iOS build after r162114
2660
2661         Unreviewed.
2662
2663         * WebCore.exp.in: Move the symbol to the right section and add the missing symbols for iOS.
2664
2665 2014-01-15  Mihai Maerean  <mmaerean@adobe.com>
2666
2667         [CSS Regions] Fix painting when the composited region has overflow:hidden
2668         https://bugs.webkit.org/show_bug.cgi?id=124887
2669
2670         Reviewed by Alexandru Chiculita.
2671
2672         When the layer of the region is composited, the region receives a GraphicsLayer of its own
2673         so the clipping coordinates (caused by overflow:hidden) must be relative to the
2674         GraphicsLayer coordinates in which the region gets painted.
2675
2676         Also, while the painting is done relative to the location of the region's content box, the
2677         clipping is bound to the padding box of the region.
2678
2679         Tests: compositing/regions/paint-inside-composited-region-overflow-hidden-versus-div.html
2680                compositing/regions/paint-inside-composited-region-overflow-hidden-versus-region.html
2681
2682         * rendering/RenderLayer.cpp:
2683         (WebCore::RenderLayer::paintFlowThreadIfRegion):
2684
2685 2014-01-15  Benjamin Poulain  <bpoulain@apple.com>
2686
2687         Move user agent code to WebCore and unify some code between OS X and iOS
2688         https://bugs.webkit.org/show_bug.cgi?id=127080
2689
2690         Reviewed by Sam Weinig.
2691
2692         Move the duplicated code from WebView and WebPageProxy to two files
2693         in WebCore: UserAgentMac and UserAgentIOS.
2694
2695         * Configurations/WebCore.xcconfig:
2696         * WebCore.exp.in:
2697         * WebCore.xcodeproj/project.pbxproj:
2698         * page/ios/UserAgentIOS.mm: Added.
2699         (WebCore::platformSystemRootDirectory):
2700         (WebCore::osMarketingVersion):
2701         (WebCore::standardUserAgentWithApplicationName):
2702         * page/mac/UserAgent.h: Added.
2703         * page/mac/UserAgentMac.mm: Added.
2704         (WebCore::systemMarketingVersionForUserAgentString):
2705         (WebCore::standardUserAgentWithApplicationName):
2706         * platform/ios/WebCoreSystemInterfaceIOS.h:
2707         * platform/ios/WebCoreSystemInterfaceIOS.mm:
2708
2709 2014-01-15  Sam Weinig  <sam@webkit.org>
2710
2711         Fix windows build.
2712
2713         * platform/text/TextAllInOne.cpp:
2714
2715 2014-01-15  Joseph Pecoraro  <pecoraro@apple.com>
2716
2717         [iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge
2718         https://bugs.webkit.org/show_bug.cgi?id=127069
2719
2720         Reviewed by Timothy Hatcher.
2721
2722         * WebCore.exp.in:
2723
2724 2014-01-15  Sam Weinig  <sam@webkit.org>
2725
2726         TextBreakIterator's should support Latin-1 for all iterator types (Part 2)
2727         https://bugs.webkit.org/show_bug.cgi?id=126856
2728
2729         Reviewed by Ryosuke Niwa.
2730
2731         Move the contents of TextBreakIteratorICU.cpp to TextBreakIterator.cpp and remove TextBreakIteratorICU.cpp.
2732
2733         * CMakeLists.txt:
2734         * GNUmakefile.list.am:
2735         * PlatformGTK.cmake:
2736         * WebCore.vcxproj/WebCore.vcxproj:
2737         * WebCore.vcxproj/WebCore.vcxproj.filters:
2738         * WebCore.xcodeproj/project.pbxproj:
2739         * platform/text/TextBreakIterator.cpp:
2740         * platform/text/TextBreakIteratorICU.cpp: Removed.
2741
2742 2014-01-15  Eric Carlson  <eric.carlson@apple.com>
2743
2744         MediaSessionManager shouldn't use std::map
2745         https://bugs.webkit.org/show_bug.cgi?id=127003
2746
2747         Reviewed by Sam Weinig.
2748
2749         No new tests, no functional change.
2750
2751         Use an array instead of std::map.
2752         * platform/audio/MediaSessionManager.cpp:
2753         (WebCore::MediaSessionManager::MediaSessionManager):
2754         (WebCore::MediaSessionManager::addRestriction):
2755         (WebCore::MediaSessionManager::removeRestriction):
2756         (WebCore::MediaSessionManager::restrictions):
2757         (WebCore::MediaSessionManager::sessionWillBeginPlayback):
2758         * platform/audio/MediaSessionManager.h:
2759
2760 2014-01-15  Gavin Barraclough  <barraclough@apple.com>
2761
2762         Change Page, FocusController to use ViewState
2763         https://bugs.webkit.org/show_bug.cgi?id=126533
2764
2765         Unreviewed rollout, this caused a regression.
2766
2767         * WebCore.exp.in:
2768         * page/FocusController.cpp:
2769         (WebCore::FocusController::FocusController):
2770         (WebCore::FocusController::setFocused):
2771         (WebCore::FocusController::setActive):
2772         (WebCore::FocusController::setContentIsVisible):
2773         * page/FocusController.h:
2774         (WebCore::FocusController::isActive):
2775         (WebCore::FocusController::isFocused):
2776         * page/Page.cpp:
2777         (WebCore::Page::Page):
2778         (WebCore::Page::setIsInWindow):
2779         (WebCore::Page::setIsVisuallyIdle):
2780         (WebCore::Page::setIsVisible):
2781         (WebCore::Page::visibilityState):
2782         (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
2783         * page/Page.h:
2784         (WebCore::Page::isVisible):
2785         (WebCore::Page::isInWindow):
2786
2787 2014-01-15  Brent Fulgham  <bfulgham@apple.com>
2788
2789         [WebGL] Resizing and entering/exiting full screen draws garbage
2790         https://bugs.webkit.org/show_bug.cgi?id=127077
2791
2792         Reviewed by Dean Jackson.
2793
2794         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
2795         (WebCore::GraphicsContext3D::reshapeFBOs): Simplified logic regarding FBO switching.
2796         (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary): Make sure a few things
2797         are turned off that might affect blitting data from one FBO to another.
2798         * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
2799         (WebCore::GraphicsContext3D::prepareTexture): Actually turn dithering off!
2800         (WebCore::GraphicsContext3D::reshape): Mark the context as dirty when resizing so that
2801         the GL view is redrawn during resizing events.
2802
2803 2014-01-15  Roger Fong  <roger_fong@apple.com>
2804
2805         Remove unnecessary call to webGLContextCreated
2806         https://bugs.webkit.org/show_bug.cgi?id=127000
2807
2808         Reviewed by Brent Fulgham.
2809
2810         Note that the functionality of webGLContextCreated will be handled by webGLPolicyForSite now.
2811
2812         Tests: Unskipping tests skipped in r162002.
2813
2814         * html/HTMLCanvasElement.cpp: Remove webGLContextCreated call.
2815         (WebCore::HTMLCanvasElement::getContext):
2816         * loader/FrameLoaderClient.h:
2817         Have the returned load policy default to WebGLAllow so as to not break clients that don't implement the method.
2818         (WebCore::FrameLoaderClient::webGLPolicyForSite):
2819         webGLPolicyForSite is now assuming the role of webGLContextCreated as well, pass in the whole site URL instead of just the host.
2820         * page/ChromeClient.h: Remove webGLContextCreated method.
2821         (WebCore::ChromeClient::decrementActivePageCount):
2822
2823 2014-01-15  Beth Dakin  <bdakin@apple.com>
2824
2825         Repeating background images should continue into margin tiles
2826         https://bugs.webkit.org/show_bug.cgi?id=127021
2827         -and corresponding-
2828         <rdar://problem/15571300>
2829
2830         Reviewed by Simon Fraser.
2831
2832         This patch makes repeating background images continue into margin tiles. 
2833
2834         RenderObject::repaintRectangle() now takes an addition bool parameter which 
2835         indicates whether or not the repaint rect should be clipped to the layer size.
2836         * WebCore.exp.in:
2837
2838         These new functions on FrameView provide a way for code in the render tree to know 
2839         if the TiledBacking has a margin. tiledBacking() is now const. It should have 
2840         always been const, and it needs to be const to make these new functions const.
2841         * page/FrameView.cpp:
2842         (WebCore::FrameView::tiledBacking):
2843         (WebCore::FrameView::hasExtendedBackground):
2844         (WebCore::FrameView::extendedBackgroundRect):
2845         * page/FrameView.h:
2846         * platform/ScrollableArea.h:
2847         (WebCore::ScrollableArea::tiledBacking):
2848
2849         If we’re painting the root background and it is an extended background, we need to 
2850         inflate the repaint rect to span the extended background. 
2851         * rendering/RenderBox.cpp:
2852         (WebCore::RenderBox::repaintLayerRectsForImage):
2853
2854         To get the phase right on repeated background images on a page with margin tiles, 
2855         we need to make sure we factor the size of the margin tiles into the left and top 
2856         values that we use when calculating background image geometry.
2857         * rendering/RenderBoxModelObject.cpp:
2858         (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
2859
2860         setBackingNeedsRepaintInRect() now takes GraphicsLayer::ShouldClipToLayer as a 
2861         parameter, just like setBackingNeedsRepaint(). 
2862         * rendering/RenderLayer.cpp:
2863         (WebCore::RenderLayer::calculateClipRects):
2864
2865         setContentsNeedDisplayInRect() also takes a GraphicsLayer::ShouldClipToLayer now, 
2866         and it passes that information down to the GraphicsLayer.
2867         * rendering/RenderLayer.h:
2868         * rendering/RenderLayerBacking.cpp:
2869         (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
2870         * rendering/RenderLayerBacking.h:
2871
2872         These two RenderObject functions now take an optional bool parameter which 
2873         indicates whether or not the rect should be clipped to the layer size. They use a 
2874         bool instead of the GraphicsLayer enum in order to avoid including GraphicsLayer.h 
2875         from within RenderObject.h. This seems like a simpler solution than adding a new 
2876         stand-alone file for this very simple enum.
2877         * rendering/RenderObject.cpp:
2878         (WebCore::RenderObject::repaintUsingContainer):
2879         (WebCore::RenderObject::repaintRectangle):
2880         * rendering/RenderObject.h:
2881
2882         RenderView::backgroundRect needs to return the extendedBackgroundRect when it had 
2883         one.
2884         * rendering/RenderView.cpp:
2885         (WebCore::RenderView::backgroundRect):
2886
2887 2014-01-15  Brian Burg  <bburg@apple.com>
2888
2889         Web Inspector: capture probe samples on the backend
2890         https://bugs.webkit.org/show_bug.cgi?id=126668
2891
2892         Reviewed by Joseph Pecoraro.
2893
2894         Test: inspector-protocol/debugger/setProbe-multiple-actions.html
2895
2896         Add the probe breakpoint action type. A probe action
2897         evaluates an expression on the script call frame, and
2898         the result is aggregated on a per-probe basis. Each
2899         evaluated expression result is called a probe sample.
2900
2901         * bindings/js/ScriptDebugServer.cpp:
2902         (WebCore::ScriptDebugServer::evaluateBreakpointAction): Teach
2903         the debug server to evaluate a probe.
2904
2905         (WebCore::ScriptDebugServer::dispatchDidSampleProbe): Added.
2906         (WebCore::ScriptDebugServer::handleBreakpointHit): Increment a hit count.
2907         (WebCore::ScriptDebugServer::getActionsForBreakpoint):
2908         * bindings/js/ScriptDebugServer.h:
2909         * inspector/InspectorDebuggerAgent.cpp:
2910         (WebCore::objectGroupForBreakpointAction): Added. Create an object
2911         group for each breakpoint action. Currently only probes make objects.
2912         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
2913         (WebCore::InspectorDebuggerAgent::disable):
2914         (WebCore::InspectorDebuggerAgent::enable): Remove stale comment.
2915         (WebCore::breakpointActionTypeForString): Add new case.
2916         (WebCore::InspectorDebuggerAgent::breakpointActionsFromProtocol): Make
2917         this a member function instead of a static function, so it can increment
2918         the breakpoint action identifier counter.
2919         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl): Propagate the
2920         assigned breakpoint action identifiers.
2921         (WebCore::InspectorDebuggerAgent::setBreakpoint): Propagate the
2922         assigned breakpoint action identifiers.
2923         (WebCore::InspectorDebuggerAgent::removeBreakpoint): Release object
2924         groups for any actions that were associated with the removed breakpoint.
2925         (WebCore::InspectorDebuggerAgent::didSampleProbe): Added.
2926         (WebCore::InspectorDebuggerAgent::clearResolvedBreakpointState): Renamed from clear().
2927         (WebCore::InspectorDebuggerAgent::didClearGlobalObject): Renamed from reset().
2928         * inspector/InspectorDebuggerAgent.h:
2929         * inspector/PageDebuggerAgent.cpp:
2930         (WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
2931         * inspector/ScriptBreakpoint.h:
2932         (WebCore::ScriptBreakpointAction::ScriptBreakpointAction): Add identifier member.
2933         * inspector/ScriptDebugListener.h:
2934
2935 2014-01-15  Brent Fulgham  <bfulgham@apple.com>
2936
2937         [WebGL] Validation function for compressed formats incorrect
2938         https://bugs.webkit.org/show_bug.cgi?id=127023
2939
2940         Reviewed by Dean Jackson.
2941
2942         No new tests. Covered by existing WebGL compressed texture tests.
2943
2944         * html/canvas/WebGLRenderingContext.cpp:
2945         (WebCore::WebGLRenderingContext::validateCompressedTexFuncData): Revise to match specifications.
2946
2947 2014-01-15  Andreas Kling  <akling@apple.com>
2948
2949         Remove the CSS selector profiler.
2950         <https://webkit.org/b/127039>
2951
2952         The selector profiler was painting a mostly fictional picture of what
2953         selectors we were spending time on. It never really grokked the fast
2954         path selectors, nor did it understand recent additions like the extra
2955         cascading pass or the selector JIT.
2956
2957         Somewhat ironically, this may end up making some selectors run faster
2958         since it removes a number of brances in hot code.
2959
2960         Reviewed by Sam Weinig.
2961
2962         * css/ElementRuleCollector.cpp:
2963         (WebCore::ElementRuleCollector::collectMatchingRulesForList):
2964         * css/ElementRuleCollector.h:
2965         * inspector/InspectorCSSAgent.cpp:
2966         (WebCore::InspectorCSSAgent::willDestroyFrontendAndBackend):
2967         * inspector/InspectorCSSAgent.h:
2968         * inspector/InspectorInstrumentation.cpp:
2969         * inspector/InspectorInstrumentation.h:
2970         * inspector/protocol/CSS.json:
2971
2972 2014-01-15  Frédéric Wang  <fred.wang@free.fr>
2973
2974         [SVG] Accept HTML and MathML namespaces as valid requiredExtensions
2975         https://bugs.webkit.org/show_bug.cgi?id=88188
2976
2977         Reviewed by Chris Fleizach.
2978
2979         When HTML and MathML are used as foreign objects of an SVG image, it is
2980         important for Web authors to be able to specify a fallback content for
2981         SVG-only readers or browsers without MathML support. We rely on the
2982         requiredExtensions for that purpose and we use the XHTML/MathML
2983         namespaces as suggested in SVG Tiny 1.2 and implemented in Gecko.
2984
2985         Tests: svg/custom/conditional-processing-1.svg
2986                svg/custom/conditional-processing-2.html
2987                svg/dom/SVGTests.html
2988
2989         * svg/SVGSwitchElement.cpp: Remove an incorrect FIXME comment and replace it with a reference to bug 74749.
2990         (WebCore::SVGSwitchElement::childShouldCreateRenderer):
2991         * svg/SVGTests.cpp: Check if the list of required extensions contains only the XHTML/MathML namespaces.
2992         (WebCore::SVGTests::hasExtension):
2993         (WebCore::SVGTests::isValid):
2994
2995 2014-01-15  Commit Queue  <commit-queue@webkit.org>
2996
2997         Unreviewed, rolling out r162066.
2998         http://trac.webkit.org/changeset/162066
2999         https://bugs.webkit.org/show_bug.cgi?id=127056
3000
3001         The added test still fails on some bots (Requested by ap on
3002         #webkit).
3003
3004         * svg/graphics/SVGImage.cpp:
3005         (WebCore::SVGImage::drawPatternForContainer):
3006         * svg/graphics/SVGImage.h:
3007         * svg/graphics/SVGImageForContainer.cpp:
3008         (WebCore::SVGImageForContainer::drawPattern):
3009
3010 2014-01-15  David Kilzer  <ddkilzer@apple.com>
3011
3012         [iOS] Fix intialization order of ResourceResponse constructor
3013
3014         Fixes the following build failure:
3015
3016             WebCore/platform/network/mac/ResourceResponseMac.mm:83:7: error: field 'm_nsResponse' will be initialized after field 'm_initLevel' [-Werror,-Wreorder]
3017                 , m_nsResponse(nsResponse)
3018                   ^
3019
3020         * platform/network/mac/ResourceResponseMac.mm:
3021         (WebCore::ResourceResponse::ResourceResponse): Reorder member
3022         initializers to match the order that they are defined in the
3023         header.
3024
3025 2014-01-15  Roger Fong  <roger_fong@apple.com>
3026
3027         Unreviewed. Comment out part of r162036 which broke WebGL on many ports.
3028
3029         * html/HTMLCanvasElement.cpp:
3030         (WebCore::HTMLCanvasElement::getContext):
3031
3032 2014-01-15  Zoltan Horvath  <zoltan@webkit.org>
3033
3034         WordMeasurement is a struct, not a class
3035         https://bugs.webkit.org/show_bug.cgi?id=125373
3036
3037         Reviewed by Anders Carlsson.
3038
3039         Change class to struct, because there is no reason for WordMeasurement to be a class.
3040
3041         No new tests, no behavior change.
3042
3043         * rendering/RenderBlockFlow.h:
3044         * rendering/line/BreakingContextInlineHeaders.h:
3045
3046 2014-01-15  Mihai Tica  <mitica@adobe.com>
3047
3048         Reapplying:
3049         Background-blend-mode doesn't work for an element with an
3050         SVG image as background and border-style or padding set.
3051         The problem consisted in the drawing path using the default
3052         blending parameter at all times.
3053         https://bugs.webkit.org/show_bug.cgi?id=118894
3054
3055         Reviewed by Dirk Schulze.
3056
3057         Test: css3/compositing/background-blend-mode-data-uri-svg-image.html
3058
3059         * svg/graphics/SVGImage.cpp:
3060         (WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
3061         * svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
3062         * svg/graphics/SVGImageForContainer.cpp:
3063         (WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.
3064
3065 2014-01-15  Andrei Bucur  <abucur@adobe.com>
3066
3067         [CSS Regions] Hit-testing goes through clipped layer in fast/regions/overflow-first-and-last-regions-in-container-hidden.html
3068         https://bugs.webkit.org/show_bug.cgi?id=126886
3069
3070         Reviewed by Mihnea Ovidenie.
3071
3072         Currently, when hit testing a location inside a flow thread we ignore the clipping rectangle of
3073         the region. This leads to false positives when the location is over the clipped out content of a
3074         flow thread. The patch verifies that the location is inside the clipping rectangle of the region before
3075         forwarding the hit test verification to the flow thread layer.
3076
3077         Test: fast/regions/hover-and-js-in-visual-overflow-hidden.html
3078
3079         * rendering/RenderLayer.cpp:
3080         (WebCore::RenderLayer::hitTestFlowThreadIfRegion):
3081
3082 2014-01-15  Antti Koivisto  <antti@apple.com>
3083
3084         Suspend resource requests during computedStyle
3085         https://bugs.webkit.org/show_bug.cgi?id=127034
3086
3087         Reviewed by Andreas Kling.
3088
3089         We have some cases where getting computed style leads to crashes in loadPendingImages. 
3090         This is probably caused by load callbacks resulting in re-entering WebKit and killing the StyleResolver.
3091         
3092         As a speculative fix suspend resource loads (and so callbacks) when getting the computed style.
3093         We do similar suspension during style recalc for the same reason.
3094
3095         * dom/Document.cpp:
3096         (WebCore::Document::styleForElementIgnoringPendingStylesheets):
3097         * loader/ResourceLoadScheduler.h:
3098         (WebCore::ResourceLoadScheduler::Suspender::Suspender):
3099         (WebCore::ResourceLoadScheduler::Suspender::~Suspender):
3100
3101 2014-01-15  László Langó  <llango.u-szeged@partner.samsung.com>
3102
3103         DocumentFragment should be constructable.
3104         https://bugs.webkit.org/show_bug.cgi?id=115641
3105
3106         Reviewed by Ryosuke Niwa.
3107
3108         http://www.w3.org/TR/2013/WD-dom-20131107/#interface-documentfragment
3109         This allows us to do `new DocumentFragment` instead of
3110         `document.createDocumentFragment()`.
3111
3112         Backported from Blink: https://chromium.googlesource.com/chromium/blink/+/86855c44a5a127716840fb377281b1c428e5eb2d%5E%21
3113
3114         Test: fast/dom/DocumentFragment/document-fragment-constructor.html
3115
3116         * dom/DocumentFragment.cpp:
3117         (WebCore::DocumentFragment::create):
3118         * dom/DocumentFragment.h:
3119         * dom/DocumentFragment.idl:
3120
3121 2014-01-14  ChangSeok Oh  <changseok.oh@collabora.com>
3122
3123         Unreviewed build fix after r161980.
3124
3125         CachedResourcesLoader.h should not belong to the CSS_SHADERS flag since it is used
3126         out of the flag so it causes a compile failure when svg and css shaders are concurrently disabled.
3127
3128         * css/StyleResolver.cpp:
3129
3130 2014-01-14  Andreas Kling  <akling@apple.com>
3131
3132         Pack ResourceResponse harder.
3133         <https://webkit.org/b/127005>
3134
3135         Re-arrange the members of ResourceResponse to reduce padding,
3136         shrinking it by 8 bytes.
3137
3138         This nudges CachedResource and CachedImage into smaller size
3139         classes, yielding a ~700 kB progression on Membuster3.
3140
3141         Reviewed by Anders Carlsson.
3142
3143         * platform/network/ResourceResponseBase.cpp:
3144         (WebCore::ResourceResponseBase::ResourceResponseBase):
3145         * platform/network/ResourceResponseBase.h:
3146         * platform/network/cf/ResourceResponse.h:
3147         (WebCore::ResourceResponse::ResourceResponse):
3148
3149 2014-01-14  Dirk Schulze  <krit@webkit.org>
3150
3151         Remove unnecessary WebkitCSSSVGDocumentValue
3152         https://bugs.webkit.org/show_bug.cgi?id=126997
3153
3154         Reviewed by Andreas Kling.
3155
3156         Removing redundant code path. WebkitCSSSVGDocumentValue
3157         can be expressed by a CSSPrimitiveValue.
3158
3159         No new tests.
3160
3161         * CMakeLists.txt:
3162         * GNUmakefile.list.am:
3163         * WebCore.order:
3164         * WebCore.vcxproj/WebCore.vcxproj:
3165         * WebCore.vcxproj/WebCore.vcxproj.filters:
3166         * WebCore.xcodeproj/project.pbxproj:
3167         * css/CSSParser.cpp:
3168         (WebCore::CSSParser::parseFilter):
3169         * css/CSSValue.cpp:
3170         (WebCore::CSSValue::equals):
3171         (WebCore::CSSValue::cssText):
3172         (WebCore::CSSValue::destroy):
3173         * css/CSSValue.h:
3174         * css/StyleResolver.cpp:
3175         (WebCore::StyleResolver::createFilterOperations):
3176         * css/StyleResolver.h:
3177         * css/WebKitCSSSVGDocumentValue.cpp: Removed.
3178         * css/WebKitCSSSVGDocumentValue.h: Removed.
3179         * css/CSSComputedStyleDeclaration.cpp:
3180         (WebCore::ComputedStyleExtractor::valueForFilter):
3181         * css/WebKitCSSFilterValue.cpp:
3182         (WebCore::WebKitCSSFilterValue::customCSSText):
3183
3184 2014-01-14  Mihnea Ovidenie  <mihnea@adobe.com>
3185
3186         [CSSRegions] Incorrect repaint of fixed element with transformed parent
3187         https://bugs.webkit.org/show_bug.cgi?id=125756
3188
3189         Reviewed by Simon Fraser.
3190
3191         When collecting the layers for fixed positioned elements with named flow
3192         as a containing block, use layers collection at named flow layer level
3193         instead of relying on the positioned elements collection.
3194
3195         With this approach, there are situations with nested named flows laid out in
3196         auto-height regions and thus assuming 2 step layouts, in which is enough to lay
3197         out the inner named flow once instead of twice with a performance gain.
3198         In such situations, the layers lists for the inner named flow are not yet updated
3199         when collectFixedPositionedLayers is called to paint the fixed positioned layers.
3200         Therefore I called updateLayerListsIfNeeded for all named flows layers, via the flow thread controller, before inspecting the named flow layers to avoid hitting the assertions when
3201         accessing the named flows layers lists.
3202
3203         Tests: fast/regions/repaint/fixed-in-named-flow-cb-changed.html
3204                fast/regions/repaint/fixed-in-named-flow-cb-changed2.html
3205
3206         * rendering/FlowThreadController.cpp:
3207         (WebCore::FlowThreadController::updateNamedFlowsLayerListsIfNeeded):
3208         (WebCore::FlowThreadController::collectFixedPositionedLayers):
3209         * rendering/FlowThreadController.h:
3210         * rendering/RenderLayer.cpp:
3211         (WebCore::RenderLayer::paintFixedLayersInNamedFlows):
3212
3213 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3214
3215         Unreviewed test fix.
3216
3217         * html/canvas/WebGLRenderingContext.cpp:
3218         (WebCore::WebGLRenderingContext::validateCompressedTexDimensions): Emit
3219         error state expected by Khronos test suite.
3220
3221 2014-01-14  Brady Eidson  <beidson@apple.com>
3222
3223         IDB: create object store support
3224         <rdar://problem/15779639> and https://bugs.webkit.org/show_bug.cgi?id=127011
3225
3226         Reviewed by Anders Carlsson.
3227
3228         Split the 3 objects declared in IDBDatabaseMetadata into their own header files:
3229         * Modules/indexeddb/IDBDatabaseMetadata.h:
3230         * Modules/indexeddb/IDBIndexMetadata.h:
3231         (WebCore::IDBIndexMetadata::IDBIndexMetadata):
3232         * Modules/indexeddb/IDBObjectStoreMetadata.h:
3233         (WebCore::IDBObjectStoreMetadata::IDBObjectStoreMetadata):
3234
3235         Add cross thread copying for IDBDatabaseMetadata:
3236         * platform/CrossThreadCopier.cpp:
3237         (WebCore::IDBIndexMetadata>::copy):
3238         (WebCore::IDBObjectStoreMetadata>::copy):
3239         * platform/CrossThreadCopier.h:
3240
3241         * WebCore.exp.in:
3242         * WebCore.xcodeproj/project.pbxproj:
3243
3244 2014-01-14  Joseph Pecoraro  <pecoraro@apple.com>
3245
3246         [iOS] Crash in NavigatorBase::vendor loading apple.com
3247         https://bugs.webkit.org/show_bug.cgi?id=127028
3248
3249         Reviewed by Daniel Bates.
3250
3251         Export function pointers to be filled in with WebKitSystemInterface functions.
3252
3253         * WebCore.exp.in:
3254
3255 2014-01-14  Jeffrey Pfau  <jpfau@apple.com>
3256
3257         Build fix after r162034
3258
3259         Rubber-stamped by Benjamin Poulain.
3260
3261         * WebCore.exp.in:
3262
3263 2014-01-14  Timothy Hatcher  <timothy@apple.com>
3264
3265         Web Inspector: Resource finish time is sometimes earlier than response received time.
3266
3267         https://bugs.webkit.org/show_bug.cgi?id=127027
3268
3269         Reviewed by Joseph Pecoraro.
3270
3271         * inspector/InspectorResourceAgent.cpp:
3272         (WebCore::InspectorResourceAgent::didFinishLoading): Use currentTime() and not the
3273         passed in finishTime.
3274
3275 2014-01-14  Anders Carlsson  <andersca@apple.com>
3276
3277         Follow up build fix attempt.
3278
3279         * WebCore.exp.in:
3280
3281 2014-01-14  Roger Fong  <roger_fong@apple.com>
3282
3283         Add support for handling WebGL load policies.
3284         https://bugs.webkit.org/show_bug.cgi?id=126935
3285         <rdar://problem/15790448>.
3286
3287         Reviewed by Brent Fulgham.
3288
3289         * WebCore.xcodeproj/project.pbxproj: Copy over HTMLCanvasElement.h to the private headers directory.
3290         * html/HTMLCanvasElement.cpp: Show the policy dialog and retrieve policies as necessary.
3291         (WebCore::HTMLCanvasElement::getContext): Make sure that WebGL is allowed on the site.
3292                                                   If it isn't, be sure to notify the frame loader client that
3293                                                   the site is trying to create a WebGL context.
3294         * loader/FrameLoaderClient.h:
3295         (WebCore::FrameLoaderClient::webGLPolicyForHost): Used to get the WebGL load policy for a site.
3296         * loader/FrameLoaderTypes.h:
3297         * page/ChromeClient.h:
3298         (WebCore::ChromeClient::webGLContextCreated): Called when a site is creating a WebGL context.
3299
3300 2014-01-14  Anders Carlsson  <andersca@apple.com>
3301
3302         Create separate progress tracker clients
3303         https://bugs.webkit.org/show_bug.cgi?id=127025
3304
3305         Reviewed by Sam Weinig.
3306
3307         * loader/ProgressTracker.cpp:
3308         (WebCore::ProgressTracker::~ProgressTracker):
3309         * loader/ProgressTrackerClient.h:
3310
3311 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3312
3313         [WebGL] WebGLRenderingContext::validateCompressedTexDimensions improperly calculates values
3314         https://bugs.webkit.org/show_bug.cgi?id=126926
3315
3316         Reviewed by Dean Jackson.
3317
3318         Test coverage in fast/canvas/webgl/webgl-compressed-texture-size-limit.html
3319
3320         * html/canvas/WebGLRenderingContext.cpp:
3321         (WebCore::WebGLRenderingContext::compressedTexImage2D): Pass target to
3322         validation function.
3323         (WebCore::WebGLRenderingContext::validateCompressedTexDimensions): Revise
3324         calculation to also confirm size is in bounds.
3325         (WebCore::WebGLRenderingContext::validateCompressedTexSubDimensions): Pass
3326        target to validation function.
3327         * html/canvas/WebGLRenderingContext.h: Modify signature.
3328
3329 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3330
3331         On iOS, we never want to make scrollbar layers
3332         https://bugs.webkit.org/show_bug.cgi?id=127024
3333         <rdar://problem/15745768>
3334
3335         Reviewed by Dean Jackson.
3336
3337         On platforms that delegate scrolling, don't try to make layers
3338         for scrollbars.
3339         
3340         This fixes a crash in RenderLayerCompositor::updateOverflowControlsLayers()
3341         where m_overflowControlsHostLayer is null.
3342
3343         * rendering/RenderLayerCompositor.cpp:
3344         (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls):
3345
3346 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3347
3348         Avoid PLATFORM() macros in exported headers.
3349
3350         * platform/ios/WebEvent.h:
3351
3352 2014-01-14  Daniel Bates  <dabates@apple.com>
3353
3354         [iOS] Build fix for 32-bit simulator and device
3355
3356         CGFloat is defined to be float, double for 32-bit, and 64-bit devices respectively.
3357         Because WebCore::createCGColorWithDeviceWhite() takes CGFloat arguments we need to
3358         list both the float and double-variants of this symbol in WebCore.exp.in. Currently
3359         we only list the version whose arguments are of type double.
3360
3361         * WebCore.exp.in:
3362
3363 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3364
3365         Clean up exports and headers for iOS.
3366         
3367         Don't use ENABLE() macro in an exported header.
3368
3369         * platform/ios/wak/WAKResponder.h:
3370
3371 2014-01-14  Daniel Bates  <dabates@apple.com>
3372
3373         [iOS] Move symbol __ZN7WebCore34registerQLPreviewConverterIfNeededEP5NSURLP8NSStringP6NSData to
3374         section USE(QUICK_LOOK)
3375
3376         * WebCore.exp.in:
3377
3378 2014-01-14  Anders Carlsson  <andersca@apple.com>
3379
3380         Clean up DNSResolveQueue
3381         https://bugs.webkit.org/show_bug.cgi?id=127007
3382
3383         Reviewed by Geoffrey Garen.
3384
3385         Move the shared() getter out of line and make it use NeverDestroyed.
3386         Add a Timer member variable instead of inheriting from TimerBase. 
3387         Use std::atomic<int> for the m_requestsInFlight member variable.
3388
3389         * platform/network/DNSResolveQueue.cpp:
3390         (WebCore::DNSResolveQueue::shared):
3391         (WebCore::DNSResolveQueue::DNSResolveQueue):
3392         (WebCore::DNSResolveQueue::add):
3393         (WebCore::DNSResolveQueue::timerFired):
3394         * platform/network/DNSResolveQueue.h:
3395         (WebCore::DNSResolveQueue::decrementRequestCount):
3396
3397 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3398
3399         Two more exports for iOS.
3400
3401         * WebCore.exp.in:
3402
3403 2014-01-14  Csaba Osztrogonác  <ossy@webkit.org>
3404
3405         One more buildfix after r161999.
3406
3407         * Modules/webaudio/MediaStreamAudioSource.h:
3408
3409 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3410
3411         Export __ZN7WebCore11FileChooser16chooseMediaFilesERKN3WTF6VectorINS1_6StringELm0ENS1_15CrashOnOverflowEEERKS3_PNS_4IconE
3412         to fix WK1 iOS linking.
3413
3414         * WebCore.exp.in:
3415
3416 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3417
3418         iOS build fixing: export required by iOS WebKit1.
3419
3420         * WebCore.exp.in:
3421
3422 2014-01-14  Commit Queue  <commit-queue@webkit.org>
3423
3424         Unreviewed, rolling out r162000.
3425         http://trac.webkit.org/changeset/162000
3426         https://bugs.webkit.org/show_bug.cgi?id=127009
3427
3428         API versioning is wrong (Requested by rfong on #webkit).
3429
3430         * WebCore.xcodeproj/project.pbxproj:
3431         * html/HTMLCanvasElement.cpp:
3432         (WebCore::HTMLCanvasElement::getContext):
3433         * loader/FrameLoaderClient.h:
3434         * loader/FrameLoaderTypes.h:
3435         * page/ChromeClient.h:
3436
3437 2014-01-14  Bear Travis  <betravis@adobe.com>
3438
3439         [CSS Shapes] Move CSSPrimitiveValue <-> LayoutBox Conversion to CSSPrimitiveValueMappings
3440         https://bugs.webkit.org/show_bug.cgi?id=126719
3441
3442         Reviewed by Dirk Schulze.
3443
3444         The standard location for conversions to/from CSSPrimitiveValues is CSSPrimitiveValueMappings.
3445         This patch moves the conversion for LayoutBoxes from BasicShapeFunctions to
3446         CSSPrimitiveValueMappings.h.
3447
3448         Refactoring, no new tests.
3449
3450         * css/BasicShapeFunctions.cpp:
3451         (WebCore::valueForBasicShape):
3452         (WebCore::basicShapeForValue):
3453         * css/CSSComputedStyleDeclaration.cpp:
3454         (WebCore::ComputedStyleExtractor::propertyValue):
3455         * css/CSSPrimitiveValueMappings.h:
3456         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
3457         (WebCore::CSSPrimitiveValue::operator LayoutBox):
3458         * css/DeprecatedStyleBuilder.cpp:
3459         (WebCore::ApplyPropertyClipPath::applyValue):
3460         (WebCore::ApplyPropertyShape::applyValue):
3461
3462 2014-01-09  Roger Fong  <roger_fong@apple.com>
3463
3464         Add support for handling WebGL load policies.
3465         https://bugs.webkit.org/show_bug.cgi?id=126935
3466         <rdar://problem/15790448>.
3467
3468         Reviewed by Brent Fulgham.
3469
3470         * WebCore.xcodeproj/project.pbxproj: Copy over HTMLCanvasElement.h to the private headers directory.
3471         * html/HTMLCanvasElement.cpp: Show the policy dialog and retrieve policies as necessary.
3472         (WebCore::HTMLCanvasElement::getContext): Make sure that WebGL is allowed on the site.
3473                                                   If it isn't, be sure to notify the frame loader client that
3474                                                   the site is trying to create a WebGL context.
3475         * loader/FrameLoaderClient.h:
3476         (WebCore::FrameLoaderClient::webGLPolicyForHost): Used to get the WebGL load policy for a site.
3477         * loader/FrameLoaderTypes.h:
3478         * page/ChromeClient.h:
3479         (WebCore::ChromeClient::webGLContextCreated): Called when a site is creating a WebGL context.
3480
3481 2014-01-14  Anders Carlsson  <andersca@apple.com>
3482