fcde6c17ce3e94a82b5b9c4fd8511d23adcc4eff
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-03-04  Jer Noble  <jer.noble@apple.com>
2
3         [iOS][MediaControls] Reverse-pinching using the built-in controls should enter full screen
4         https://bugs.webkit.org/show_bug.cgi?id=129707
5
6         Reviewed by Eric Carlson.
7
8         The default controls on iOS should respond to a pinch gesture by entering fullscreen. Add a gesture
9         event listener, and enter full screen if the user does a quick (>2 velocity) reverse (>1.25 scale) pinch.
10
11         * Modules/mediacontrols/mediaControlsiOS.js:
12         (ControllerIOS.prototype.createBase):
13         (ControllerIOS.prototype.handlePlayButtonTouchEnd):
14         (ControllerIOS.prototype.handleBaseGestureStart):
15         (ControllerIOS.prototype.handleBaseGestureChange):
16         (ControllerIOS.prototype.handleBaseGestureEnd):
17
18 2014-03-19  Ryosuke Niwa  <rniwa@webkit.org>
19
20         REGRESSION(r156316): Scrollbar on a large document is broken
21         https://bugs.webkit.org/show_bug.cgi?id=130474
22         <rdar://problem/16371523>
23
24         Reviewed by Anders Carlsson.
25
26         The bug was caused by updateArrowPlacement() doing the work even though Scrollbar Overlay API is available.
27         Prior to r156316, this function exited early:
28         http://trac.webkit.org/browser/trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.mm?rev=156315#L147
29
30         Fixed the bug by deleting updateArrowPlacement() entirely.
31
32         * platform/mac/ScrollbarThemeMac.mm:
33         (WebCore::ScrollbarThemeMac::preferencesChanged):
34
35 2014-03-19  Jer Noble  <jer.noble@apple.com>
36
37         [Mac][EME] Query whether decoder support exists before creating a new MediaKeys object.
38         https://bugs.webkit.org/show_bug.cgi?id=130459
39
40         Reviewed by Eric Carlson.
41
42         * WebCore.exp.in: Export the new WCSI method.
43         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
44         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsKeySystem): Bail early if we have no decoder support.
45         * platform/mac/WebCoreSystemInterface.h: Provide a WCSI wrapper for WKSI.
46         * platform/mac/WebCoreSystemInterface.mm: Ditto.
47
48 2014-03-19  Eric Carlson  <eric.carlson@apple.com>
49
50         Make Remote Control commands testable
51         https://bugs.webkit.org/show_bug.cgi?id=130358
52
53         Reviewed by Jer Noble.
54
55         Test: media/video-remote-control-playpause.html
56
57         * html/HTMLMediaElement.cpp:
58         (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Call session->clientWillPausePlayback.
59         (WebCore::HTMLMediaElement::didReceiveRemoteControlCommand): Log the command.
60
61         * platform/audio/MediaSession.cpp:
62         (WebCore::MediaSessionClient::mediaSessionTitle): Move from header file.
63         (WebCore::MediaSessionClient::mediaSessionDuration): Ditto.
64         (WebCore::MediaSessionClient::mediaSessionCurrentTime): Ditto.
65         * platform/audio/MediaSession.h:
66
67         * platform/audio/MediaSessionManager.cpp:
68         (WebCore::MediaSessionManager::MediaSessionManager): Get rid of m_activeSession.
69         (WebCore::MediaSessionManager::removeSession): No need to clear m_activeSession because 
70             we use the m_sessions vector.
71         (WebCore::MediaSessionManager::sessionWillBeginPlayback): setCurrentSession takes a 
72             MediaSession&.
73         (WebCore::MediaSessionManager::sessionWillEndPlayback): Keep m_sessions sorted so playing
74             sessions are before paused sessions.
75         (WebCore::MediaSessionManager::setCurrentSession): Move the session that is beginning to
76             play to the head of m_sessions.
77         (WebCore::MediaSessionManager::currentSession): Return m_sessions[0] or nullptr.
78         (WebCore::MediaSessionManager::didReceiveRemoteControlCommand):
79         * platform/audio/MediaSessionManager.h:
80
81         * platform/audio/ios/MediaSessionManagerIOS.mm: Include MediaPlayer.h.
82
83         * testing/Internals.cpp:
84         (WebCore::Internals::postRemoteControlCommand): New.
85         * testing/Internals.h:
86         * testing/Internals.idl:
87
88 2014-03-19  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
89
90         Improving webkitGetUserMedia error handling and error messages
91         https://bugs.webkit.org/show_bug.cgi?id=130452
92
93         Reviewed by Eric Carlson.
94
95         Checking if first argument of webkitGetUserMedia is a valid Dictionary. If not, throw an exception with a
96         clearer message of the error.
97
98         Test updated.
99
100         * Modules/mediastream/NavigatorMediaStream.idl:
101         * UseJSC.cmake:
102         * bindings/js/JSNavigatorCustom.cpp: Added.
103
104 2014-03-19  Andreas Kling  <akling@apple.com>
105
106         JSC bindings should use the passed-in global object for wrapper caching.
107         <https://webkit.org/b/130458>
108
109         Take a shorter path to the DOMWrapperWorld by using the passed-in
110         global object instead of getting the lexical global from ExecState.
111         Removed an old FIXME that no longer applies since JSObjects can
112         always find the right global object these days.
113
114         Reviewed by Geoff Garen.
115
116         * bindings/js/JSCSSRuleCustom.cpp:
117         (WebCore::toJS):
118         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
119         (WebCore::JSCSSStyleDeclaration::getPropertyCSSValue):
120         * bindings/js/JSCSSValueCustom.cpp:
121         (WebCore::toJS):
122         * bindings/js/JSDOMBinding.h:
123         (WebCore::createWrapper):
124         (WebCore::wrap):
125         (WebCore::getExistingWrapper):
126         (WebCore::createNewWrapper):
127         (WebCore::toJS):
128         * bindings/js/JSDOMWindowCustom.cpp:
129         (WebCore::JSDOMWindow::setTimeout):
130         (WebCore::JSDOMWindow::setInterval):
131         (WebCore::JSDOMWindow::addEventListener):
132         (WebCore::JSDOMWindow::removeEventListener):
133         * bindings/js/JSDocumentCustom.cpp:
134         (WebCore::JSDocument::location):
135         (WebCore::toJS):
136         * bindings/js/JSElementCustom.cpp:
137         (WebCore::toJSNewlyCreated):
138         * bindings/js/JSEventCustom.cpp:
139         (WebCore::toJS):
140         * bindings/js/JSHTMLCollectionCustom.cpp:
141         (WebCore::toJS):
142         * bindings/js/JSHTMLTemplateElementCustom.cpp:
143         (WebCore::JSHTMLTemplateElement::content):
144         * bindings/js/JSImageDataCustom.cpp:
145         (WebCore::toJS):
146         * bindings/js/JSNodeCustom.cpp:
147         (WebCore::createWrapperInline):
148         * bindings/js/JSNodeCustom.h:
149         (WebCore::toJS):
150         * bindings/js/JSSVGPathSegCustom.cpp:
151         (WebCore::toJS):
152         * bindings/js/JSStyleSheetCustom.cpp:
153         (WebCore::toJS):
154         * bindings/js/JSTextTrackCueCustom.cpp:
155         (WebCore::toJS):
156         * bindings/js/JSTrackCustom.cpp:
157         (WebCore::toJS):
158         * bindings/js/JSWorkerGlobalScopeCustom.cpp:
159         (WebCore::JSWorkerGlobalScope::setTimeout):
160         (WebCore::JSWorkerGlobalScope::setInterval):
161         * bindings/scripts/CodeGeneratorJS.pm:
162         (GenerateImplementation):
163
164 2014-03-19  Benjamin Poulain  <bpoulain@apple.com>
165
166         Page::setPageScaleFactor should not force the scroll view position when using delegatesScrolling()
167         https://bugs.webkit.org/show_bug.cgi?id=130429
168
169         Reviewed by Simon Fraser.
170
171         When setting the same scale mutliple time (for example on load), Page was asking the top scrollview
172         to scroll to the origin. This is bogus since the scroll view is driving Page::setDeviceScaleFactor,
173         not the other way around.
174
175         Simon fixed the general case in http://trac.webkit.org/changeset/165652/trunk/Source/WebCore/page/Page.cpp
176         but this branch was still scrolling content.
177
178         * page/Page.cpp:
179         (WebCore::Page::setPageScaleFactor):
180
181 2014-03-19  Brady Eidson  <beidson@apple.com>
182
183         Filter out editable services from image menu for non-contenteditable images
184         <rdar://problem/16319645> and https://bugs.webkit.org/show_bug.cgi?id=130437
185
186         Reviewed by Tim Horton.
187
188         * WebCore.exp.in:
189
190 2014-03-19  Dirk Schulze  <krit@webkit.org>
191
192         Implement method addPath for Path2D
193         https://bugs.webkit.org/show_bug.cgi?id=130461
194
195         Reviewed by Dean Jackson.
196
197         Add support for the Path2D method addPath. The method allows
198         to append and existing Path2D object to another one. It can be
199         combined with a transformation matrix SVGMatrix.
200
201         Test: fast/canvas/canvas-path-addPath.html
202
203         * html/canvas/DOMPath.h: Add new method addPath().
204         (WebCore::DOMPath::addPath):
205         * html/canvas/DOMPath.idl:
206         * platform/graphics/Path.h: Add support for appending paths.
207         * platform/graphics/cairo/PathCairo.cpp:
208         (WebCore::Path::addPath):
209         * platform/graphics/cg/PathCG.cpp:
210         (WebCore::Path::addPath):
211         * platform/graphics/wince/PathWinCE.cpp:
212         (WebCore::Path::addPath):
213
214 2014-03-19  Yongjun Zhang  <yongjun_zhang@apple.com>
215
216         [iOS] WebKit2 Quicklook.
217         https://bugs.webkit.org/show_bug.cgi?id=130360
218
219         Reviewed by Tim Horton.
220
221         Since ResourceLoaders using WebKit2 network process don't have ResourceHandle any more, we
222         need to make it possible to create QuickLookHandle from ResourceLoader.
223
224         * WebCore.exp.in: Make some QuickLookHandle methods visible from WebKit2.
225         * loader/ResourceLoader.h: Add m_quickLookHandle data member to ResourceLoader.
226         (WebCore::ResourceLoader::quickLookHandle):
227         (WebCore::ResourceLoader::setQuickLookHandle):
228         * platform/network/ios/QuickLook.h: Add a new method to create QuickLookHandle from ResourceLoader.
229         * platform/network/ios/QuickLook.mm:
230         (WebCore::QuickLookHandle::create):
231
232 2014-03-19  Brent Fulgham  <bfulgham@apple.com>
233
234         Fix cue rendering test and include support for left/right alignment
235         https://bugs.webkit.org/show_bug.cgi?id=130406
236
237         Reviewed by Eric Carlson.
238
239         Merged from Blink (patch by vcarbune@chromium.org):
240         https://chromium.googlesource.com/chromium/blink/+/e695703cb603421c741e59a557a7989113c13b94
241         http://crbug.com/25155003
242
243         No new tests. Covered by media/track/track-cue-rendering-snap-to-lines-not-set.html.
244
245         * html/track/VTTCue.cpp:
246         (WebCore::leftKeyword): Added.
247         (WebCore::rightKeyword): Added.
248         (WebCore::VTTCueBox::applyCSSProperties): Added.
249         (WebCore::VTTCue::VTTCue):
250         (WebCore::VTTCue::align): Handle left/right alignment.
251         (WebCore::VTTCue::setAlign): Ditto.
252         (WebCore::VTTCue::calculateDisplayParameters): Refactored and revised for left/right tokens.
253         (WebCore::VTTCue::setCueSettings): Ditto.
254         (WebCore::VTTCue::getCSSAlignment): Added.
255         (WebCore::VTTCue::getCSSWritingMode): Added.
256         * html/track/VTTCue.h:
257
258 2014-03-18  Anders Carlsson  <andersca@apple.com>
259
260         Add new functionality that will be required by the history item decoding
261         https://bugs.webkit.org/show_bug.cgi?id=130433
262
263         Reviewed by Sam Weinig.
264
265         * platform/KeyedCoding.h:
266         (WebCore::KeyedDecoder::decodeConditionalObject):
267
268 2014-03-19  Tim Horton  <timothy_horton@apple.com>
269
270         Fix the iOS build.
271
272         * html/BaseDateAndTimeInputType.cpp:
273         (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
274         Missing a StringView().
275
276 2014-03-19  Antti Koivisto  <antti@apple.com>
277
278         Tighten ElementRuleCollector::m_matchedRuleList typing
279         https://bugs.webkit.org/show_bug.cgi?id=130446
280
281         Reviewed by Anders Carlsson.
282
283         StyleRuleBase -> StyleRule.
284
285         * css/ElementRuleCollector.cpp:
286         (WebCore::ElementRuleCollector::matchedRuleList):
287         * css/ElementRuleCollector.h:
288         * css/StyleResolver.cpp:
289         (WebCore::StyleResolver::styleRulesForElement):
290         (WebCore::StyleResolver::pseudoStyleRulesForElement):
291         * css/StyleResolver.h:
292         * editing/EditingStyle.cpp:
293         (WebCore::styleFromMatchedRulesForElement):
294         * inspector/InspectorCSSAgent.cpp:
295         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
296         (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
297         * inspector/InspectorCSSAgent.h:
298         * page/DOMWindow.cpp:
299         (WebCore::DOMWindow::getMatchedCSSRules):
300
301 2014-03-19  Mihnea Ovidenie  <mihnea@adobe.com>
302
303         [CSSRegions] An unsplittable box is always displayed in a single region
304         https://bugs.webkit.org/show_bug.cgi?id=130451
305
306         Reviewed by Andrei Bucur.
307
308         Add an ASSERT stating that an unsplittable box region range always contains 1 region.
309         No new functionality, no new tests.
310
311         * rendering/RenderFlowThread.cpp:
312         (WebCore::RenderFlowThread::getRegionRangeForBox):
313
314 2014-03-19  Zalan Bujtas  <zalan@apple.com>
315
316         Subpixel rendering: Transform origin is miscalculated when RenderLayer's
317         offsetfromRenderer has device pixel fraction value.
318         https://bugs.webkit.org/show_bug.cgi?id=129859
319
320         Reviewed by Simon Fraser.
321
322         We need to calculate the transformed origin using the painting coordinates to produce
323         pixel precise result.
324
325         * rendering/RenderLayerBacking.cpp:
326         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
327         (WebCore::RenderLayerBacking::computeTransformOriginForPainting):
328         * rendering/RenderLayerBacking.h:
329
330 2014-03-19  Claudio Saavedra  <csaavedra@igalia.com>
331
332         [GStreamer] Clean timeout source ids
333         https://bugs.webkit.org/show_bug.cgi?id=130450
334
335         Reviewed by Philippe Normand.
336
337         Sources IDs need to be cleaned up if the callback removes the
338         source, otherwise we'll be attempting to remove an empty source at
339         some point.
340
341         * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
342         (webKitMediaVideoSrcStart): Clean the source id.
343         (webKitMediaAudioSrcStart): Ditto.
344         (webKitMediaVideoSrcSeekMainCb): Ditto.
345         (webKitMediaAudioSrcSeekMainCb): Ditto.
346
347 2014-03-19  Mihnea Ovidenie  <mihnea@adobe.com>
348
349         [CSSRegions] Compute region ranges for children of inline blocks
350         https://bugs.webkit.org/show_bug.cgi?id=130392
351
352         Reviewed by Andrei Bucur.
353
354         Extend the region ranges computation for children of inline blocks.
355         When we cannot retrieve the region range for a box using cached information,
356         either from region range map or from the region cached on the RootInlineBox,
357         try to find the top most unsplittable box up to the flow thread boundary.
358         If we find such unsplittable box and the box has a region range, then return
359         this range.
360
361         Before this patch, method getRegionRangeForBox did not return true/false
362         if it was able to retrieve the range and the caller checked the returned
363         region values. I modified the method to return true if we were able to compute
364         the range.
365
366         Tests: fast/regions/inline-block-inline-children-flowed-in-regions.html
367                fast/regions/inline-blocks-dyn-enlarged-regions.html
368                fast/regions/inline-blocks-dyn-shrunk-regions.html
369                fast/regions/inline-blocks-in-two-regions.html
370
371         * inspector/InspectorOverlay.cpp:
372         (WebCore::buildObjectForRendererFragments):
373         * rendering/RenderBlock.cpp:
374         (WebCore::RenderBlock::updateRegionRangeForBoxChild):
375         * rendering/RenderBlockFlow.cpp:
376         (WebCore::RenderBlockFlow::hasNextPage):
377         * rendering/RenderBox.cpp:
378         (WebCore::RenderBox::clampToStartAndEndRegions):
379         (WebCore::RenderBox::borderBoxRectInRegion):
380         (WebCore::RenderBox::computeRectForRepaint):
381         (WebCore::RenderBox::layoutOverflowRectForPropagation):
382         * rendering/RenderBoxModelObject.cpp:
383         (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
384         * rendering/RenderFlowThread.cpp:
385         (WebCore::RenderFlowThread::regionForCompositedLayer):
386         (WebCore::RenderFlowThread::adjustedPositionRelativeToOffsetParent):
387         (WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
388         (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
389         (WebCore::RenderFlowThread::getRegionRangeForBoxFromCachedInfo):
390         (WebCore::RenderFlowThread::getRegionRangeForBox):
391         (WebCore::RenderFlowThread::objectShouldPaintInFlowRegion):
392         (WebCore::RenderFlowThread::objectInFlowRegion):
393         (WebCore::RenderFlowThread::addRegionsVisualEffectOverflow):
394         (WebCore::RenderFlowThread::addRegionsVisualOverflowFromTheme):
395         (WebCore::RenderFlowThread::addRegionsOverflowFromChild):
396         (WebCore::RenderFlowThread::addRegionsLayoutOverflow):
397         (WebCore::RenderFlowThread::addRegionsVisualOverflow):
398         (WebCore::RenderFlowThread::clearRegionsOverflow):
399         * rendering/RenderFlowThread.h:
400         * rendering/RenderNamedFlowThread.cpp:
401         (WebCore::RenderNamedFlowThread::fragmentFromAbsolutePointAndBox):
402         * rendering/RenderObject.cpp:
403         (WebCore::RenderObject::locateFlowThreadContainingBlock):
404         Make sure we return the right render flow thread in the case of
405         region-based multicolumn inside named flows.
406         * rendering/RenderRegion.cpp:
407         (WebCore::RenderRegion::rectFlowPortionForBox):
408
409 2014-03-19  Krzysztof Wolanski  <k.wolanski@samsung.com>
410
411         [EFL] vibration/cancelVibration-during-pattern-vibrating.html is failing after r165598
412         https://bugs.webkit.org/show_bug.cgi?id=130333
413
414         Reviewed by Gyuyoung Kim.
415
416         Added setting m_state when calling Vibration::vibrate. It was missing after
417         refactoring Vibration (r165598).
418
419         * Modules/vibration/Vibration.cpp:
420         (WebCore::Vibration::vibrate):
421
422 2014-03-19  Sam Weinig  <sam@webkit.org>
423
424         Rewrite WebHTMLConverter::_colorForNode in C++
425         https://bugs.webkit.org/show_bug.cgi?id=130443
426
427         Reviewed by Andreas Kling.
428
429         * platform/mac/HTMLConverter.mm:
430         (_platformColor):
431         Rename from _colorForRGBColor and simplify to just do the platform conversion.
432
433         (normalizedColor):
434         Extract normalization out of _colorForRGBColor and remove cases that are impossible to hit
435         due to us only ever using the device color space.
436
437         (HTMLConverterCaches::colorPropertyValueForNode):
438         (-[WebHTMLConverter _colorForNode:property:]):
439         Convert to C++.
440
441         (-[WebHTMLConverter dealloc]):
442         (-[WebHTMLConverter init]):
443         Remove caches, we already cache in ColorMac.
444
445 2014-03-18  Andrei Bucur  <abucur@adobe.com>
446
447         [CSS Regions] Strange layout for content with region breaks
448         https://bugs.webkit.org/show_bug.cgi?id=121318
449
450         Reviewed by Mihnea Ovidenie.
451
452         When break-inside: avoid is used on an element, the implementation tries to
453         force it inside a single fragmentation container even though the descendants
454         of the element specify forced breaks. This leads to unexpected results and
455         unstable layout.
456
457         The change extends the definition of unsplittable elements for flow threads
458         using the same conditions found inside RenderBlockFlow::adjustForUnsplittableChild.
459         This change forces elements that require break avoidance to have a single region
460         in the region range. As a result, forced breaks have no effect inside them.
461
462         It should be noted this may not the behavior defined by the CSS3 Fragmentation spec.
463         From my understanding of the text, forced breaks override any avoidance specified
464         by ancestor elements. However, implementing this is a larger change that will require
465         a fundamental new approach in handling break avoidance. This patch just brings
466         consistency to the API.
467
468         Test: fast/regions/forced-break-inside-avoid-break.html
469
470         * rendering/RenderBlock.cpp:
471         (WebCore::RenderBlock::childBoxIsUnsplittableForFragmentation):
472         (WebCore::RenderBlock::computeRegionRangeForBoxChild):
473         (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
474         * rendering/RenderBlock.h:
475         * rendering/RenderBlockFlow.cpp:
476         (WebCore::RenderBlockFlow::adjustForUnsplittableChild): Move the avoidance conditions inside
477         a helper method RenderBlock::childBoxIsUnsplittableForFragmentation.
478
479 2014-03-18  Samuel White  <samuel_white@apple.com>
480
481         AX: Not able to use arrow keys to read text with VoiceOver before selection is set someplace (anyplace).
482         https://bugs.webkit.org/show_bug.cgi?id=130250
483
484         Reviewed by Chris Fleizach.
485
486         If initial selection isn't set when we handle selection movement for accessibility, we need to set it. If we don't, using arrow
487         keys to read text with VoiceOver doesn't work as expected. Things will only start working after the user holds shift and arrows
488         around to select any arbitrary thing to force selection to get set. This logic handles that special case more gracefully.
489
490         Test: platform/mac/accessibility/selection-initial.html
491
492         * page/EventHandler.cpp:
493         (WebCore::handleKeyboardSelectionMovement):
494         (WebCore::EventHandler::handleKeyboardSelectionMovementForAccessibility):
495         * testing/Internals.cpp:
496         (WebCore::Internals::resetToConsistentState):
497
498 2014-03-18  Brent Fulgham  <bfulgham@apple.com>
499
500         TextTrackRegion Not Implemented
501         https://bugs.webkit.org/show_bug.cgi?id=116546
502
503         Reviewed by Eric Carlson.
504
505         Merged from Blink (patch by vcarbune@chromium.org):
506         https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
507         http://crbug.com/25798003
508
509         Tests: media/track/regions-webvtt/text-track-region-display.html
510                media/track/regions-webvtt/text-track-region-dom-layout.html
511
512         * html/HTMLMediaElement.cpp:
513         (WebCore::HTMLMediaElement::parseAttribute):
514         * html/track/LoadableTextTrack.cpp:
515         (WebCore::LoadableTextTrack::newRegionsAvailable):
516         * html/track/TextTrack.cpp:
517         * html/track/TextTrack.h:
518         * html/track/TextTrackRegion.cpp:
519         (WebCore::TextTrackRegion::TextTrackRegion):
520         (WebCore::TextTrackRegion::appendTextTrackCueBox):
521         * html/track/TextTrackRegion.h:
522         * html/track/VTTCue.cpp:
523         (WebCore::VTTCue::VTTCue):
524         (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
525         (WebCore::VTTCue::removeDisplayTree):
526         * html/track/VTTCue.h:
527         * html/track/WebVTTParser.cpp:
528         (WebCore::WebVTTParser::parseBytes):
529         (WebCore::WebVTTParser::collectMetadataHeader):
530         * html/track/WebVTTParser.h:
531
532 2014-03-18  Andreas Kling  <akling@apple.com>
533
534         Share MemoryPressureHandler::releaseMemory() between platforms.
535         <https://webkit.org/b/130416>
536
537         Move the code that scours WebKit for things we can free up right now
538         to the common part of MemoryPressureHandler. This will enable other
539         platforms to do the same thing under pressure.
540
541         There's now also a platformReleaseMemory() where platform-specific
542         pressure relief stuff can go.
543
544         Reviewed by Antti Koivisto.
545
546         * platform/MemoryPressureHandler.cpp:
547         (WebCore::MemoryPressureHandler::releaseMemory):
548         (WebCore::MemoryPressureHandler::platformReleaseMemory):
549         * platform/MemoryPressureHandler.h:
550         * platform/mac/MemoryPressureHandlerMac.mm:
551         (WebCore::MemoryPressureHandler::respondToMemoryPressure):
552         (WebCore::MemoryPressureHandler::platformReleaseMemory):
553
554 2014-03-18  Dean Jackson  <dino@apple.com>
555
556         [WebGL] Destroy EAGLContext's backing store
557         https://bugs.webkit.org/show_bug.cgi?id=130439
558         <rdar://problem/16295217>
559
560         Reviewed by Tim Horton.
561
562         When a GraphicsContext3D is being destroyed, we should
563         also remove any EAGLContext backing store.
564
565         * platform/graphics/mac/GraphicsContext3DMac.mm:
566         (WebCore::GraphicsContext3D::~GraphicsContext3D):
567
568 2014-03-18  Tim Horton  <timothy_horton@apple.com>
569
570         [iOS][WebKit2] Mark layer contents as being opaque if they are
571         https://bugs.webkit.org/show_bug.cgi?id=130427
572         <rdar://problem/15540434>
573
574         Reviewed by Simon Fraser.
575
576         * platform/graphics/GraphicsLayerClient.h:
577         (WebCore::GraphicsLayerClient::paintsOpaquelyAtNonIntegralScales):
578         * platform/graphics/ca/GraphicsLayerCA.cpp:
579         (WebCore::GraphicsLayerCA::updateContentsOpaque):
580         * rendering/RenderLayerBacking.cpp:
581         (WebCore::RenderLayerBacking::paintsOpaquelyAtNonIntegralScales):
582         * rendering/RenderLayerBacking.h:
583         r159463 stopped us from setting layers opaque if they were being painted
584         at non-integral scale. This makes sense for compositing layers, which
585         are painted by arbitrary elements, but the main frame's RenderView
586         will always paint its entire contents. To restore the opaque contents
587         optimization to the main frame's tiles, don't de-opaquify layers
588         belonging to the main frame's RenderView.
589
590 2014-03-18  Jeffrey Pfau  <jpfau@apple.com>
591
592         Unify <media> element callback registration and unregistration
593         https://bugs.webkit.org/show_bug.cgi?id=130417
594
595         Reviewed by Eric Carlson.
596
597         * html/HTMLMediaElement.cpp:
598         (WebCore::HTMLMediaElement::HTMLMediaElement):
599         (WebCore::HTMLMediaElement::~HTMLMediaElement):
600         (WebCore::HTMLMediaElement::registerWithDocument):
601         (WebCore::HTMLMediaElement::unregisterWithDocument):
602         (WebCore::HTMLMediaElement::didMoveToNewDocument):
603         * html/HTMLMediaElement.h:
604
605 2014-03-18  Jer Noble  <jer.noble@apple.com>
606
607         MediaDocument should set a max-width on its <video> element.
608         https://bugs.webkit.org/show_bug.cgi?id=114691
609
610         Reviewed by Eric Carlson.
611
612         Set a style attribute containing max-width:100% and max-height:100% so that large videos
613         are entirely visible within the browser window bounds.
614
615         * html/MediaDocument.cpp:
616         (WebCore::MediaDocumentParser::createDocumentStructure):
617
618 2014-03-18  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
619
620         [WebRTC] Fix layering violation in RTCStatsRequest
621         https://bugs.webkit.org/show_bug.cgi?id=130426
622
623         Reviewed by Eric Carlson.
624
625         RTCStatsRequest::track() should return a MediaStreamTrackPrivate*.
626
627         No new tests needed.
628
629         * Modules/mediastream/RTCPeerConnection.cpp:
630         (WebCore::RTCPeerConnection::getStats):
631         * Modules/mediastream/RTCStatsRequestImpl.cpp:
632         (WebCore::RTCStatsRequestImpl::create):
633         (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
634         (WebCore::RTCStatsRequestImpl::track):
635         * Modules/mediastream/RTCStatsRequestImpl.h:
636         * platform/mediastream/RTCStatsRequest.h:
637
638 2014-03-18  Anders Carlsson  <andersca@apple.com>
639
640         Fix a trivial FIXME
641         https://bugs.webkit.org/show_bug.cgi?id=130432
642
643         Reviewed by Tim Horton.
644
645         * history/HistoryItem.cpp:
646         (WebCore::HistoryItem::encodeBackForwardTreeNode):
647
648 2014-03-18  Anders Carlsson  <andersca@apple.com>
649
650         Begin cleaning up KeyedDecoder and KeyedEncoder
651         https://bugs.webkit.org/show_bug.cgi?id=130431
652
653         Reviewed by Tim Horton.
654
655         Rename KeyedDecoder::decodeVerifiedEnum to decodeEnum to match the encode function,
656         and sort the decode functions to be in the same logical order as the encode functions.
657
658         * Modules/indexeddb/IDBKeyData.cpp:
659         (WebCore::IDBKeyData::decode):
660         * Modules/indexeddb/IDBKeyPath.cpp:
661         (WebCore::IDBKeyPath::decode):
662         * platform/KeyedCoding.h:
663         (WebCore::KeyedDecoder::decodeEnum):
664
665 2014-03-18  Darin Adler  <darin@apple.com>
666
667         Reduce use of deprecatedCharacters in WebCore
668         https://bugs.webkit.org/show_bug.cgi?id=130318
669
670         Reviewed by Andreas Kling.
671
672         * Modules/indexeddb/IDBKeyPath.cpp:
673         (WebCore::IDBKeyPathLexer::IDBKeyPathLexer): Use StringView for parsing.
674         (WebCore::IDBKeyPathLexer::lex): Ditto.
675         (WebCore::IDBKeyPathLexer::lexIdentifier): Ditto.
676
677         * Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp:
678         (WebCore::IDBLevelDBCoding::encodeString): Index directly into string instead of
679         using deprecatedCharacters.
680
681         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
682         (WebCore::ThreadableWebSocketChannelClientWrapper::setSubprotocol): Use
683         StringView::getCharactersWithUpconvert.
684         (WebCore::ThreadableWebSocketChannelClientWrapper::setExtensions): Ditto.
685
686         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
687         (-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
688         Use operator NSString * instead of explicitly creating an NSString.
689
690         * bindings/js/SerializedScriptValue.cpp:
691         (WebCore::writeLittleEndianUInt16): Added.
692         (WebCore::CloneSerializer::serialize): Added a separate code path for 8-bit strings.
693         (WebCore::CloneSerializer::write): Ditto.
694
695         * bindings/objc/WebScriptObject.mm:
696         (+[WebScriptObject _convertValueToObjcValue:JSC::originRootObject:rootObject:]):
697         Use operator NSString * instead of explicitly creating an NSString.
698
699         * dom/Document.cpp:
700         (WebCore::Document::parseQualifiedName): Index directly into string instead of
701         using deprecatedCharacters.
702         * editing/CompositeEditCommand.cpp:
703         (WebCore::containsOnlyWhitespace): Ditto.
704         * editing/SmartReplace.cpp:
705         (WebCore::addAllCodePoints): Ditto.
706         (WebCore::getSmartSet): Use StringView::upconvertedCharacters.
707
708         * editing/TextIterator.cpp:
709         (WebCore::foldQuoteMarksAndSoftHyphens): Changed to return a value so it can be
710         used in initialization rather than assignment.
711         (WebCore::SearchBuffer::SearchBuffer): Use StringView::upconvertedCharacters.
712
713         * editing/TypingCommand.cpp:
714         (WebCore::TypingCommand::insertText): Index directly into string instead of using
715         deprecatedCharacters.
716         * editing/VisiblePosition.cpp:
717         (WebCore::VisiblePosition::characterAfter): Ditto.
718         * editing/VisibleUnits.cpp:
719         (WebCore::startOfParagraph): Ditto.
720         (WebCore::endOfParagraph): Ditto.
721
722         * fileapi/WebKitBlobBuilder.cpp:
723         (WebCore::BlobBuilder::append): Pass a StringView to TextEncoding::encode.
724
725         * html/BaseDateAndTimeInputType.cpp:
726         (WebCore::BaseDateAndTimeInputType::parseToDateComponents): Use
727         StringView::upconvertedCharacters.
728
729         * html/FormDataList.cpp:
730         (WebCore::FormDataList::appendString): Pass a StringView to TextEncoding::encode.
731
732         * html/canvas/CanvasRenderingContext2D.cpp:
733         (WebCore::normalizeSpaces): Use StringView::getCharactersWithUpconvert.
734
735         * html/parser/HTMLParserIdioms.cpp:
736         (WebCore::stripLeadingAndTrailingHTMLSpaces): Use characters16 for a code path
737         that already handled 8-bit characters separately.
738         (WebCore::parseHTMLNonNegativeInteger): Ditto.
739         (WebCore::parseDescriptors): Added an 8-bit code path.
740
741         * inspector/InspectorStyleSheet.cpp:
742         (WebCore::InspectorStyle::newLineAndWhitespaceDelimiters): Index directly into
743         string instead of using deprecatedCharacters.
744         * inspector/InspectorStyleTextEditor.cpp:
745         (WebCore::InspectorStyleTextEditor::insertProperty): Ditto.
746         (WebCore::InspectorStyleTextEditor::internalReplaceProperty): Ditto.
747
748         * page/ContentSecurityPolicy.cpp:
749         (WebCore::isSourceListNone): Use StringView::upconvertedCharacters.
750         (WebCore::CSPSourceList::parse): Ditto.
751         (WebCore::NonceDirective::parse): Ditto.
752         (WebCore::MediaListDirective::parse): Ditto.
753         (WebCore::CSPDirectiveList::parse): Ditto.
754         (WebCore::CSPDirectiveList::parseReportURI): Ditto.
755         (WebCore::CSPDirectiveList::parseReflectedXSS): Ditto.
756         (WebCore::ContentSecurityPolicy::didReceiveHeader): Ditto.
757
758         * page/PageSerializer.cpp:
759         (WebCore::PageSerializer::serializeFrame): Pass a StringView into
760         TextEncoding::encode.
761         (WebCore::PageSerializer::serializeCSSStyleSheet): Ditto.
762
763         * platform/Length.cpp:
764         (WebCore::countCharacter): Index directly into string instead of using
765         deprecatedCharacters. Also changed to take a StringImpl&.
766         (WebCore::newCoordsArray): Ditto. Call countCharacter the new way, and
767         use StringView::upconvertedCharacters.
768         (WebCore::newLengthArray): Ditto.
769
770         * platform/LinkHash.cpp:
771         (WebCore::visitedLinkHash): Use characters16 for the 16-bit path.
772         Also removed unused visitedURL function.
773         * platform/LinkHash.h: Removed unused visitedURL function.
774
775         * platform/SharedBuffer.cpp:
776         (WebCore::utf8Buffer): Added an 8-bit code path.
777         * platform/URL.cpp:
778         (WebCore::URL::port): Ditto.
779         (WebCore::encodeRelativeString): Use StringView to call TextEncoding::encode.
780
781         * platform/graphics/Color.cpp:
782         (WebCore::Color::parseHexColor): Use characters16 in the 16-bit path.
783         (WebCore::Color::Color): Ditto.
784
785         * platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp:
786         (WebCore::harfBuzzGetGlyph): Use StringView to call TextEncoding::encode.
787
788         * platform/graphics/StringTruncator.cpp:
789         (WebCore::centerTruncateToBuffer): Use StringView::getCharactersWithUpconvert.
790         (WebCore::rightTruncateToBuffer): Ditto.
791         (WebCore::rightClipToCharacterBuffer): Ditto.
792         (WebCore::rightClipToWordBuffer): Ditto.
793         (WebCore::leftTruncateToBuffer): Ditto.
794         (WebCore::truncateString): Ditto.
795
796         * platform/graphics/TextRun.h:
797         (WebCore::TextRun::TextRun): Use characters16 in the 16-bit code path.
798
799         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
800         (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource):
801         Use StringView::upconvertedCharacters.
802
803         * platform/network/DataURL.cpp:
804         (WebCore::handleDataURL): Use StringView to call TextEncoding::encode.
805         * platform/network/FormDataBuilder.cpp:
806         (WebCore::FormDataBuilder::addFilenameToMultiPartHeader): Ditto.
807
808         * platform/sql/SQLiteStatement.cpp:
809         (WebCore::SQLiteStatement::bindBlob): Use StringView::upconvertedCharacters.
810         (WebCore::SQLiteStatement::bindText): Ditto.
811
812         * platform/text/DecodeEscapeSequences.h:
813         (WebCore::Unicode16BitEscapeSequence::decodeRun): Changed to take a StringView.
814         (WebCore::URLEscapeSequence::decodeRun): Ditto.
815         (WebCore::decodeEscapeSequences): Pass StringView to decodeRun.
816
817         * platform/text/Hyphenation.cpp:
818         (WebCore::lastHyphenLocation): Take a StringView.
819         * platform/text/Hyphenation.h: Make lastHyphenLocation take a StringView.
820
821         * platform/text/TextBreakIterator.cpp:
822         (WebCore::initializeIteratorWithRules): Use StringView::upconvertedCharacters.
823
824         * platform/text/TextEncoding.cpp:
825         (WebCore::TextEncoding::encode): Use StringView::upconvertedCharacters.
826         Change argument type to StringView.
827         * platform/text/TextEncoding.h: Ditto.
828
829         * platform/text/TextEncodingRegistry.cpp:
830         (WebCore::atomicCanonicalTextEncodingName): Use characters16 for the 16-bit path.
831
832         * platform/text/cf/HyphenationCF.cpp:
833         (WebCore::lastHyphenLocation): Use StringView::text.createCFStringWithoutCopying.
834         Change argument type to StringView.
835
836         * rendering/RenderBlock.cpp:
837         (WebCore::RenderBlock::constructTextRun): Use characters16 for the 16-bit path.
838
839         * rendering/RenderCombineText.cpp:
840         (WebCore::RenderCombineText::width): Removed check for null characters pointer,
841         since the pointer will never be null, and even if it was there would be no need
842         for an early exit.
843
844         * rendering/RenderText.cpp:
845         (WebCore::maxWordFragmentWidth): Take a StringView.
846         (WebCore::RenderText::computePreferredLogicalWidths): Pass in a StringView.
847         * rendering/line/BreakingContextInlineHeaders.h:
848         (WebCore::tryHyphenating): Ditto.
849
850         * rendering/svg/SVGTextLayoutEngine.cpp:
851         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath): Use
852         StringView::upconvertedCharacters.
853
854         * rendering/svg/SVGTextMetrics.cpp:
855         (WebCore::SVGTextMetrics::SVGTextMetrics): Use String::substring.
856
857         * svg/SVGAngle.cpp:
858         (WebCore::SVGAngle::setValueAsString): Use StringView::upconvertedCharacters.
859         * svg/SVGAnimateMotionElement.cpp:
860         (WebCore::parsePoint): Ditto.
861         * svg/SVGAnimationElement.cpp:
862         (WebCore::parseKeySplines): Ditto.
863         * svg/SVGFitToViewBox.cpp:
864         (WebCore::SVGFitToViewBox::parseViewBox): Ditto.
865
866         * svg/SVGFontData.cpp:
867         (WebCore::SVGFontData::applySVGGlyphSelection): Pass StringView to
868         createStringWIthMirroredCharacters.
869         (WebCore::createStringWithMirroredCharacters): Changed to use StringView and
870         use indexing into that instead of a characters pointer.
871
872         * svg/SVGFontData.h: Removed createStringWithMirroredCharacters member function,
873         since it has nothing to do with the SVGFontData object. Now it's just a private
874         helper function in the SVGFontData.cpp source file.
875
876         * svg/SVGFontElement.cpp:
877         (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Index into the string
878         instead of using deprecatedCharacters.
879
880         * svg/SVGGlyphMap.h:
881         (WebCore::SVGGlyphMap::addGlyph): Use StringView::upconvertedCharacters.
882         (WebCore::SVGGlyphMap::collectGlyphsForString): Ditto.
883         * svg/SVGGlyphRefElement.cpp:
884         (WebCore::SVGGlyphRefElement::parseAttribute): Ditto.
885         * svg/SVGLength.cpp:
886         (WebCore::SVGLength::setValueAsString): Ditto.
887         * svg/SVGLengthList.cpp:
888         (WebCore::SVGLengthList::parse): Ditto.
889         * svg/SVGNumberList.cpp:
890         (WebCore::SVGNumberList::parse): Ditto.
891         * svg/SVGParserUtilities.cpp:
892         (WebCore::parseNumberFromString): Ditto.
893         (WebCore::parseNumberOptionalNumber): Ditto.
894         (WebCore::parseRect): Ditto.
895         (WebCore::pointsListFromSVGData): Ditto.
896         (WebCore::parseGlyphName): Ditto.
897         (WebCore::parseKerningUnicodeString): Ditto.
898         (WebCore::parseDelimitedString): Ditto.
899         * svg/SVGPreserveAspectRatio.cpp:
900         (WebCore::SVGPreserveAspectRatio::parse): Ditto.
901         * svg/SVGStringList.cpp:
902         (WebCore::SVGStringList::parse): Ditto.
903         * svg/SVGTransformList.cpp:
904         (WebCore::SVGTransformList::parse): Ditto.
905         * svg/SVGTransformable.cpp:
906         (WebCore::SVGTransformable::parseTransformType): Ditto.
907         * svg/SVGViewSpec.cpp:
908         (WebCore::SVGViewSpec::parseViewSpec): Ditto.
909         * svg/SVGZoomAndPan.h:
910         (WebCore::SVGZoomAndPan::parseAttribute): Ditto.
911
912         * xml/XMLHttpRequest.cpp:
913         (WebCore::XMLHttpRequest::send): Pass a StringView to TextEncoding::encode.
914
915         * xml/XSLStyleSheetLibxslt.cpp:
916         (WebCore::XSLStyleSheet::parseString): Use StringView::upconvertedCharacters.
917
918 2014-03-18  Bem Jones-Bey  <bjonesbe@adobe.com>
919
920         LayoutBox is a terrible name
921         https://bugs.webkit.org/show_bug.cgi?id=130351
922
923         Reviewed by Simon Fraser.
924
925         Rename LayoutBox to CSSBoxType. Also rename the functions and methods
926         that mention "LayoutBox" to something that makes sense for each
927         specific situation.
928
929         No new tests, no behavior change.
930
931         * css/BasicShapeFunctions.cpp:
932         (WebCore::valueForBasicShape):
933         (WebCore::basicShapeForValue):
934         * css/CSSBasicShapes.cpp:
935         (WebCore::CSSBasicShapeCircle::cssText):
936         (WebCore::CSSBasicShapeCircle::equals):
937         (WebCore::CSSBasicShapeEllipse::cssText):
938         (WebCore::CSSBasicShapeEllipse::equals):
939         (WebCore::CSSBasicShapePolygon::cssText):
940         (WebCore::CSSBasicShapePolygon::equals):
941         (WebCore::CSSBasicShapeInset::cssText):
942         * css/CSSBasicShapes.h:
943         (WebCore::CSSBasicShape::referenceBox):
944         (WebCore::CSSBasicShape::setReferenceBox):
945         * css/CSSComputedStyleDeclaration.cpp:
946         (WebCore::shapePropertyValue):
947         * css/CSSPrimitiveValueMappings.h:
948         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
949         (WebCore::CSSPrimitiveValue::operator CSSBoxType):
950         * css/DeprecatedStyleBuilder.cpp:
951         (WebCore::ApplyPropertyClipPath::applyValue):
952         (WebCore::ApplyPropertyShape::applyValue):
953         * page/animation/CSSPropertyAnimation.cpp:
954         (WebCore::blendFunc):
955         * rendering/ClipPathOperation.h:
956         (WebCore::ShapeClipPathOperation::setReferenceBox):
957         (WebCore::ShapeClipPathOperation::referenceBox):
958         (WebCore::BoxClipPathOperation::create):
959         (WebCore::BoxClipPathOperation::referenceBox):
960         (WebCore::BoxClipPathOperation::BoxClipPathOperation):
961         * rendering/shapes/Shape.cpp:
962         (WebCore::Shape::createBoxShape):
963         * rendering/shapes/Shape.h:
964         * rendering/shapes/ShapeInfo.cpp:
965         (WebCore::ShapeInfo<RenderType>::computedShape):
966         * rendering/shapes/ShapeInfo.h:
967         * rendering/shapes/ShapeInsideInfo.h:
968         * rendering/shapes/ShapeOutsideInfo.h:
969         * rendering/style/BasicShapes.cpp:
970         (WebCore::BasicShape::canBlend):
971         * rendering/style/BasicShapes.h:
972         (WebCore::BasicShape::referenceBox):
973         (WebCore::BasicShape::setReferenceBox):
974         (WebCore::BasicShape::BasicShape):
975         * rendering/style/RenderStyleConstants.h:
976         * rendering/style/ShapeValue.h:
977         (WebCore::ShapeValue::createShapeValue):
978         (WebCore::ShapeValue::createBoxShapeValue):
979         (WebCore::ShapeValue::cssBox):
980         (WebCore::ShapeValue::ShapeValue):
981
982 2014-03-18  Daniel Bates  <dabates@apple.com>
983
984         REGRESSION (r162334): RenderTableCol::styleDidChange uses out-of-date table information
985         https://bugs.webkit.org/show_bug.cgi?id=129561
986
987         Reviewed by Antti Koivisto.
988
989         Test: fast/table/update-col-width-and-remove-table-cell-crash.html
990
991         Fixes an issue where a table column or table column group may query an out-
992         of-date model of its associated table as part of its process to propagate
993         style changes to affected table cells.
994
995         * rendering/RenderTableCol.cpp:
996         (WebCore::RenderTableCol::styleDidChange): Ensure that all sections in the table
997         are up-to-date before querying for a table cell.
998         * rendering/RenderTableSection.cpp:
999         (WebCore::RenderTableSection::recalcCells): Update comment to read well. In
1000         particular, remove the reference to RenderTableSection::fillRowsWithDefaultStartingAtPosition()
1001         as this function was removed in <http://trac.webkit.org/changeset/99919>.
1002         (WebCore::RenderTableSection::setNeedsCellRecalc): Clear the grid preemptively to
1003         to ensure that accessors cannot access stale data. We'll build the grid again
1004         in RenderTableSection::recalcCells().
1005         (WebCore::RenderTableSection::numColumns): Add ASSERT(!m_needsCellRecalc) to assert
1006         that the grid cells are up-to-date. That is, we don't need to calculate them again.
1007         * rendering/RenderTableSection.h: Add ASSERT(!m_needsCellRecalc) or call recalcCellsIfNeeded()
1008         before accessing the grid to ensure that it's up-to-date.
1009
1010 2014-03-18  Daniel Bates  <dabates@apple.com>
1011
1012         REGRESSION (r163560): ASSERTION FAILED: childrenInline() in WebCore::RenderSVGText::layout
1013         https://bugs.webkit.org/show_bug.cgi?id=130346
1014
1015         Reviewed by Andreas Kling.
1016
1017         Following <http://trac.webkit.org/changeset/163560>, SVG inline elements may be treated as block-
1018         level elements depending on their CSS styles (e.g. display: block). But such elements should always
1019         be treated as inline-level elements.
1020
1021         Partially revert <http://trac.webkit.org/changeset/164368> as it addressed a similar issue for
1022         <tspan> and <tref>. Instead we should implement RenderSVGInline::updateFromStyle() to ensure that
1023         RenderSVGInline and any derived classes (e.g. RenderSVGTSpan) are always treated as inline elements
1024         regardless of their CSS style because the SVG text layout code depends on this assumption as part
1025         of a performance optimization. We may want to revaluate the benefits of this optimization with respect
1026         to code clarity and ensuring the code is less error prone.
1027
1028         Test: svg/text/a-display-block.html
1029               svg/text/tref-display-inherit.html
1030
1031         * css/StyleResolver.cpp:
1032         (WebCore::StyleResolver::adjustRenderStyle): Revert changes from <http://trac.webkit.org/changeset/164368>.
1033         * rendering/RenderInline.h:
1034         * rendering/svg/RenderSVGInline.cpp:
1035         (WebCore::RenderSVGInline::updateFromStyle): Added; ensure that RenderSVGInline and any derived
1036         classes are treated as inline elements because the SVG text layout code depends on this assumption.
1037         * rendering/svg/RenderSVGInline.h:
1038
1039 2014-03-18  Hans Muller  <hmuller@adobe.com>
1040
1041         [CSS Shapes] shape-outside: ellipse(50% 50% at) causes crash
1042         https://bugs.webkit.org/show_bug.cgi?id=130366
1043
1044         Reviewed by Andreas Kling.
1045
1046         The BasicShape ellipse and circle functions now report a syntax error
1047         if the "at" keyword is not followed by a position.
1048
1049         The existing parsing tests have been updated to include this case.
1050
1051         * css/CSSParser.cpp:
1052         (WebCore::CSSParser::parseBasicShapeCircle):
1053         (WebCore::CSSParser::parseBasicShapeEllipse):
1054
1055 2014-03-18  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1056
1057         Removing MediaStreamVector typedef
1058         https://bugs.webkit.org/show_bug.cgi?id=130402
1059
1060         Reviewed by Eric Carlson.
1061
1062         * Modules/mediastream/MediaStream.h:
1063         * Modules/mediastream/RTCPeerConnection.cpp:
1064         (WebCore::RTCPeerConnection::getLocalStreams):
1065         (WebCore::RTCPeerConnection::getRemoteStreams):
1066         (WebCore::RTCPeerConnection::getStreamById):
1067         (WebCore::RTCPeerConnection::hasLocalStreamWithTrackId):
1068         * Modules/mediastream/RTCPeerConnection.h:
1069
1070 2014-03-18  Commit Queue  <commit-queue@webkit.org>
1071
1072         Unreviewed, rolling out r165815.
1073         https://bugs.webkit.org/show_bug.cgi?id=130410
1074
1075         Broke many VTT tests (Requested by bfulgham on #webkit).
1076
1077         Reverted changeset:
1078
1079         "TextTrackRegion Not Implemented"
1080         https://bugs.webkit.org/show_bug.cgi?id=116546
1081         http://trac.webkit.org/changeset/165815
1082
1083 2014-03-18  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
1084
1085         Bad cast with toRenderBox in WebCore::RenderView::repaintViewRectangle
1086         https://bugs.webkit.org/show_bug.cgi?id=129104
1087
1088         Reviewed by Simon Fraser.
1089
1090         We should not cast the renderer of a RenderView's owner to RenderBox
1091         unless we are sure it is one.
1092
1093         Test: plugins/crash-invalid-data-reference.html
1094
1095         * rendering/RenderView.cpp:
1096         (WebCore::RenderView::repaintViewRectangle):
1097
1098 2014-03-18  Andreas Kling  <akling@apple.com>
1099
1100         Micro-optimize element descendant iterator.
1101         <https://webkit.org/b/130384>
1102
1103         Add a slightly more efficient ElementDescendantIterator that keeps a stack
1104         of relevant ancestor siblings instead of walking up the parent chain every
1105         time we run out of children.
1106
1107         Reviewed by Antti Koivisto.
1108
1109         * WebCore.xcodeproj/project.pbxproj:
1110         * dom/ElementDescendantIterator.h: Added.
1111         (WebCore::ElementDescendantIterator::ElementDescendantIterator):
1112         (WebCore::ElementDescendantIterator::operator++):
1113         (WebCore::ElementDescendantConstIterator::ElementDescendantConstIterator):
1114         (WebCore::ElementDescendantConstIterator::operator++):
1115         (WebCore::ElementDescendantIteratorAdapter::ElementDescendantIteratorAdapter):
1116         (WebCore::ElementDescendantIteratorAdapter::begin):
1117         (WebCore::ElementDescendantIteratorAdapter::end):
1118         (WebCore::ElementDescendantConstIteratorAdapter::ElementDescendantConstIteratorAdapter):
1119         (WebCore::ElementDescendantConstIteratorAdapter::begin):
1120         (WebCore::ElementDescendantConstIteratorAdapter::end):
1121         (WebCore::elementDescendants):
1122         * dom/ElementIterator.h:
1123         * dom/SelectorQuery.cpp:
1124         (WebCore::elementsForLocalName):
1125         (WebCore::anyElement):
1126         (WebCore::SelectorDataList::executeSingleTagNameSelectorData):
1127         (WebCore::SelectorDataList::executeSingleClassNameSelectorData):
1128         (WebCore::SelectorDataList::executeSingleSelectorData):
1129         (WebCore::SelectorDataList::executeSingleMultiSelectorData):
1130         (WebCore::SelectorDataList::executeCompiledSimpleSelectorChecker):
1131
1132 2014-03-18  Antti Koivisto  <antti@apple.com>
1133
1134         Mutating rules returned by getMatchedCSSRules can result in crash
1135         https://bugs.webkit.org/show_bug.cgi?id=130209
1136
1137         Reviewed by Andreas Kling.
1138         
1139         The non-standard getMatchedCSSRules API returns CSSStyleRule objects that don't
1140         have parent stylesheet pointer (as we don't know which sheet the rule originated from).
1141         Mutating the rule via such wrapper can lead to crashes later as we fail to invalidate
1142         the underlying stylesheet.
1143         
1144         Fix by disallowing mutation of style rules that don't have parent sheet pointer. CSSStyleRule
1145         has two mutable properties selectorText and style. The latter gives back CSSStyleDeclaration.
1146         This patch disallows mutations in both cases for CSSStyleRules that don't have parent stylesheet
1147         pointer.
1148         
1149         While it is technically possible to have CSSRules that are legitimately disconnected
1150         from stylesheet (by removing rule from sheet while holding a reference to it) it never
1151         makes sense to mutate such rule as there is no way to do anything with it afterwards.
1152
1153         Tests: fast/css/getMatchedCSSProperties-rule-mutation.html
1154                fast/css/getMatchedCSSRules-crash.html
1155
1156         * css/CSSStyleRule.cpp:
1157         (WebCore::CSSStyleRule::setSelectorText):
1158
1159             Bail out if parent stylesheet is null.
1160
1161         * css/PropertySetCSSStyleDeclaration.cpp:
1162         (WebCore::PropertySetCSSStyleDeclaration::setCssText):
1163         (WebCore::PropertySetCSSStyleDeclaration::setProperty):
1164         (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
1165         (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
1166         
1167             Allow StyleRuleCSSStyleDeclaration subclass cancel the mutation via
1168             boolean return value from willMutate.
1169
1170         (WebCore::StyleRuleCSSStyleDeclaration::willMutate):
1171         
1172             Disallow mutation if the owning CSSStyleRule is null or has null stylesheet.
1173
1174         (WebCore::StyleRuleCSSStyleDeclaration::didMutate):
1175         
1176             We never get here with null rule or stylesheet anymore.
1177
1178         * css/PropertySetCSSStyleDeclaration.h:
1179         (WebCore::PropertySetCSSStyleDeclaration::willMutate):
1180
1181 2014-03-17  Jeffrey Pfau  <jpfau@apple.com>
1182
1183         <media> elements are not properly moved to new documents' visibility callback lists
1184         https://bugs.webkit.org/show_bug.cgi?id=127711
1185
1186         Reviewed by David Kilzer.
1187
1188         * html/HTMLMediaElement.cpp:
1189         (WebCore::HTMLMediaElement::didMoveToNewDocument):
1190
1191 2014-03-18  Filip Pizlo  <fpizlo@apple.com>
1192
1193         More FTL enabling.
1194
1195         Rubber stamped by Dan Bernstein and Mark Hahnenberg.
1196
1197         No new tests.
1198
1199         * Configurations/FeatureDefines.xcconfig:
1200
1201 2014-03-18  Brent Fulgham  <bfulgham@apple.com>
1202
1203         TextTrackRegion Not Implemented
1204         https://bugs.webkit.org/show_bug.cgi?id=116546
1205
1206         Reviewed by Eric Carlson.
1207
1208         Merged from Blink (patch by vcarbune@chromium.org):
1209         https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
1210         http://crbug.com/25798003
1211
1212         Tests: media/track/regions-webvtt/text-track-region-display.html
1213                media/track/regions-webvtt/text-track-region-dom-layout.html
1214
1215         * html/HTMLMediaElement.cpp:
1216         (WebCore::HTMLMediaElement::parseAttribute):
1217         * html/track/LoadableTextTrack.cpp:
1218         (WebCore::LoadableTextTrack::newRegionsAvailable):
1219         * html/track/TextTrack.cpp:
1220         * html/track/TextTrack.h:
1221         * html/track/TextTrackRegion.cpp:
1222         (WebCore::TextTrackRegion::TextTrackRegion):
1223         (WebCore::TextTrackRegion::appendTextTrackCueBox):
1224         * html/track/TextTrackRegion.h:
1225         * html/track/VTTCue.cpp:
1226         (WebCore::VTTCue::VTTCue):
1227         (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
1228         (WebCore::VTTCue::removeDisplayTree):
1229         * html/track/VTTCue.h:
1230         * html/track/WebVTTParser.cpp:
1231         (WebCore::WebVTTParser::parseBytes):
1232         (WebCore::WebVTTParser::collectMetadataHeader):
1233         * html/track/WebVTTParser.h:
1234
1235 2014-03-18  Philippe Normand  <pnormand@igalia.com>
1236
1237         [GTK] ResourceLoaderSoup.cpp was added by mistake
1238         https://bugs.webkit.org/show_bug.cgi?id=130396
1239
1240         Reviewed by Carlos Garcia Campos.
1241
1242         This file was committed by mistake in r152778 and is not built by
1243         any port.
1244
1245         * loader/soup/ResourceLoaderSoup.cpp: Removed.
1246
1247 2014-03-18  Andreas Kling  <akling@apple.com>
1248
1249         Rename ElementDescendantIterator to TypedElementDescendantIterator.
1250         Romper-stubbed by Antti "Latte Lung" Koivisto.
1251
1252         * GNUmakefile.list.am:
1253         * WebCore.vcxproj/WebCore.vcxproj:
1254         * WebCore.vcxproj/WebCore.vcxproj.filters:
1255         * WebCore.xcodeproj/project.pbxproj:
1256         * dom/ElementDescendantIterator.h: Removed.
1257         * dom/ElementIterator.h:
1258         * dom/TypedElementDescendantIterator.h: Added.
1259         (WebCore::TypedElementDescendantIterator<ElementType>::TypedElementDescendantIterator):
1260         (WebCore::TypedElementDescendantIterator<ElementType>::operator):
1261         (WebCore::TypedElementDescendantConstIterator<ElementType>::TypedElementDescendantConstIterator):
1262         (WebCore::TypedElementDescendantConstIterator<ElementType>::operator):
1263         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::TypedElementDescendantIteratorAdapter):
1264         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::begin):
1265         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::end):
1266         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::beginAt):
1267         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::from):
1268         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::first):
1269         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::last):
1270         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::TypedElementDescendantConstIteratorAdapter):
1271         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::begin):
1272         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::end):
1273         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::beginAt):
1274         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::from):
1275         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::first):
1276         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::last):
1277         (WebCore::descendantsOfType):
1278
1279 2014-03-18  Ion Rosca  <rosca@adobe.com>
1280
1281         Add blend mode property to dumped information in GraphicsLayer.
1282         https://bugs.webkit.org/show_bug.cgi?id=130331
1283
1284         Reviewed by Simon Fraser.
1285
1286         Functionality is not changed, therefore no new tests added.
1287         I adjusted the affected test results generated with layerTreeAsText.
1288
1289         * platform/graphics/GraphicsLayer.cpp:
1290         (WebCore::GraphicsLayer::dumpProperties):
1291
1292 2014-03-17  Sergio Villar Senin  <svillar@igalia.com>
1293
1294         webdatabase: Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T>
1295         https://bugs.webkit.org/show_bug.cgi?id=130347
1296
1297         Reviewed by Darin Adler.
1298
1299         * Modules/webdatabase/DatabaseTracker.cpp:
1300         (WebCore::DatabaseTracker::openDatabaseMutex):
1301         (WebCore::notificationMutex):
1302         (WebCore::notificationQueue):
1303
1304 2014-03-17  Jer Noble  <jer.noble@apple.com>
1305
1306         Add RemoteCommandListener support to MediaSessionManager.
1307         https://bugs.webkit.org/show_bug.cgi?id=130354
1308
1309         Reviewed by Eric Carlson.
1310
1311         Listen for remote commands in MediaSessionManager.
1312
1313         * platform/audio/MediaSessionManager.cpp:
1314         (WebCore::MediaSessionManager::addSession):
1315         (WebCore::MediaSessionManager::removeSession):
1316         * platform/audio/MediaSessionManager.h:
1317
1318         Add RemoteCommandListener to the project files:
1319         * CMakeLists.txt:
1320         * GNUmakefile.list.am:
1321         * WebCore.vcxproj/WebCore.vcxproj:
1322         * WebCore.vcxproj/WebCore.vcxproj.filters:
1323
1324 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1325
1326         Rewrite WebHTMLConverter::_elementHasOwnBackgroundColor in C++
1327         https://bugs.webkit.org/show_bug.cgi?id=130291
1328
1329         Reviewed by Andreas Kling.
1330
1331         Extracted HTMLConverterCaches::elementHasOwnBackgroundColor.
1332
1333         * platform/mac/HTMLConverter.mm:
1334         (HTMLConverterCaches::elementHasOwnBackgroundColor):
1335         (-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
1336
1337 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1338
1339         Rewrite WebHTMLConverter::_elementIsBlockLevel in C++
1340         https://bugs.webkit.org/show_bug.cgi?id=130287
1341
1342         Reviewed by Andreas Kling.
1343
1344         Rewrote _elementIsBlockLevel as HTMLConverterCaches::isBlockElement. Also removed the code to update
1345         _elementIsBlockLevel in _traverseNode as computing the value of _elementIsBlockLevel is now fast.
1346
1347         * platform/mac/HTMLConverter.h:
1348         * platform/mac/HTMLConverter.mm:
1349         (HTMLConverterCaches::isBlockElement):
1350         (-[WebHTMLConverter _elementIsBlockLevel:]):
1351         (-[WebHTMLConverter _traverseNode:depth:embedded:]):
1352         (-[WebHTMLConverter dealloc]):
1353         (-[WebHTMLConverter init]):
1354
1355 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1356
1357         Rewrite WebHTMLConverter::_getComputedFloat in C++
1358         https://bugs.webkit.org/show_bug.cgi?id=130284
1359
1360         Reviewed by Andreas Kling.
1361
1362         Rewrote _getComputedFloat as HTMLConverterCaches::floatPropertyValueForNode.
1363
1364         * platform/mac/HTMLConverter.h:
1365         * platform/mac/HTMLConverter.mm:
1366         (HTMLConverterCaches::floatPropertyValueForNode):
1367         (-[WebHTMLConverter _getFloat:forNode:property:]): Now that computing the float value is fast, we don't need to
1368         store it in the cache.
1369         (-[WebHTMLConverter dealloc]):
1370         (-[WebHTMLConverter init]):
1371
1372 2014-03-16  Andreas Kling  <akling@apple.com>
1373
1374         HTMLInputElement::defaultEventHandler() shouldn't force style updates.
1375         <https://webkit.org/b/130303>
1376
1377         Move the updateStyleIfNeeded() call down to TextFieldInputType instead
1378         of doing it for every HTMLInputEvent.
1379
1380         There might be a better way to do this; we only want to know about this
1381         specific element's renderer, and don't need the rest of the tree.
1382         This is still an easy hack to avoid a lot of unnecessary work.
1383
1384         Reviewed by Anders Carlsson.
1385
1386         * html/HTMLInputElement.cpp:
1387         (WebCore::HTMLInputElement::defaultEventHandler):
1388         * html/TextFieldInputType.cpp:
1389         (WebCore::TextFieldInputType::forwardEvent):
1390
1391 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
1392
1393         [WebVTT] Extending WebVTT Rendering with Regions
1394         https://bugs.webkit.org/show_bug.cgi?id=109822
1395
1396         Reviewed by Eric Carlson.
1397
1398         Merged from Blink (patch by Victor Carbune vcarbune@chromium.org):
1399         https://chromium.googlesource.com/chromium/blink/+/0cdebc1d76d41bfcb9c4b022e54a4fbff132225d
1400
1401         No new tests, as this feature is not active in default builds. New tests will be added
1402         in an upcoming bug.
1403
1404         * css/mediaControls.css:
1405         (video::-webkit-media-text-track-region):
1406         (video::-webkit-media-text-track-region-container):
1407         (video::-webkit-media-text-track-region-container.scrolling):
1408         (video::-webkit-media-text-track-display):
1409         * html/shadow/MediaControlElements.cpp:
1410         (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
1411         * html/track/TextTrack.cpp:
1412         (WebCore::TextTrack::~TextTrack):
1413         * html/track/TextTrackCue.cpp:
1414         * html/track/TextTrackRegion.cpp:
1415         (WebCore::TextTrackRegion::TextTrackRegion):
1416         (WebCore::TextTrackRegion::textTrackCueContainerScrollingClass):
1417         (WebCore::TextTrackRegion::textTrackCueContainerShadowPseudoId):
1418         (WebCore::TextTrackRegion::textTrackRegionShadowPseudoId):
1419         (WebCore::TextTrackRegion::appendTextTrackCueBox):
1420         (WebCore::TextTrackRegion::displayLastTextTrackCueBox):
1421         (WebCore::TextTrackRegion::willRemoveTextTrackCueBox):
1422         (WebCore::TextTrackRegion::getDisplayTree):
1423         (WebCore::TextTrackRegion::prepareRegionDisplayTree):
1424         (WebCore::TextTrackRegion::startTimer):
1425         (WebCore::TextTrackRegion::stopTimer):
1426         (WebCore::TextTrackRegion::scrollTimerFired):
1427         * html/track/TextTrackRegion.h:
1428         (WebCore::TextTrackRegion::create):
1429         (WebCore::TextTrackRegion::isScrollingRegion):
1430         (WebCore::TextTrackRegion::ownerDocument):
1431         * html/track/TextTrackRegion.idl:
1432         * html/track/TextTrackRegionList.cpp:
1433         (WebCore::TextTrackRegionList::getRegionById):
1434         * html/track/VTTCue.cpp:
1435         (WebCore::VTTCueBox::applyCSSProperties):
1436         (WebCore::VTTCue::~VTTCue):
1437         (WebCore::VTTCue::setIsActive):
1438         (WebCore::VTTCue::removeDisplayTree):
1439         * html/track/WebVTTParser.cpp:
1440         (WebCore::WebVTTParser::createNewRegion):
1441         * rendering/RenderVTTCue.cpp:
1442         (WebCore::RenderVTTCue::layout):
1443
1444 2014-03-17  Brendan Long  <b.long@cablelabs.com>
1445
1446         [GStreamer] human readable language code for tracks
1447         https://bugs.webkit.org/show_bug.cgi?id=124514
1448
1449         Reviewed by Martin Robinson.
1450
1451         * PlatformEfl.cmake: Add GSTREAMER_TAG_INCLUDE_DIRS and GSTREAMER_TAG_LIBRARIES.
1452         * PlatformGTK.cmake: Same.
1453         * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
1454         (WebCore::TrackPrivateBaseGStreamer::getLanguageCode): Run language codes though gst_tag_get_language_code_iso_639_1() to make sure they're valid.
1455         (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged): Use getLanguageCode() for languages instead of just getTag().
1456
1457 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1458
1459         [Mac] Rewrite WebHTMLConverter::_computedStringForNode in C++
1460         https://bugs.webkit.org/show_bug.cgi?id=130274
1461
1462         Reviewed by Andreas Kling.
1463
1464         Rewrote WebHTMLConverter::_computedStringForNode as HTMLConverterCaches::propertyValueForNode.
1465
1466         * platform/mac/HTMLConverter.h: Removed unused caches.
1467         * platform/mac/HTMLConverter.mm:
1468         (HTMLConverterCaches::computedStylePropertyForElement): Added use const String& instead of String& on property name.
1469         (HTMLConverterCaches::inlineStylePropertyForElement): Ditto.
1470         (HTMLConverterCaches::propertyValueForNode): Renamed and rewritten from _computedStringForNode.
1471         (-[WebHTMLConverter _stringForNode:property:]): Simply return the computed value instead of storing it in the cache
1472         now that the computing the value is fast.
1473         (-[WebHTMLConverter dealloc]):
1474         (-[WebHTMLConverter init]):
1475
1476 2014-03-17  Andreas Kling  <akling@apple.com>
1477
1478         Remove unnecessary JSC::Handle null checks in bindings code.
1479         <https://webkit.org/b/130356>
1480
1481         Use Handle::slot() directly instead of going through Handle::get().
1482         This avoids null checking the HandleSlot, which isn't necessary here
1483         anyway, and the code already assumes it'll never be null.
1484
1485         Reviewed by Gavin Barraclough.
1486
1487         * bindings/js/JSCSSRuleListCustom.cpp:
1488         (WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
1489         * bindings/js/JSCSSValueCustom.cpp:
1490         (WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
1491         (WebCore::JSCSSValueOwner::finalize):
1492         * bindings/js/JSMutationObserverCustom.cpp:
1493         (WebCore::JSMutationObserverOwner::isReachableFromOpaqueRoots):
1494         * bindings/js/JSNodeCustom.cpp:
1495         (WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
1496         * bindings/js/JSNodeListCustom.cpp:
1497         (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
1498         * bindings/js/JSTextTrackCueCustom.cpp:
1499         (WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
1500         * bindings/js/WebCoreTypedArrayController.cpp:
1501         (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
1502         (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
1503         * bindings/scripts/CodeGeneratorJS.pm:
1504         (GenerateImplementation):
1505         * bridge/runtime_root.cpp:
1506         (JSC::Bindings::RootObject::finalize):
1507
1508 2014-03-17  Krzysztof Czech  <k.czech@samsung.com>
1509
1510         AX: Reducing some code by using helper function ariaElementsFromAttribute
1511         https://bugs.webkit.org/show_bug.cgi?id=130344
1512
1513         Reviewed by Chris Fleizach.
1514
1515         Change visibility of ariaElementsFromAttribute function from private to protected
1516         so that other classes that derives from AccessibilityRenderObject can use it.
1517
1518         No new tests. No behaviour change.
1519
1520         * accessibility/AccessibilityRenderObject.h:
1521         * accessibility/AccessibilityTableCell.cpp:
1522         (WebCore::AccessibilityTableCell::columnHeaders):
1523
1524 2014-03-16  Brent Fulgham  <bfulgham@apple.com>
1525
1526         Provide preference to enable additional AVFoundation options
1527         https://bugs.webkit.org/show_bug.cgi?id=130275
1528
1529         Reviewed by Eric Carlson.
1530
1531         * html/HTMLMediaElement.cpp:
1532         (WebCore::HTMLMediaElement::doesHaveAttribute): Added.
1533         * html/HTMLMediaElement.h:
1534         * page/Settings.in: Add new attribute.
1535         * platform/graphics/MediaPlayer.cpp:
1536         (WebCore::MediaPlayer::doesHaveAttribute): Added stub to call private player object's
1537         implementation of doesHaveAttribute.
1538         * platform/graphics/MediaPlayer.h:
1539         (WebCore::MediaPlayerClient::doesHaveAttribute):
1540         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
1541         (WebCore::MediaPlayerPrivateAVFoundationCF::AVFWrapper::createAssetForURL): Check the <media> object,
1542         and notify AVFoundationCF to use URI option if relevant.
1543         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
1544         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Check the <media> object,
1545         and notify AVFoundation to use URI option if relevant.
1546
1547 2014-03-17  Jer Noble  <jer.noble@apple.com>
1548
1549         [EME] Add NULL protections in SourceBuffer and MediaSource.
1550         https://bugs.webkit.org/show_bug.cgi?id=130266
1551
1552         Reviewed by Eric Carlson.
1553
1554         Add NULL checks in places which may be called after a SourceBuffer has been removed:
1555
1556         * Modules/mediasource/MediaSource.cpp:
1557         (WebCore::MediaSource::monitorSourceBuffers): Protect against a SourceBuffer being removed
1558             (and thus activeSourceBuffers being empty) when monitoring source buffer state.
1559         * Modules/mediasource/SourceBuffer.cpp:
1560         (WebCore::SourceBuffer::appendBufferTimerFired): Protect against SourceBuffer being removed.
1561         (WebCore::SourceBuffer::videoTracks): Ditto.
1562         (WebCore::SourceBuffer::audioTracks): Ditto.
1563         (WebCore::SourceBuffer::textTracks): Ditto.
1564         (WebCore::SourceBuffer::setActive): Ditto.
1565         (WebCore::SourceBuffer::sourceBufferPrivateDidEndStream): Ditto.
1566         (WebCore::SourceBuffer::hasCurrentTime): Ditto.
1567         (WebCore::SourceBuffer::canPlayThrough): Ditto.
1568         (WebCore::SourceBuffer::hasFutureTime): Ditto, and check for an empty buffered ranges.
1569
1570 2014-03-17  Tim Horton  <timothy_horton@apple.com>
1571
1572         WKThumbnailView should support snapshots
1573         https://bugs.webkit.org/show_bug.cgi?id=130335
1574         <rdar://problem/16255139>
1575
1576         Reviewed by Simon Fraser.
1577
1578         * WebCore.exp.in:
1579
1580 2014-01-29  Sergio Villar Senin  <svillar@igalia.com>
1581
1582         [CSS Grid Layout] getComputedStyle() not using author's order when showing named grid lines
1583         https://bugs.webkit.org/show_bug.cgi?id=127837
1584
1585         Reviewed by David Hyatt.
1586
1587         Added a couple of new Vectors to store the names of the grid lines
1588         respecting their order. They will be used to get the right outcome
1589         for getComputedStyle().
1590
1591         * css/CSSComputedStyleDeclaration.cpp:
1592         (WebCore::addValuesForNamedGridLinesAtIndex):
1593         (WebCore::valueForGridTrackList):
1594         * css/StyleResolver.cpp:
1595         (WebCore::createGridTrackList):
1596         (WebCore::StyleResolver::applyProperty):
1597         * rendering/style/RenderStyle.h:
1598         * rendering/style/StyleGridData.cpp:
1599         (WebCore::StyleGridData::StyleGridData):
1600         * rendering/style/StyleGridData.h:
1601         (WebCore::StyleGridData::operator==):
1602
1603 2014-03-17  Zsolt Borbely  <borbezs@inf.u-szeged.hu>
1604
1605         Fix the !ENABLE(PROMISES) build
1606         https://bugs.webkit.org/show_bug.cgi?id=130328
1607
1608         Reviewed by Darin Adler.
1609
1610         Add missing ENABLE(PROMISES) guards.
1611
1612         * bindings/js/JSDOMPromise.cpp:
1613         * bindings/js/JSDOMPromise.h:
1614
1615 2014-03-17  Gurpreet Kaur  <k.gurpreet@samsung.com>
1616
1617         Safari should not render a cell if the <td> is empty
1618         https://bugs.webkit.org/show_bug.cgi?id=15273
1619
1620         Reviewed by Darin Adler.
1621
1622         When table cell has no children and the doctype is not present or not
1623         correct the border for that cell should not be drawn. Firefox also
1624         follows the same behaviour hence making the changes to make it similiar
1625         to Firefox behaviour.
1626
1627         Tests: fast/table/table-cell-border-doctype.html
1628                fast/table/table-cell-border-no-doctype.html
1629
1630         * rendering/RenderTableCell.cpp:
1631         (WebCore::RenderTableCell::paintBoxDecorations):
1632         Added condition for not drawing the border when table cell has no child
1633         and doctype.
1634
1635
1636 2014-03-17  Frédéric Wang  <fred.wang@free.fr>
1637
1638         Fix handling of <annotation> in MathMLTextElement.
1639         https://bugs.webkit.org/show_bug.cgi?id=124128.
1640
1641         Reviewed by Darin Adler.
1642
1643         No new tests.
1644
1645         * mathml/MathMLTextElement.cpp:
1646         (WebCore::MathMLTextElement::createElementRenderer): do not create the special RenderMathMLToken for the <annotation> tag.
1647         (WebCore::MathMLTextElement::childShouldCreateRenderer): only allow text inside <annotation>.
1648
1649 2014-03-17  Martin Robinson  <mrobinson@igalia.com>
1650
1651         [GTK][CMake] Credential storage is not enabled
1652         https://bugs.webkit.org/show_bug.cgi?id=130149
1653
1654         Reviewed by Philippe Normand.
1655
1656         * PlatformGTK.cmake: Add the libsecret include directories and link line to the build.
1657
1658 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1659
1660         Unreviewed.
1661
1662         Addressing reviewing comments by Darin in bug #130310 that I forgot
1663         to address before landing the changes in r165732.
1664         https://bugs.webkit.org/show_bug.cgi?id=130310
1665
1666         * rendering/InlineTextBox.cpp:
1667         * rendering/RenderLayer.cpp:
1668         * rendering/RenderObject.cpp:
1669
1670 2014-03-17  Jessie Berlin  <jberlin@apple.com>
1671
1672         Speculative build fix for ENABLE(TELEPHONE_NUMBER_DETECTION) after r165724.
1673
1674         * html/parser/HTMLTreeBuilder.cpp:
1675         (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
1676
1677 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1678
1679         Only supplement Page with UserMediaController once
1680         https://bugs.webkit.org/show_bug.cgi?id=130311
1681
1682         Reviewed by Darin Adler.
1683
1684         Don't supplement the Page with an UserMediaController object if that Page was
1685         already supplemented with one. This avoids triggering an assertion in
1686         Supplementable::provideSupplement() that ensures no supplement with the same key
1687         exists yet. The cause of this is calling provideUserMediaTo() in the Internals
1688         constructor that's using the same Page for two subsequent tests.
1689
1690         * Modules/mediastream/UserMediaController.cpp:
1691         (WebCore::provideUserMediaTo):
1692
1693 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1694
1695         Explicitly include cstdio header for debug builds in InlineTextBox, RenderLayer, RenderObject
1696         https://bugs.webkit.org/show_bug.cgi?id=130310
1697
1698         Reviewed by Darin Adler.
1699
1700         Building the GTK port with Clang through CMake falls into a configuration where
1701         the cstdio header is not indirectly included in InlineTextBox, RenderLayer and
1702         RenderObject source files. fprintf() is required for helper functions that print
1703         out helpful debugging information in debug builds, so the cstdio header should
1704         be included explicitly in that case.
1705
1706         * rendering/InlineTextBox.cpp:
1707         * rendering/RenderLayer.cpp:
1708         * rendering/RenderObject.cpp:
1709
1710 2014-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1711
1712         [GTK] Cleanup WebKitDOMObject
1713         https://bugs.webkit.org/show_bug.cgi?id=130246
1714
1715         Reviewed by Martin Robinson.
1716
1717         Remove unneeded getter and fix coding style.
1718
1719         * bindings/gobject/WebKitDOMObject.cpp:
1720         (webkitDOMObjectSetProperty):
1721         (webkit_dom_object_class_init):
1722
1723 2014-03-17  Darin Adler  <darin@apple.com>
1724
1725         Stop using deprecatedCharacters in HTMLTreeBuilder
1726         https://bugs.webkit.org/show_bug.cgi?id=130323
1727
1728         Reviewed by Andreas Kling.
1729
1730         Keeping this separate from other patches because of concern that this could affect
1731         page load performance.
1732
1733         * html/parser/HTMLTreeBuilder.cpp:
1734         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::ExternalCharacterTokenBuffer):
1735         Use a StringView instead of a character pointer.
1736         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::isEmpty): Ditto.
1737         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipAtMostOneLeadingNewline):
1738         Ditto.
1739         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemaining): Ditto.
1740         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::giveRemainingTo): Ditto.
1741         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemainingWhitespace): Ditto.
1742         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipLeading): Ditto.
1743         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeLeading): Ditto.
1744         (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers): Use StringView::upconvertedCharacters.
1745
1746 2014-03-17  Jinwoo Song  <jinwoo7.song@samsung.com>
1747
1748         Make some Module class constructors return PassRef.
1749         https://bugs.webkit.org/show_bug.cgi?id=130282
1750
1751         Reviewed by Andreas Kling.
1752
1753         Make the constructor helpers for the following classes return PassRef
1754         instead of PassRefPtr since they will never return null.
1755          - GamepadList
1756          - Geolocation
1757          - NavigatorContentUtils
1758          - NetworkInfoConnection
1759          - Notification
1760          - NotificationCenter
1761          - DeviceProximityEvent
1762
1763         * Modules/gamepad/GamepadList.h:
1764         (WebCore::GamepadList::create):
1765         * Modules/geolocation/Geolocation.cpp:
1766         (WebCore::Geolocation::create):
1767         * Modules/geolocation/Geolocation.h:
1768         (WebCore::Geolocation::GeoNotifier::create):
1769         * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
1770         (WebCore::NavigatorContentUtils::create):
1771         * Modules/navigatorcontentutils/NavigatorContentUtils.h:
1772         * Modules/networkinfo/NetworkInfoConnection.cpp:
1773         (WebCore::NetworkInfoConnection::create):
1774         * Modules/networkinfo/NetworkInfoConnection.h:
1775         * Modules/notifications/Notification.cpp:
1776         (WebCore::Notification::create):
1777         * Modules/notifications/Notification.h:
1778         * Modules/notifications/NotificationCenter.cpp:
1779         (WebCore::NotificationCenter::create):
1780         * Modules/notifications/NotificationCenter.h:
1781         * Modules/proximity/DeviceProximityEvent.h:
1782         (WebCore::DeviceProximityEvent::create):
1783
1784 2014-03-16  Mihnea Ovidenie  <mihnea@adobe.com>
1785
1786         [CSSRegions]Do not compute region range for a box unless the parent has one
1787         https://bugs.webkit.org/show_bug.cgi?id=130249
1788
1789         Reviewed by Andrei Bucur.
1790
1791         If the containing block does not have a region range computed, do not attempt to compute
1792         a region range for a child. In such cases, the range computation for a child can lead to
1793         a result that is wrong, possibly leading to an incorrect clipping.
1794
1795         Test: fast/regions/inline-block-flowed-in-regions.html
1796
1797         * rendering/RenderBlock.cpp:
1798         (WebCore::canComputeRegionRangeForBox):
1799         (WebCore::RenderBlock::computeRegionRangeForBoxChild):
1800         (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
1801         (WebCore::RenderBlock::updateRegionRangeForBoxChild):
1802         * rendering/RenderFlowThread.h:
1803
1804 2014-03-16  Andreas Kling  <akling@apple.com>
1805
1806         CSSValueList should assert that no null values are added to it.
1807         <https://webkit.org/b/130315>
1808
1809         Add assertions in CSSValueList's append() and prepend() that we are
1810         not adding a null value. This caught a single place in CSSParser
1811         that was appending an alread-released RefPtr to a CSSValueList.
1812         That list was eventually discarded anyway (due to "foundClip" now
1813         being true), so the fix is simply to remove the adding.
1814
1815         Eventually we should use Ref and PassRef all over for CSSValueList,
1816         this is just a first step on the way.
1817
1818         Reviewed by Darin Adler.
1819
1820         * css/CSSParser.cpp:
1821         (WebCore::CSSParser::parseFillShorthand):
1822         * css/CSSValueList.h:
1823         (WebCore::CSSValueList::append):
1824         (WebCore::CSSValueList::prepend):
1825
1826 2014-03-16  Praveen R Jadhav  <praveen.j@samsung.com>
1827
1828         AudioBufferSourceNode stop attribute shouldn't throw exception in finished state.
1829         https://bugs.webkit.org/show_bug.cgi?id=130000.
1830
1831         Reviewed by Jer Noble.
1832
1833         AudioBufferSourceNode may go to FINISHED_STATE even before "stop" method is called 
1834         as silence rendered after audio data is played out when its not looping.
1835         A call to "stop" method after this shouldn't throw exception.
1836
1837         * Modules/webaudio/AudioScheduledSourceNode.cpp:
1838         (WebCore::AudioScheduledSourceNode::stop):
1839
1840 2014-03-16  Brian Burg  <bburg@apple.com>
1841
1842         Web Inspector: generated backend commands should reflect build system ENABLE settings
1843         https://bugs.webkit.org/show_bug.cgi?id=130111
1844
1845         Reviewed by Timothy Hatcher.
1846
1847         Add guards for conditional inspector domains.
1848
1849         For Makefile-based build systems, force regeneration of the
1850         combined file if the list of domains has changed.
1851
1852         Combine only the Inspector domains listed in INSPECTOR_DOMAINS,
1853         instead of globbing any .json file.
1854
1855         * CMakeLists.txt:
1856         * DerivedSources.make:
1857         * GNUmakefile.am:
1858
1859 2014-03-16  David Kilzer  <ddkilzer@apple.com>
1860
1861         Follow-up: Double values passed to fabsf() in maxScaleFromTransform()
1862         <http://webkit.org/b/130297>
1863
1864         Reviewed by Darin Adler.
1865
1866         * platform/graphics/ca/GraphicsLayerCA.cpp:
1867         (WebCore::maxScaleFromTransform): Use narrowPrecisionToFloat()
1868         instead of static_cast<float>().
1869
1870 2014-03-16  Andreas Kling  <akling@apple.com>
1871
1872         ScriptExecutionContext::vm() should return a reference.
1873         <https://webkit.org/b/129611>
1874
1875         Every ScriptExecutionContext has a VM, so this can never return null.
1876         Made WorkerScriptController::vm() return a reference as well, since
1877         that was needed for this change.
1878
1879         Reviewed by Geoffrey Garen.
1880
1881         * bindings/js/WorkerScriptController.h:
1882         (WebCore::WorkerScriptController::vm):
1883         * bindings/js/WorkerScriptDebugServer.cpp:
1884         (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
1885         * css/ElementRuleCollector.cpp:
1886         (WebCore::ElementRuleCollector::ruleMatches):
1887         * dom/ScriptExecutionContext.cpp:
1888         (WebCore::ScriptExecutionContext::vm):
1889         * dom/ScriptExecutionContext.h:
1890         * dom/SelectorQuery.cpp:
1891         (WebCore::SelectorDataList::execute):
1892         * html/HTMLCanvasElement.cpp:
1893         (WebCore::HTMLCanvasElement::createImageBuffer):
1894         * xml/XMLHttpRequest.cpp:
1895         (WebCore::XMLHttpRequest::dropProtection):
1896         * testing/Internals.cpp:
1897         (WebCore::Internals::parserMetaData):
1898
1899 2014-03-16  Zan Dobersek  <zdobersek@igalia.com>
1900
1901         Remove OwnPtr.h, PassOwnPtr.h header inclusions in Source/WebCore/html/parser/ code
1902         https://bugs.webkit.org/show_bug.cgi?id=129667
1903
1904         Reviewed by Anders Carlsson.
1905
1906         Remove unnecessary inclusions of the OwnPtr.h and PassOwnPtr.h headers
1907         in the code under Source/WebCore/html/parser/.
1908
1909         * html/parser/HTMLParserScheduler.h:
1910         * html/parser/HTMLToken.h:
1911         * html/parser/HTMLTreeBuilder.h:
1912         * html/parser/XSSAuditor.h:
1913         * html/parser/XSSAuditorDelegate.h:
1914
1915 2014-03-16  Darin Adler  <darin@apple.com>
1916
1917         Remove uses of "cat" in DerivedSources.make outside platform-specific rules
1918         https://bugs.webkit.org/show_bug.cgi?id=130307
1919
1920         Reviewed by Anders Carlsson.
1921
1922         * DerivedSources.make: Use "perl -pe ''" instead of "cat".
1923
1924 2014-03-16  Brian Burg  <bburg@apple.com>
1925
1926         Web Inspector: vended backend commands file should be generated as part of the build
1927         https://bugs.webkit.org/show_bug.cgi?id=130110
1928
1929         Reviewed by Timothy Hatcher.
1930
1931         * WebCore.xcodeproj/project.pbxproj: Copy InspectorWebBackendCommands.js to the
1932         private headers directory.
1933
1934 2014-03-16  Frédéric Wang  <fred.wang@free.fr>
1935
1936         [regression] foreign content not displayed in MathML
1937         <https://webkit.org/b/124128>
1938
1939         Reviewed by Chris Fleizach.
1940
1941         This restores foreign content in <mtext>, <mn> and <mi> elements, but only when it is "phrasing content" as defined per the HTML5 specification. Other token elements are not handled here. This change makes mspace-units.html work again on Linux.
1942
1943         Tests: mathml/presentation/foreign-mi-dynamic.html
1944                mathml/presentation/foreign-mi.html
1945                mathml/presentation/foreign-mn.html
1946                mathml/presentation/foreign-mtext-rejected.html
1947                mathml/presentation/foreign-mtext.html
1948
1949         * mathml/MathMLTextElement.cpp:
1950         (WebCore::MathMLTextElement::createElementRenderer): create a RenderMathMLToken for mn, ms and mtext.
1951         (WebCore::isPhrasingContent): helper function to check phrasing content, as defined by the HTML spec.
1952         (WebCore::MathMLTextElement::childShouldCreateRenderer): <mi>, <mn>, <mtext> and, <ms> now accepts phrasing content.
1953         * rendering/mathml/RenderMathMLToken.cpp:
1954         (WebCore::RenderMathMLToken::RenderMathMLToken):
1955         (WebCore::RenderMathMLToken::updateTokenContent): initialize the m_containsElement boolean when updating the token content.
1956         (WebCore::RenderMathMLToken::updateStyle): move <mi> specific handling in its own section and only apply the single-char rule when it does not contain elements.
1957         * rendering/mathml/RenderMathMLToken.h: add an m_containsElement boolean to handle token element specifically.
1958
1959 2014-03-16  David Kilzer  <ddkilzer@apple.com>
1960
1961         PlatformTimeRanges::nearest() truncates closestDelta values from double to float
1962         <http://webkit.org/b/130298>
1963
1964         Reviewed by Darin Adler.
1965
1966         Fixes the following build failures using trunk clang:
1967
1968             WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
1969                         closestDelta = fabsf(startTime - time);
1970                                        ^
1971             WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: note: use function 'fabs' instead
1972                         closestDelta = fabsf(startTime - time);
1973                                        ^~~~~
1974                                        fabs
1975             WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
1976                         closestDelta = fabsf(endTime - time);
1977                                        ^
1978             WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: note: use function 'fabs' instead
1979                         closestDelta = fabsf(endTime - time);
1980                                        ^~~~~
1981                                        fabs
1982
1983         * platform/graphics/PlatformTimeRanges.cpp:
1984         (WebCore::PlatformTimeRanges::nearest): Extract start and end
1985         time deltas into local variables so they don't have to be
1986         computed twice, using fabs() instead of fabsf().
1987
1988 2014-03-16  Darin Adler  <darin@apple.com>
1989
1990         Optimize hasTagName when called on an HTMLElement
1991         https://bugs.webkit.org/show_bug.cgi?id=130090
1992
1993         Reviewed by Antti Koivisto.
1994
1995         Added new hasTagName functions that have the efficiency of hasLocalName.
1996         but are safe.
1997
1998         Now we can always use hasTagName, and we'll get a compile time error if
1999         we try to use an SVG tag name with an HTML element. All call sites that
2000         use the more specific tag name types are more efficient, and call sites
2001         that have a specific pointer type will get even more efficient checking
2002         that is exactly what we used to get by calling hasLocalName.
2003
2004         * accessibility/AccessibilityObject.cpp:
2005         (WebCore::AccessibilityObject::hasTagName): Cast explicitly to Element
2006         since Node::hasTagName no longer works on a general QualifiedName.
2007         * accessibility/AccessibilityRenderObject.cpp:
2008         (WebCore::AccessibilityRenderObject::isDescendantOfElementType): Use
2009         more specific type, RenderElement, so we can call hasTagName on Element
2010         instead of Node; eliminates an unnecessary branch.
2011
2012         * accessibility/AccessibilityTableColumn.cpp: Added now-needed include.
2013         * accessibility/atk/AccessibilityObjectAtk.cpp: Ditto.
2014
2015         * dom/DocumentStyleSheetCollection.cpp:
2016         (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets): Use
2017         new for loop and full words for variable names. Also use nullptr instead
2018         of 0. Call toHTMLElement and toSVGElement in code that checks hasTagName
2019         since it's already checking isHTMLElement and isSVGElement.
2020
2021         * dom/Element.cpp:
2022         (WebCore::attrNodeListMap): Use NeverDestroyed and put the vectors into
2023         the map rather than putting pointers to a vector into the map.
2024         (WebCore::attrNodeListForElement): Take a reference rather than a pointer,
2025         and update for the change above.
2026         (WebCore::ensureAttrNodeListForElement): Ditto.
2027         (WebCore::removeAttrNodeListForElement): Ditto.
2028         (WebCore::findAttrNodeInList): Ditto.
2029         (WebCore::Element::isFocusable): Use lineageOfType<HTMLCanvasElement>
2030         to fine the canvas rather than a hand-written loop.
2031         (WebCore::Element::attrNodeList): Update for above changes.
2032         (WebCore::Element::setAttributeNode): Ditto.
2033         (WebCore::Element::attrIfExists): Ditto.
2034         (WebCore::Element::ensureAttr): Ditto.
2035         (WebCore::Element::detachAttrNodeFromElementWithValue): Ditto.
2036         (WebCore::Element::detachAllAttrNodesFromElement): Ditto.
2037
2038         * dom/Element.h: Removed the overload of hasLocalName that takes a
2039         QualifiedName and ignores the non-local-name parts of it. Callers should
2040         use hasTagName instead, now that it's optimized appropriately. Added
2041         overloads of hasTagName for all the specific qualified name types. It's
2042         more efficient to use the Node versions of these functions rather than
2043         using QualifiedName::matches to do the check. Removed the hasTagName and
2044         hasLocalName functions from the Node class; the only convenience functions
2045         needed in Node are the specific checks for tags from HTML, MathML, and SVG,
2046         not the general purpose ones.
2047
2048         * dom/Node.h: Removed hasLocalName and replaced the single hasTagName
2049         that takes a QualifiedName with three faster ones that take HTML, MathML,
2050         and SVG qualified names instead. Also updated to use nullptr instead of 0.
2051
2052         * dom/PositionIterator.cpp: Added now-needed include.
2053         * dom/Text.cpp: Ditto.
2054
2055         * dom/make_names.pl:
2056         (printHeaderHead): Renamed an argument for clarity and added a definitions
2057         argument, which is where we insert the classes derived from QualifiedName.
2058         (printCppHead): Renamed an argument for clarity.
2059         (printTypeHelpers): Use hasTagName rather than hasLocalName, since the
2060         former is now optimized to be the same as what the latter was.
2061         (printNamesHeaderFile): Define a class derived from QualifiedName that can
2062         be used at compile time to avoid having to check the namespace.
2063         (printNamesCppFile): Use the new more-specific type as needed.
2064
2065         * editing/ApplyStyleCommand.cpp:
2066         (WebCore::isLegacyAppleStyleSpan): Use hasTagName instead of hasLocalName,
2067         and references instead of pointers.
2068         (WebCore::ApplyStyleCommand::ApplyStyleCommand): Removed uneeded explicit
2069         construction of a smart pointer.
2070         (WebCore::ApplyStyleCommand::shouldApplyInlineStyleToRun): Updated to use
2071         the enclosingElementWithTag function by its new name.
2072
2073         * editing/Editor.cpp:
2074         (WebCore::Editor::selectionUnorderedListState): Updated to use the
2075         enclosingElementWithTag function by its new name.
2076         (WebCore::Editor::selectionOrderedListState): Ditto.
2077
2078         * editing/InsertListCommand.cpp:
2079         (WebCore::InsertListCommand::doApply): Use a more-specific type for the list tag.
2080         (WebCore::InsertListCommand::doApplyForSingleParagraph): Ditto.
2081         * editing/InsertListCommand.h: Ditto.
2082
2083         * editing/MarkupAccumulator.cpp:
2084         (WebCore::MarkupAccumulator::serializeNodesWithNamespaces): Added an explicit
2085         cast to Element in the loop that is already guarded by an isElementNode check.
2086         Also use a modern C++ for loop.
2087
2088         * editing/ReplaceSelectionCommand.cpp:
2089         (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
2090         Updated to use the enclosingElementWithTag function by its new name.
2091         (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds): Ditto.
2092         (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent): Ditto.
2093
2094         * editing/TypingCommand.cpp: Added now-needed includes.
2095         * editing/VisibleUnits.cpp: Ditto.
2096
2097         * editing/htmlediting.cpp:
2098         (WebCore::enclosingElementWithTag): Changed to return an Element instead of a Node,
2099         since nodes other than elements do not have tags.
2100         * editing/htmlediting.h: Ditto.
2101
2102         * editing/mac/EditorMac.mm:
2103         (WebCore::Editor::adjustedSelectionRange): Updated to use the enclosingElementWithTag
2104         function by its new name.
2105         * editing/markup.cpp:
2106         (WebCore::StyledMarkupAccumulator::appendText): Ditto.
2107         (WebCore::StyledMarkupAccumulator::traverseNodesForSerialization): Ditto.
2108         (WebCore::highestAncestorToWrapMarkup): Ditto.
2109         (WebCore::createMarkupInternal): Ditto.
2110         (WebCore::createContextualFragment): Ditto. Use hasTagName instead of hasLocalName,
2111         since the former is now optimized to be the same as the latter was before.
2112
2113         * html/HTMLCollection.cpp:
2114         (WebCore::isMatchingElement): Use hasTagName instead of hasLocalName,
2115         since the former is now optimized to be the same as the latter was before.
2116         (WebCore::nameShouldBeVisibleInDocumentAll): Ditto.
2117         * html/HTMLElement.cpp:
2118         (WebCore::HTMLElement::ieForbidsInsertHTML): Ditto.
2119         (WebCore::unicodeBidiAttributeForDirAuto): Ditto.
2120         (WebCore::HTMLElement::parseBorderWidthAttribute): Ditto.
2121         (WebCore::HTMLElement::setInnerHTML): Ditto.
2122         (WebCore::shouldProhibitSetInnerOuterText): Ditto. Added this to share code between
2123         setInnerText and setOuterText.
2124         (WebCore::HTMLElement::setInnerText): Ditto.
2125         (WebCore::HTMLElement::setOuterText): Ditto.
2126         (WebCore::HTMLElement::rendererIsNeeded): Ditto.
2127         (WebCore::HTMLElement::createElementRenderer): Ditto.
2128
2129         * html/HTMLElement.h: Added hasTagName, which hides the one inherited from Element
2130         and takes the more-specific HTMLQualifiedName type. This means we don't need to check
2131         the namespace at runtime because it's known at compile time. Also put the
2132         implementation of Node::hasTagName for HTMLQualifiedName into this header.
2133
2134         * html/HTMLObjectElement.cpp:
2135         (WebCore::isRecognizedTagName): Updated for change in return type of
2136         HTMLNames::getHTMLTags.
2137
2138         * html/HTMLSelectElement.cpp:
2139         (WebCore::HTMLSelectElement::add): Use hasTagName inastead of hasLocalName.
2140         (WebCore::HTMLSelectElement::value): Use isHTMLOptionElement instead of hasTagName.
2141         Also use a new style for loop and emptyString() instead of "".
2142         (WebCore::HTMLSelectElement::setValue): Ditto.
2143         (WebCore::HTMLSelectElement::setLength): Ditto.
2144         (WebCore::HTMLSelectElement::searchOptionsForValue): Ditto.
2145         (WebCore::HTMLSelectElement::restoreFormControlState): Ditto.
2146
2147         * html/HTMLTableColElement.cpp:
2148         (WebCore::HTMLTableColElement::additionalPresentationAttributeStyle): Use hasTagName
2149         instead of hasLocalName.
2150
2151         * html/HTMLTableRowsCollection.cpp:
2152         (WebCore::isInSection): Updated to use hasTagName and take a reference.
2153         (WebCore::HTMLTableRowsCollection::rowAfter): Pass a reference.
2154
2155         * html/parser/HTMLConstructionSite.cpp: Added now-needed include.
2156
2157         * html/parser/HTMLTreeBuilder.cpp:
2158         (WebCore::createCaseMap): Updated to return a map rather than filling one in, and to
2159         be flxible about the type of the table being used.
2160         (WebCore::adjustSVGTagNameCase): Updated to use NeverDestroyed.
2161         (WebCore::adjustAttributes): Added new helper so we can share more code. Updated
2162         template argument names for clarity.
2163         (WebCore::adjustSVGAttributes): Marked this inline, since it just turns around and
2164         calls a single non-inline function.
2165         (WebCore::adjustMathMLAttributes): Ditto.
2166         (WebCore::addNamesWithPrefix): Changed to take argument by reference instead of pointer.
2167         (WebCore::createForeignAttributesMap): Added. Factors out the map creation from the
2168         function below.
2169         (WebCore::adjustForeignAttributes): Updated for above changes.
2170         (WebCore::HTMLTreeBuilder::processStartTagForInBody): Updated to pass reference.
2171         (WebCore::HTMLTreeBuilder::processTokenInForeignContent): Ditto.
2172
2173         * inspector/InspectorStyleSheet.cpp: Added now-needed include.
2174
2175         * mathml/MathMLElement.h: Added hasTagName, which hides the one inherited from Element
2176         and takes the more-specific MathMLQualifiedName type. This means we don't need to check
2177         the namespace at runtime because it's known at compile time. Also put the
2178         implementation of Node::hasTagName for MathMLQualifiedName into this header.
2179
2180         * mathml/MathMLInlineContainerElement.cpp:
2181         (WebCore::MathMLInlineContainerElement::createElementRenderer): Use hasTagName.
2182
2183         * mathml/MathMLSelectElement.cpp:
2184         (WebCore::MathMLSelectElement::attributeChanged): Use hasTagName.
2185         (WebCore::MathMLSelectElement::getSelectedActionChildAndIndex): Ditto.
2186         (WebCore::MathMLSelectElement::getSelectedActionChild): Ditto.
2187         (WebCore::MathMLSelectElement::getSelectedSemanticsChild): Ditto.
2188         (WebCore::MathMLSelectElement::updateSelectedChild): Ditto.
2189         * mathml/MathMLTextElement.cpp:
2190         (WebCore::MathMLTextElement::createElementRenderer): Ditto.
2191         (WebCore::MathMLTextElement::childShouldCreateRenderer): Ditto.
2192
2193         * platform/gtk/PasteboardGtk.cpp: Added now-needed include.
2194         * platform/mac/HTMLConverter.mm: Ditto.
2195         * rendering/RenderBlockFlow.cpp: Ditto.
2196
2197         * rendering/RenderBoxModelObject.cpp:
2198         (WebCore::RenderBoxModelObject::paintFillLayerExtended): Use hasTagName.
2199         * rendering/RenderElement.cpp:
2200         (WebCore::RenderElement::rendererForRootBackground): Ditto.
2201         * rendering/RenderLayerBacking.cpp:
2202         (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer): Ditto.
2203
2204         * rendering/RenderReplaced.cpp: Added now-needed include.
2205
2206         * rendering/mathml/RenderMathMLScripts.cpp:
2207         (WebCore::RenderMathMLScripts::RenderMathMLScripts): Use hasTagName.
2208         * rendering/mathml/RenderMathMLUnderOver.cpp:
2209         (WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver): Ditto.
2210
2211         * svg/SVGElement.h: Added hasTagName, which hides the one inherited from Element
2212         and takes the more-specific SVGQualifiedName type. This means we don't need to check
2213         the namespace at runtime because it's known at compile time. Also put the
2214         implementation of Node::hasTagName for SVGQualifiedName into this header.
2215
2216         * svg/SVGFontFaceSrcElement.cpp:
2217         (WebCore::SVGFontFaceSrcElement::childrenChanged): Use isSVGFontFaceElement instead
2218         of calling hasTagName.
2219
2220         * svg/SVGUseElement.cpp:
2221         (WebCore::isDirectReference): Changed to take a reference and a more specific type.
2222         (WebCore::SVGUseElement::toClipPath): Added a type cast.
2223         (WebCore::SVGUseElement::rendererClipChild): Use more specific types so we don't
2224         need a type cast.
2225
2226         * xml/parser/XMLDocumentParser.cpp:
2227         (WebCore::XMLDocumentParser::parseDocumentFragment): Added explicit calls to this
2228         unusual call site that has a good reason to use hasLocalName instead of hasTagName.
2229
2230 2014-03-16  Andreas Kling  <akling@apple.com>
2231
2232         Stop pulling in JSDOMBinding.h via JSEventListener.h
2233         <https://webkit.org/b/130299>
2234
2235         Just chippin' away at the compile time monster.
2236
2237         Reviewed by Darin Adler.
2238
2239         * bindings/js/IDBBindingUtilities.cpp:
2240         * bindings/js/JSEventListener.h:
2241
2242 2014-03-16  David Kilzer  <ddkilzer@apple.com>
2243
2244         Double values passed to fabsf() in maxScaleFromTransform()
2245         <http://webkit.org/b/130297>
2246
2247         Reviewed by Darin Adler.
2248
2249         Fixes the following build failures using trunk clang:
2250
2251             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
2252                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2253                                 ^
2254             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: note: use function 'fabs' instead
2255                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2256                                 ^~~~~
2257                                 fabs
2258             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
2259                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2260                                                              ^
2261             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: note: use function 'fabs' instead
2262                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2263                                                              ^~~~~
2264                                                              fabs
2265
2266         * platform/graphics/ca/GraphicsLayerCA.cpp:
2267         (WebCore::maxScaleFromTransform): Use static_cast<float>() to
2268         convert float values to double values.
2269
2270 2014-03-15  Zalan Bujtas  <zalan@apple.com>
2271
2272         Move BorderEdge class to its own file.
2273         https://bugs.webkit.org/show_bug.cgi?id=130294
2274
2275         Reviewed by Sam Weinig.
2276
2277         This is in preparation to have better encapsulation for border box decoration painting.
2278
2279         No change in functionality.
2280
2281         * CMakeLists.txt:
2282         * GNUmakefile.list.am:
2283         * WebCore.vcxproj/WebCore.vcxproj:
2284         * WebCore.vcxproj/WebCore.vcxproj.filters:
2285         * WebCore.xcodeproj/project.pbxproj:
2286         * rendering/BorderEdge.cpp: Added.
2287         (WebCore::BorderEdge::BorderEdge):
2288         (WebCore::BorderEdge::getBorderEdgeInfo):
2289         (WebCore::BorderEdge::includesAdjacentEdges):
2290         (WebCore::BorderEdge::obscuresBackgroundEdge):
2291         (WebCore::BorderEdge::obscuresBackground):
2292         (WebCore::BorderEdge::getDoubleBorderStripeWidths):
2293         * rendering/BorderEdge.h: Added.
2294         (WebCore::BorderEdge::edgeFlagForSide):
2295         (WebCore::BorderEdge::includesEdge):
2296         (WebCore::BorderEdge::edgesShareColor):
2297         (WebCore::BorderEdge::hasVisibleColorAndStyle):
2298         (WebCore::BorderEdge::shouldRender):
2299         (WebCore::BorderEdge::presentButInvisible):
2300         (WebCore::BorderEdge::widthForPainting):
2301         (WebCore::BorderEdge::borderWidthInDevicePixel):
2302         * rendering/RenderBoxModelObject.cpp:
2303         (WebCore::borderStyleHasUnmatchedColorsAtCorner):
2304         (WebCore::colorsMatchAtCorner):
2305         (WebCore::colorNeedsAntiAliasAtCorner):
2306         (WebCore::willBeOverdrawn):
2307         (WebCore::joinRequiresMitre):
2308         (WebCore::RenderBoxModelObject::paintBorderSides):
2309         (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
2310         (WebCore::RenderBoxModelObject::paintBorder):
2311         (WebCore::RenderBoxModelObject::borderObscuresBackgroundEdge):
2312         (WebCore::RenderBoxModelObject::borderObscuresBackground):
2313         * rendering/RenderBoxModelObject.h:
2314
2315 2014-03-15  Martin Robinson  <mrobinson@igalia.com>
2316
2317         Fix WebCore unused parameter warnings for WebKitGTK+ CMake build
2318         https://bugs.webkit.org/show_bug.cgi?id=130252
2319
2320         Reviewed by Carlos Garcia Campos.
2321
2322         * Modules/mediastream/HTMLMediaElementMediaStream.cpp: Fix unused parameters.
2323         * html/RangeInputType.cpp: Ditto.
2324         * page/gtk/EventHandlerGtk.cpp: Ditto.
2325         * platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto.
2326         * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp: Ditto.
2327         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: Ditto.
2328         * platform/graphics/opengl/Extensions3DOpenGLES.cpp: Ditto.
2329         * platform/gtk/GamepadsGtk.cpp: Ditto.
2330         * platform/gtk/GtkClickCounter.cpp: Ditto.
2331         * platform/gtk/GtkPopupMenu.cpp: Ditto.
2332         * platform/gtk/GtkTouchContextHelper.cpp: Ditto.
2333         * platform/gtk/GtkVersioning.c: Ditto.
2334         * platform/gtk/MainFrameScrollbarGtk.cpp: Ditto.
2335         * platform/gtk/PasteboardGtk.cpp: Ditto.
2336         * platform/gtk/PasteboardHelper.cpp: Ditto.
2337         * platform/gtk/RedirectedXCompositeWindow.cpp: Ditto.
2338         * platform/gtk/RenderThemeGtk.cpp: Ditto.
2339         * platform/gtk/RenderThemeGtk.h: Ditto.
2340         * platform/gtk/RenderThemeGtk2.cpp: Ditto.
2341         * platform/gtk/ScrollbarThemeGtk.cpp: Ditto.
2342         * platform/gtk/ScrollbarThemeGtk2.cpp: Ditto.
2343         * platform/gtk/WidgetGtk.cpp: Ditto.
2344         * platform/network/gtk/CredentialBackingStore.cpp: Ditto.
2345         * platform/soup/SharedBufferSoup.cpp: Ditto.
2346         * plugins/gtk/PluginViewGtk.cpp: Ditto.
2347         * plugins/gtk/gtk2xtbin.c: Ditto.
2348         * rendering/InlineTextBox.cpp: Ditto.
2349
2350 2014-03-14  Myles C. Maxfield  <mmaxfield@apple.com>
2351
2352         RenderTextControl::hasValidAvgCharWidth doesn't detect System Font
2353         https://bugs.webkit.org/show_bug.cgi?id=130168
2354
2355         Reviewed by Dean Jackson.
2356
2357         No new tests.
2358
2359         * platform/graphics/Font.cpp: Moved functions from RenderTextControl
2360         (WebCore::Font::hasValidAverageCharWidth):
2361         (WebCore::Font::fastAverageCharWidthIfAvailable):
2362         * platform/graphics/Font.h:
2363         * rendering/RenderTextControl.cpp: Moved functions to Font.cpp
2364         (WebCore::RenderTextControl::getAverageCharWidth): Removed redundant function argument
2365         (WebCore::RenderTextControl::computeIntrinsicLogicalWidths):
2366         * rendering/RenderTextControl.h:
2367         * rendering/RenderTextControlMultiLine.cpp:
2368         (WebCore::RenderTextControlMultiLine::getAverageCharWidth): Removed redundant function argument
2369         * rendering/RenderTextControlMultiLine.h:
2370         * rendering/RenderTextControlSingleLine.cpp:
2371         (WebCore::RenderTextControlSingleLine::getAverageCharWidth): Removed redundant function argument
2372         (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
2373         * rendering/RenderTextControlSingleLine.h:
2374
2375 2014-03-15  David Kilzer  <ddkilzer@apple.com>
2376
2377         [iOS] Define SYSTEM_VERSION_PREFIX consistently
2378         <http://webkit.org/b/130293>
2379         <rdar://problem/15926359>
2380
2381         Reviewed by Dan Bernstein.
2382
2383         * Configurations/Version.xcconfig:
2384         (SYSTEM_VERSION_PREFIX_iphoneos): Sync with
2385         Source/WebKit/mac/Version.xcconfig.
2386
2387 2014-03-14  Mark Rowe  <mrowe@apple.com>
2388
2389         Fix the production build.
2390
2391         Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
2392         be at the expected relative path when working from installed source.
2393
2394         * Configurations/Base.xcconfig:
2395
2396 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
2397
2398         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
2399         https://bugs.webkit.org/show_bug.cgi?id=130276
2400         <rdar://problem/16266927>
2401
2402         Reviewed by Simon Fraser.
2403
2404         No new tests because no behavior changes.
2405
2406         * DerivedSources.make:
2407         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp:
2408         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
2409         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl:
2410         * Modules/encryptedmedia/MediaKeyMessageEvent.cpp:
2411         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
2412         * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
2413         * Modules/encryptedmedia/MediaKeyNeededEvent.cpp:
2414         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
2415         * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
2416         * Modules/encryptedmedia/MediaKeySession.idl:
2417         * Modules/encryptedmedia/MediaKeys.idl:
2418         * Modules/geolocation/NavigatorGeolocation.cpp:
2419         * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
2420         * Modules/indexeddb/IDBCallbacks.h:
2421         * Modules/indexeddb/IDBDatabaseException.cpp:
2422         * Modules/indexeddb/IDBDatabaseMetadata.h:
2423         * Modules/indexeddb/IDBEventDispatcher.cpp:
2424         * Modules/indexeddb/IDBEventDispatcher.h:
2425         * Modules/indexeddb/IDBFactory.cpp:
2426         * Modules/indexeddb/IDBFactory.h:
2427         * Modules/indexeddb/IDBFactoryBackendInterface.cpp:
2428         * Modules/indexeddb/IDBFactoryBackendInterface.h:
2429         * Modules/indexeddb/IDBHistograms.h:
2430         * Modules/indexeddb/IDBIndexMetadata.h:
2431         * Modules/indexeddb/IDBObjectStoreMetadata.h:
2432         * Modules/indexeddb/IDBRecordIdentifier.h:
2433         * Modules/indexeddb/IDBRequest.cpp:
2434         * Modules/indexeddb/IDBRequest.h:
2435         * Modules/indexeddb/IDBRequest.idl:
2436         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp:
2437         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h:
2438         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl:
2439         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
2440         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2441         * Modules/mediacontrols/MediaControlsHost.cpp:
2442         * Modules/mediacontrols/MediaControlsHost.h:
2443         * Modules/mediacontrols/MediaControlsHost.idl:
2444         * Modules/mediacontrols/mediaControlsApple.css:
2445         * Modules/mediacontrols/mediaControlsiOS.css:
2446         * Modules/mediasource/AudioTrackMediaSource.h:
2447         * Modules/mediasource/AudioTrackMediaSource.idl:
2448         * Modules/mediasource/TextTrackMediaSource.h:
2449         * Modules/mediasource/TextTrackMediaSource.idl:
2450         * Modules/mediasource/VideoTrackMediaSource.h:
2451         * Modules/mediasource/VideoTrackMediaSource.idl:
2452         * Modules/mediastream/AllAudioCapabilities.h:
2453         * Modules/mediastream/AllAudioCapabilities.idl:
2454         * Modules/mediastream/AllVideoCapabilities.h:
2455         * Modules/mediastream/AllVideoCapabilities.idl:
2456         * Modules/mediastream/AudioStreamTrack.cpp:
2457         * Modules/mediastream/AudioStreamTrack.h:
2458         * Modules/mediastream/AudioStreamTrack.idl:
2459         * Modules/mediastream/CapabilityRange.cpp:
2460         * Modules/mediastream/CapabilityRange.h:
2461         * Modules/mediastream/CapabilityRange.idl:
2462         * Modules/mediastream/MediaSourceStates.cpp:
2463         * Modules/mediastream/MediaSourceStates.h:
2464         * Modules/mediastream/MediaSourceStates.idl:
2465         * Modules/mediastream/MediaStreamCapabilities.cpp:
2466         * Modules/mediastream/MediaStreamCapabilities.h:
2467         * Modules/mediastream/MediaStreamCapabilities.idl:
2468         * Modules/mediastream/MediaTrackConstraint.cpp:
2469         * Modules/mediastream/MediaTrackConstraint.h:
2470         * Modules/mediastream/MediaTrackConstraint.idl:
2471         * Modules/mediastream/MediaTrackConstraintSet.cpp:
2472         * Modules/mediastream/MediaTrackConstraintSet.h:
2473         * Modules/mediastream/MediaTrackConstraints.cpp:
2474         * Modules/mediastream/MediaTrackConstraints.h:
2475         * Modules/mediastream/MediaTrackConstraints.idl:
2476         * Modules/mediastream/NavigatorMediaStream.cpp:
2477         * Modules/mediastream/NavigatorUserMediaError.cpp:
2478         * Modules/mediastream/RTCConfiguration.idl:
2479         * Modules/mediastream/RTCIceServer.idl:
2480         * Modules/mediastream/RTCOfferAnswerOptions.cpp:
2481         * Modules/mediastream/RTCOfferAnswerOptions.h:
2482         * Modules/mediastream/VideoStreamTrack.cpp:
2483         * Modules/mediastream/VideoStreamTrack.h:
2484         * Modules/mediastream/VideoStreamTrack.idl:
2485         * Modules/networkinfo/NetworkInfo.cpp:
2486         * Modules/networkinfo/NetworkInfo.h:
2487         * Modules/networkinfo/NetworkInfoConnection.cpp:
2488         * Modules/networkinfo/NetworkInfoConnection.h:
2489         * Modules/networkinfo/NetworkInfoController.cpp:
2490         * Modules/notifications/DOMWindowNotifications.cpp:
2491         * Modules/notifications/DOMWindowNotifications.h:
2492         * Modules/notifications/DOMWindowNotifications.idl:
2493         * Modules/notifications/NotificationController.cpp:
2494         * Modules/notifications/NotificationController.h:
2495         * Modules/notifications/NotificationPermissionCallback.h:
2496         * Modules/notifications/NotificationPermissionCallback.idl:
2497         * Modules/notifications/WorkerGlobalScopeNotifications.cpp:
2498         * Modules/notifications/WorkerGlobalScopeNotifications.h:
2499         * Modules/notifications/WorkerGlobalScopeNotifications.idl:
2500         * Modules/plugins/PluginReplacement.h:
2501         * Modules/plugins/QuickTimePluginReplacement.cpp:
2502         * Modules/plugins/QuickTimePluginReplacement.css:
2503         * Modules/plugins/QuickTimePluginReplacement.h:
2504         * Modules/plugins/QuickTimePluginReplacement.idl:
2505         * Modules/quota/DOMWindowQuota.idl:
2506         * Modules/speech/DOMWindowSpeechSynthesis.h:
2507         * Modules/speech/DOMWindowSpeechSynthesis.idl:
2508         * Modules/speech/SpeechSynthesis.cpp:
2509         * Modules/speech/SpeechSynthesis.h:
2510         * Modules/speech/SpeechSynthesis.idl:
2511         * Modules/speech/SpeechSynthesisEvent.cpp:
2512         * Modules/speech/SpeechSynthesisEvent.h:
2513         * Modules/speech/SpeechSynthesisEvent.idl:
2514         * Modules/speech/SpeechSynthesisUtterance.cpp:
2515         * Modules/speech/SpeechSynthesisUtterance.h:
2516         * Modules/speech/SpeechSynthesisUtterance.idl:
2517         * Modules/speech/SpeechSynthesisVoice.cpp:
2518         * Modules/speech/SpeechSynthesisVoice.h:
2519         * Modules/speech/SpeechSynthesisVoice.idl:
2520         * Modules/webaudio/AudioBuffer.cpp:
2521         * Modules/webaudio/AudioBuffer.h:
2522         * Modules/webaudio/AudioBuffer.idl:
2523         * Modules/webaudio/AudioListener.cpp:
2524         * Modules/webaudio/AudioListener.h:
2525         * Modules/webaudio/AudioListener.idl:
2526         * Modules/webaudio/AudioParam.h:
2527         * Modules/webaudio/AudioParam.idl:
2528         * Modules/webaudio/AudioParamTimeline.h:
2529         * Modules/webaudio/AudioScheduledSourceNode.h:
2530         * Modules/webaudio/ChannelMergerNode.cpp:
2531         * Modules/webaudio/ChannelMergerNode.h:
2532         * Modules/webaudio/ChannelMergerNode.idl:
2533         * Modules/webaudio/MediaStreamAudioSource.cpp:
2534         * Modules/webaudio/MediaStreamAudioSource.h:
2535         * Modules/webaudio/PeriodicWave.cpp:
2536         * Modules/webaudio/PeriodicWave.h:
2537         * Modules/webdatabase/ChangeVersionWrapper.cpp:
2538         * Modules/webdatabase/ChangeVersionWrapper.h:
2539         * Modules/webdatabase/DOMWindowWebDatabase.cpp:
2540         * Modules/webdatabase/DOMWindowWebDatabase.h:
2541         * Modules/webdatabase/DOMWindowWebDatabase.idl:
2542         * Modules/webdatabase/Database.cpp:
2543         * Modules/webdatabase/Database.h:
2544         * Modules/webdatabase/Database.idl:
2545         * Modules/webdatabase/DatabaseAuthorizer.cpp:
2546         * Modules/webdatabase/DatabaseAuthorizer.h:
2547         * Modules/webdatabase/DatabaseBackendBase.cpp:
2548         * Modules/webdatabase/DatabaseBackendBase.h:
2549         * Modules/webdatabase/DatabaseCallback.idl:
2550         * Modules/webdatabase/DatabaseContext.cpp:
2551         * Modules/webdatabase/DatabaseContext.h:
2552         * Modules/webdatabase/DatabaseDetails.h:
2553         * Modules/webdatabase/DatabaseTask.cpp:
2554         * Modules/webdatabase/DatabaseTask.h:
2555         * Modules/webdatabase/DatabaseThread.cpp:
2556         * Modules/webdatabase/DatabaseThread.h:
2557         * Modules/webdatabase/DatabaseTracker.cpp:
2558         * Modules/webdatabase/DatabaseTracker.h:
2559         * Modules/webdatabase/SQLCallbackWrapper.h:
2560         * Modules/webdatabase/SQLError.h:
2561         * Modules/webdatabase/SQLError.idl:
2562         * Modules/webdatabase/SQLException.cpp:
2563         * Modules/webdatabase/SQLResultSet.cpp:
2564         * Modules/webdatabase/SQLResultSet.h:
2565         * Modules/webdatabase/SQLResultSet.idl:
2566         * Modules/webdatabase/SQLResultSetRowList.cpp:
2567         * Modules/webdatabase/SQLResultSetRowList.h:
2568         * Modules/webdatabase/SQLResultSetRowList.idl:
2569         * Modules/webdatabase/SQLStatement.cpp:
2570         * Modules/webdatabase/SQLStatement.h:
2571         * Modules/webdatabase/SQLStatementBackend.cpp:
2572         * Modules/webdatabase/SQLStatementBackend.h:
2573         * Modules/webdatabase/SQLStatementCallback.h:
2574         * Modules/webdatabase/SQLStatementCallback.idl:
2575         * Modules/webdatabase/SQLStatementErrorCallback.h:
2576         * Modules/webdatabase/SQLStatementErrorCallback.idl:
2577         * Modules/webdatabase/SQLStatementSync.cpp:
2578         * Modules/webdatabase/SQLTransaction.cpp:
2579         * Modules/webdatabase/SQLTransaction.h:
2580         * Modules/webdatabase/SQLTransaction.idl:
2581         * Modules/webdatabase/SQLTransactionBackend.cpp:
2582         * Modules/webdatabase/SQLTransactionBackend.h:
2583         * Modules/webdatabase/SQLTransactionCallback.h:
2584         * Modules/webdatabase/SQLTransactionCallback.idl:
2585         * Modules/webdatabase/SQLTransactionErrorCallback.h:
2586         * Modules/webdatabase/SQLTransactionErrorCallback.idl:
2587         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp:
2588         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h:
2589         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl:
2590         * Resources/deleteButton.tiff:
2591         * Resources/deleteButtonPressed.tiff:
2592         * WebCore.vcxproj/MigrateScripts:
2593         * WebCorePrefix.cpp:
2594         * accessibility/AXObjectCache.cpp:
2595         * accessibility/AXObjectCache.h:
2596         * accessibility/AccessibilityARIAGrid.cpp:
2597         * accessibility/AccessibilityARIAGrid.h:
2598         * accessibility/AccessibilityARIAGridCell.cpp:
2599         * accessibility/AccessibilityARIAGridCell.h:
2600         * accessibility/AccessibilityARIAGridRow.cpp:
2601         * accessibility/AccessibilityARIAGridRow.h:
2602         * accessibility/AccessibilityImageMapLink.cpp:
2603         * accessibility/AccessibilityImageMapLink.h:
2604         * accessibility/AccessibilityList.cpp:
2605         * accessibility/AccessibilityList.h:
2606         * accessibility/AccessibilityListBox.cpp:
2607         * accessibility/AccessibilityListBox.h:
2608         * accessibility/AccessibilityListBoxOption.cpp:
2609         * accessibility/AccessibilityListBoxOption.h:
2610         * accessibility/AccessibilityMediaControls.cpp:
2611         * accessibility/AccessibilityMediaControls.h:
2612         * accessibility/AccessibilityNodeObject.cpp:
2613         * accessibility/AccessibilityNodeObject.h:
2614         * accessibility/AccessibilityObject.cpp:
2615         * accessibility/AccessibilityObject.h:
2616         * accessibility/AccessibilityRenderObject.cpp:
2617         * accessibility/AccessibilityRenderObject.h:
2618         * accessibility/AccessibilitySVGRoot.cpp:
2619         * accessibility/AccessibilitySVGRoot.h:
2620         * accessibility/AccessibilityScrollbar.cpp:
2621         * accessibility/AccessibilityScrollbar.h:
2622         * accessibility/AccessibilitySlider.cpp:
2623         * accessibility/AccessibilitySlider.h:
2624         * accessibility/AccessibilityTable.cpp:
2625         * accessibility/AccessibilityTable.h:
2626         * accessibility/AccessibilityTableCell.cpp:
2627         * accessibility/AccessibilityTableCell.h:
2628         * accessibility/AccessibilityTableColumn.cpp:
2629         * accessibility/AccessibilityTableColumn.h:
2630         * accessibility/AccessibilityTableHeaderContainer.cpp:
2631         * accessibility/AccessibilityTableHeaderContainer.h:
2632         * accessibility/AccessibilityTableRow.cpp:
2633         * accessibility/AccessibilityTableRow.h:
2634         * accessibility/ios/AXObjectCacheIOS.mm:
2635         * accessibility/ios/AccessibilityObjectIOS.mm:
2636         * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
2637         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
2638         * accessibility/mac/AXObjectCacheMac.mm:
2639         * accessibility/mac/AccessibilityObjectMac.mm:
2640         * accessibility/mac/WebAccessibilityObjectWrapperBase.h:
2641         * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
2642         * accessibility/mac/WebAccessibilityObjectWrapperMac.h:
2643         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
2644         * bindings/gobject/WebKitDOMEventTarget.cpp:
2645         * bindings/gobject/WebKitDOMHTMLPrivate.cpp:
2646         * bindings/gobject/WebKitDOMHTMLPrivate.h:
2647         * bindings/js/Dictionary.cpp:
2648         * bindings/js/GCController.cpp:
2649         * bindings/js/GCController.h:
2650         * bindings/js/JSAttrCustom.cpp:
2651         * bindings/js/JSAudioTrackCustom.cpp:
2652         * bindings/js/JSAudioTrackListCustom.cpp:
2653         * bindings/js/JSCSSRuleCustom.cpp:
2654         * bindings/js/JSCSSRuleCustom.h:
2655         * bindings/js/JSCSSRuleListCustom.cpp:
2656         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
2657         * bindings/js/JSCSSValueCustom.cpp:
2658         * bindings/js/JSCallbackData.cpp:
2659         * bindings/js/JSCallbackData.h:
2660         * bindings/js/JSCanvasRenderingContextCustom.cpp:
2661         * bindings/js/JSClipboardCustom.cpp:
2662         * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
2663         * bindings/js/JSCustomXPathNSResolver.cpp:
2664         * bindings/js/JSCustomXPathNSResolver.h:
2665         * bindings/js/JSDOMGlobalObject.cpp:
2666         * bindings/js/JSDOMGlobalObject.h:
2667         * bindings/js/JSDOMWindowShell.cpp:
2668         * bindings/js/JSDOMWindowShell.h:
2669         * bindings/js/JSElementCustom.cpp:
2670         * bindings/js/JSEventCustom.cpp:
2671         * bindings/js/JSHTMLAppletElementCustom.cpp:
2672         * bindings/js/JSHTMLCanvasElementCustom.cpp:
2673         * bindings/js/JSHTMLDocumentCustom.cpp:
2674         * bindings/js/JSHTMLElementCustom.cpp:
2675         * bindings/js/JSHTMLEmbedElementCustom.cpp:
2676         * bindings/js/JSHTMLFormElementCustom.cpp:
2677         * bindings/js/JSHTMLFrameElementCustom.cpp:
2678         * bindings/js/JSHTMLFrameSetElementCustom.cpp:
2679         * bindings/js/JSHTMLObjectElementCustom.cpp:
2680         * bindings/js/JSHTMLSelectElementCustom.h:
2681         * bindings/js/JSHistoryCustom.cpp:
2682         * bindings/js/JSMediaListCustom.h:
2683         * bindings/js/JSMediaSourceStatesCustom.cpp:
2684         * bindings/js/JSMediaStreamCapabilitiesCustom.cpp:
2685         * bindings/js/JSNamedNodeMapCustom.cpp:
2686         * bindings/js/JSNodeCustom.cpp:
2687         * bindings/js/JSNodeCustom.h:
2688         * bindings/js/JSNodeFilterCustom.cpp:
2689         * bindings/js/JSNodeListCustom.cpp:
2690         * bindings/js/JSSQLResultSetRowListCustom.cpp:
2691         * bindings/js/JSSQLTransactionCustom.cpp:
2692         * bindings/js/JSSQLTransactionSyncCustom.cpp:
2693         * bindings/js/JSSVGElementInstanceCustom.cpp:
2694         * bindings/js/JSStyleSheetCustom.cpp:
2695         * bindings/js/JSStyleSheetCustom.h:
2696         * bindings/js/JSStyleSheetListCustom.cpp:
2697         * bindings/js/JSTextTrackCueCustom.cpp:
2698         * bindings/js/JSTextTrackCustom.cpp:
2699         * bindings/js/JSTextTrackListCustom.cpp:
2700         * bindings/js/JSTouchCustom.cpp:
2701         * bindings/js/JSTouchListCustom.cpp:
2702         * bindings/js/JSTrackCustom.cpp:
2703         * bindings/js/JSTrackCustom.h:
2704         * bindings/js/JSTrackEventCustom.cpp:
2705         * bindings/js/JSVideoTrackCustom.cpp:
2706         * bindings/js/JSVideoTrackListCustom.cpp:
2707         * bindings/js/JSWebGLRenderingContextCustom.cpp:
2708         * bindings/js/JSWebKitPointCustom.cpp:
2709         * bindings/js/JSWorkerGlobalScopeBase.cpp:
2710         * bindings/js/JSWorkerGlobalScopeBase.h:
2711         * bindings/js/JSXMLHttpRequestCustom.cpp:
2712         * bindings/js/JSXSLTProcessorCustom.cpp:
2713         * bindings/js/ScriptControllerMac.mm:
2714         * bindings/js/ScriptProfile.cpp:
2715         * bindings/js/ScriptProfile.h:
2716         * bindings/js/ScriptProfileNode.h:
2717         * bindings/js/ScriptProfiler.cpp:
2718         * bindings/js/ScriptProfiler.h:
2719         * bindings/js/SerializedScriptValue.cpp:
2720         * bindings/js/SerializedScriptValue.h:
2721         * bindings/js/WorkerScriptController.cpp:
2722         * bindings/js/WorkerScriptController.h:
2723         * bindings/objc/DOM.h:
2724         * bindings/objc/DOM.mm:
2725         * bindings/objc/DOMAbstractView.mm:
2726         * bindings/objc/DOMAbstractViewFrame.h:
2727         * bindings/objc/DOMCSS.h:
2728         * bindings/objc/DOMCSS.mm:
2729         * bindings/objc/DOMCore.h:
2730         * bindings/objc/DOMCustomXPathNSResolver.h:
2731         * bindings/objc/DOMCustomXPathNSResolver.mm:
2732         * bindings/objc/DOMEventException.h:
2733         * bindings/objc/DOMEvents.h:
2734         * bindings/objc/DOMEvents.mm:
2735         * bindings/objc/DOMException.h:
2736         * bindings/objc/DOMExtensions.h:
2737         * bindings/objc/DOMHTML.h:
2738         * bindings/objc/DOMHTML.mm:
2739         * bindings/objc/DOMInternal.h:
2740         * bindings/objc/DOMInternal.mm:
2741         * bindings/objc/DOMObject.h:
2742         * bindings/objc/DOMObject.mm:
2743         * bindings/objc/DOMPrivate.h:
2744         * bindings/objc/DOMRangeException.h:
2745         * bindings/objc/DOMRanges.h:
2746         * bindings/objc/DOMStylesheets.h:
2747         * bindings/objc/DOMTraversal.h:
2748         * bindings/objc/DOMUIKitExtensions.h:
2749         * bindings/objc/DOMUIKitExtensions.mm:
2750         * bindings/objc/DOMUtility.mm:
2751         * bindings/objc/DOMViews.h:
2752         * bindings/objc/DOMXPath.h:
2753         * bindings/objc/DOMXPath.mm:
2754         * bindings/objc/DOMXPathException.h:
2755         * bindings/objc/ExceptionHandlers.h:
2756         * bindings/objc/ExceptionHandlers.mm:
2757         * bindings/objc/ObjCEventListener.h:
2758         * bindings/objc/ObjCEventListener.mm:
2759         * bindings/objc/ObjCNodeFilterCondition.h:
2760         * bindings/objc/ObjCNodeFilterCondition.mm:
2761         * bindings/objc/PublicDOMInterfaces.h:
2762         * bindings/objc/WebScriptObject.mm:
2763         * bindings/scripts/CodeGeneratorObjC.pm:
2764         * bindings/scripts/InFilesCompiler.pm:
2765         (license):
2766         * bindings/scripts/InFilesParser.pm:
2767         * bindings/scripts/generate-bindings.pl:
2768         * bindings/scripts/test/ObjC/DOMFloat64Array.h:
2769         * bindings/scripts/test/ObjC/DOMFloat64Array.mm:
2770         * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h:
2771         * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h:
2772         * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm:
2773         * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h:
2774         * bindings/scripts/test/ObjC/DOMTestCallback.h:
2775         * bindings/scripts/test/ObjC/DOMTestCallback.mm:
2776         * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h:
2777         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h:
2778         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm:
2779         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h:
2780         * bindings/scripts/test/ObjC/DOMTestEventConstructor.h:
2781         * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm:
2782         * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h:
2783         * bindings/scripts/test/ObjC/DOMTestEventTarget.h:
2784         * bindings/scripts/test/ObjC/DOMTestEventTarget.mm:
2785         * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h:
2786         * bindings/scripts/test/ObjC/DOMTestException.h:
2787         * bindings/scripts/test/ObjC/DOMTestException.mm:
2788         * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h:
2789         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h:
2790         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm:
2791         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h:
2792         * bindings/scripts/test/ObjC/DOMTestInterface.h:
2793         * bindings/scripts/test/ObjC/DOMTestInterface.mm:
2794         * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h:
2795         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h:
2796         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm:
2797         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h:
2798         * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h:
2799         * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm:
2800         * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h:
2801         * bindings/scripts/test/ObjC/DOMTestNode.h:
2802         * bindings/scripts/test/ObjC/DOMTestNode.mm:
2803         * bindings/scripts/test/ObjC/DOMTestNodeInternal.h:
2804         * bindings/scripts/test/ObjC/DOMTestObj.h:
2805         * bindings/scripts/test/ObjC/DOMTestObj.mm:
2806         * bindings/scripts/test/ObjC/DOMTestObjInternal.h:
2807         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h:
2808         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm:
2809         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h:
2810         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
2811         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
2812         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h:
2813         * bindings/scripts/test/ObjC/DOMTestTypedefs.h:
2814         * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
2815         * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h:
2816         * bindings/scripts/test/ObjC/DOMattribute.h:
2817         * bindings/scripts/test/ObjC/DOMattribute.mm:
2818         * bindings/scripts/test/ObjC/DOMattributeInternal.h:
2819         * bindings/scripts/test/ObjC/DOMreadonly.h:
2820         * bindings/scripts/test/ObjC/DOMreadonly.mm:
2821         * bindings/scripts/test/ObjC/DOMreadonlyInternal.h:
2822         * bindings/scripts/test/TestCallback.idl:
2823         * bindings/scripts/test/TestCustomNamedGetter.idl:
2824         * bindings/scripts/test/TestDomainSecurity.idl:
2825         * bindings/scripts/test/TestEventConstructor.idl:
2826         * bindings/scripts/test/TestEventTarget.idl:
2827         * bindings/scripts/test/TestException.idl:
2828         * bindings/scripts/test/TestImplements.idl:
2829         * bindings/scripts/test/TestInterface.idl:
2830         * bindings/scripts/test/TestMediaQueryListListener.idl:
2831         * bindings/scripts/test/TestNamedConstructor.idl:
2832         * bindings/scripts/test/TestObj.idl:
2833         * bindings/scripts/test/TestOverloadedConstructors.idl:
2834         * bindings/scripts/test/TestSupplemental.idl:
2835         * bridge/Bridge.h:
2836         * bridge/IdentifierRep.cpp:
2837         * bridge/IdentifierRep.h:
2838         * bridge/NP_jsobject.cpp:
2839         * bridge/NP_jsobject.h:
2840         * bridge/c/CRuntimeObject.cpp:
2841         * bridge/c/CRuntimeObject.h:
2842         * bridge/c/c_class.cpp:
2843         * bridge/c/c_class.h:
2844         * bridge/c/c_instance.cpp:
2845         * bridge/c/c_instance.h:
2846         * bridge/c/c_runtime.cpp:
2847         * bridge/c/c_runtime.h:
2848         * bridge/c/c_utility.cpp:
2849         * bridge/c/c_utility.h:
2850         * bridge/jsc/BridgeJSC.cpp:
2851         * bridge/jsc/BridgeJSC.h:
2852         * bridge/npruntime.cpp:
2853         * bridge/npruntime_impl.h:
2854         * bridge/npruntime_priv.h:
2855         * bridge/objc/ObjCRuntimeObject.h:
2856         * bridge/objc/ObjCRuntimeObject.mm:
2857         * bridge/objc/WebScriptObject.h:
2858         * bridge/objc/objc_class.h:
2859         * bridge/objc/objc_class.mm:
2860         * bridge/objc/objc_header.h:
2861         * bridge/objc/objc_instance.h:
2862         * bridge/objc/objc_instance.mm:
2863         * bridge/objc/objc_runtime.h:
2864         * bridge/objc/objc_runtime.mm:
2865         * bridge/objc/objc_utility.h:
2866         * bridge/objc/objc_utility.mm:
2867         * bridge/runtime_array.cpp:
2868         * bridge/runtime_array.h:
2869         * bridge/runtime_method.cpp:
2870         * bridge/runtime_method.h:
2871         * bridge/runtime_object.cpp:
2872         * bridge/runtime_object.h:
2873         * bridge/runtime_root.cpp:
2874         * bridge/runtime_root.h:
2875         * bridge/testbindings.mm:
2876         * css/CSSAllInOne.cpp:
2877         * css/CSSAspectRatioValue.cpp:
2878         * css/CSSAspectRatioValue.h:
2879         * css/CSSBorderImageSliceValue.cpp:
2880         * css/CSSBorderImageSliceValue.h:
2881         * css/CSSCanvasValue.cpp:
2882         * css/CSSCanvasValue.h:
2883         * css/CSSCrossfadeValue.cpp:
2884         * css/CSSCrossfadeValue.h:
2885         * css/CSSFontFace.cpp:
2886         * css/CSSFontFace.h:
2887         * css/CSSFontFaceSource.cpp:
2888         * css/CSSFontFaceSource.h:
2889         * css/CSSFontFaceSrcValue.cpp:
2890         * css/CSSFontFaceSrcValue.h:
2891         * css/CSSFontFeatureValue.cpp:
2892         * css/CSSFontFeatureValue.h:
2893         * css/CSSFontSelector.cpp:
2894         * css/CSSFontSelector.h:
2895         * css/CSSFontValue.cpp:
2896         * css/CSSGradientValue.cpp:
2897         * css/CSSGradientValue.h:
2898         * css/CSSImageGeneratorValue.cpp:
2899         * css/CSSImageGeneratorValue.h:
2900         * css/CSSMediaRule.cpp:
2901         * css/CSSProperty.cpp:
2902         * css/CSSProperty.h:
2903         * css/CSSReflectValue.cpp:
2904         * css/CSSReflectValue.h:
2905         * css/CSSReflectionDirection.h:
2906         * css/CSSRuleList.cpp:
2907         * css/CSSRuleList.h:
2908         * css/CSSRuleList.idl:
2909         * css/CSSSegmentedFontFace.cpp:
2910         * css/CSSSegmentedFontFace.h:
2911         * css/CSSShadowValue.cpp:
2912         * css/CSSTimingFunctionValue.cpp:
2913         * css/CSSTimingFunctionValue.h:
2914         * css/CSSUnicodeRangeValue.cpp:
2915         * css/CSSUnicodeRangeValue.h:
2916         * css/CSSUnknownRule.idl:
2917         * css/CSSValue.cpp:
2918         * css/CSSValueList.idl:
2919         * css/MediaAllInOne.cpp:
2920         * css/MediaFeatureNames.cpp:
2921         * css/MediaList.idl:
2922         * css/MediaQuery.cpp:
2923         * css/MediaQuery.h:
2924         * css/MediaQueryEvaluator.cpp:
2925         * css/MediaQueryEvaluator.h:
2926         * css/MediaQueryExp.cpp:
2927         * css/MediaQueryExp.h:
2928         * css/Pair.h:
2929         * css/PropertySetCSSStyleDeclaration.h:
2930         * css/RGBColor.cpp:
2931         * css/RGBColor.h:
2932         * css/SVGCSSParser.cpp:
2933         * css/SVGCSSStyleSelector.cpp:
2934         * css/StyleInvalidationAnalysis.cpp:
2935         * css/StyleInvalidationAnalysis.h:
2936         * css/StyleMedia.cpp:
2937         * css/StyleMedia.h:
2938         * css/StyleMedia.idl:
2939         * css/StyleSheet.cpp:
2940         * css/WebKitCSSFilterValue.cpp:
2941         * css/WebKitCSSFilterValue.h:
2942         * css/WebKitCSSFilterValue.idl:
2943         * css/WebKitCSSKeyframeRule.cpp:
2944         * css/WebKitCSSKeyframeRule.h:
2945         * css/WebKitCSSKeyframeRule.idl:
2946         * css/WebKitCSSKeyframesRule.cpp:
2947         * css/WebKitCSSKeyframesRule.h:
2948         * css/WebKitCSSKeyframesRule.idl:
2949         * css/WebKitCSSTransformValue.cpp:
2950         * css/WebKitCSSTransformValue.h:
2951         * css/WebKitCSSTransformValue.idl:
2952         * css/make-css-file-arrays.pl:
2953         * css/mediaControls.css:
2954         * css/mediaControlsEfl.css:
2955         * css/mediaControlsEflFullscreen.css:
2956         * css/mediaControlsGtk.css:
2957         * css/mediaControlsiOS.css:
2958         * css/svg.css:
2959         * dom/ActiveDOMObject.cpp:
2960         * dom/ActiveDOMObject.h:
2961         * dom/BeforeLoadEvent.h:
2962         * dom/BeforeLoadEvent.idl:
2963         * dom/BeforeTextInsertedEvent.cpp:
2964         * dom/BeforeTextInsertedEvent.h:
2965         * dom/BeforeUnloadEvent.cpp:
2966         * dom/BeforeUnloadEvent.h:
2967         * dom/BeforeUnloadEvent.idl:
2968         * dom/ClassNodeList.cpp:
2969         * dom/ClassNodeList.h:
2970         * dom/ClientRect.cpp:
2971         * dom/ClientRect.h:
2972         * dom/ClientRect.idl:
2973         * dom/ClientRectList.cpp:
2974         * dom/ClientRectList.h:
2975         * dom/ClientRectList.idl:
2976         * dom/Clipboard.cpp:
2977         * dom/Clipboard.idl:
2978         * dom/ClipboardAccessPolicy.h:
2979         * dom/ClipboardMac.mm:
2980         * dom/CompositionEvent.cpp:
2981         * dom/CompositionEvent.h:
2982         * dom/CompositionEvent.idl:
2983         * dom/ContextDestructionObserver.cpp:
2984         * dom/ContextDestructionObserver.h:
2985         * dom/CurrentScriptIncrementer.h:
2986         * dom/CustomEvent.cpp:
2987         * dom/CustomEvent.h:
2988         * dom/CustomEvent.idl:
2989         * dom/DOMCoreException.cpp:
2990         * dom/DOMCoreException.h:
2991         * dom/DOMCoreException.idl:
2992         * dom/DOMError.idl:
2993         * dom/DeviceMotionEvent.cpp:
2994         * dom/DeviceMotionEvent.h:
2995         * dom/DeviceMotionEvent.idl:
2996         * dom/DocumentEventQueue.cpp:
2997         * dom/DocumentEventQueue.h:
2998         * dom/DocumentMarker.h:
2999         * dom/DocumentParser.h:
3000         * dom/DocumentSharedObjectPool.cpp:
3001         * dom/DocumentSharedObjectPool.h:
3002         * dom/Entity.idl:
3003         * dom/EventContext.cpp:
3004         * dom/EventContext.h:
3005         * dom/EventException.cpp:
3006         * dom/EventException.h:
3007         * dom/EventException.idl:
3008         * dom/EventListener.idl:
3009         * dom/EventListenerMap.cpp:
3010         * dom/EventListenerMap.h:
3011         * dom/EventNames.cpp:
3012         * dom/EventQueue.h:
3013         * dom/EventTarget.cpp:
3014         * dom/EventTarget.h:
3015         * dom/ExceptionBase.cpp:
3016         * dom/ExceptionBase.h:
3017         * dom/GenericEventQueue.cpp:
3018         * dom/GenericEventQueue.h:
3019         * dom/KeyboardEvent.idl:
3020         * dom/MessageChannel.cpp:
3021         * dom/MessageChannel.h:
3022         * dom/MessageChannel.idl:
3023         * dom/MessageEvent.cpp:
3024         * dom/MessageEvent.h:
3025         * dom/MessageEvent.idl:
3026         * dom/MessagePort.cpp:
3027         * dom/MessagePort.h:
3028         * dom/MessagePort.idl:
3029         * dom/MouseRelatedEvent.h:
3030         * dom/MutationEvent.idl:
3031         * dom/Notation.idl:
3032         * dom/OverflowEvent.cpp:
3033         * dom/OverflowEvent.h:
3034         * dom/OverflowEvent.idl:
3035         * dom/PopStateEvent.cpp:
3036         * dom/PopStateEvent.h:
3037         * dom/PopStateEvent.idl:
3038         * dom/Position.cpp:
3039         * dom/Position.h:
3040         * dom/ProcessingInstruction.idl:
3041         * dom/ProgressEvent.cpp:
3042         * dom/ProgressEvent.h:
3043         * dom/ProgressEvent.idl:
3044         * dom/Range.idl:
3045         * dom/RangeException.cpp:
3046         * dom/RangeException.h:
3047         * dom/ScriptExecutionContext.cpp:
3048         * dom/ScriptExecutionContext.h:
3049         * dom/SecurityContext.cpp:
3050         * dom/SecurityContext.h:
3051         * dom/StaticNodeList.cpp:
3052         * dom/StaticNodeList.h:
3053         * dom/Text.idl:
3054         * dom/TextEvent.cpp:
3055         * dom/TextEvent.h:
3056         * dom/TextEvent.idl:
3057         * dom/Touch.cpp:
3058         * dom/Touch.h:
3059         * dom/Touch.idl:
3060         * dom/TouchEvent.cpp:
3061         * dom/TouchEvent.h:
3062         * dom/TouchEvent.idl:
3063         * dom/TouchList.cpp:
3064         * dom/TouchList.h:
3065         * dom/TouchList.idl:
3066         * dom/TransitionEvent.cpp:
3067         * dom/TransitionEvent.h:
3068         * dom/TransitionEvent.idl:
3069         * dom/TreeWalker.idl:
3070         * dom/UIEvent.idl:
3071         * dom/UIEventWithKeyState.cpp:
3072         * dom/WebKitAnimationEvent.cpp:
3073         * dom/WebKitAnimationEvent.h:
3074         * dom/WebKitAnimationEvent.idl:
3075         * dom/WebKitTransitionEvent.cpp:
3076         * dom/WebKitTransitionEvent.h:
3077         * dom/WebKitTransitionEvent.idl:
3078         * dom/make_dom_exceptions.pl:
3079         * dom/make_event_factory.pl:
3080         * dom/make_names.pl:
3081         (printLicenseHeader):
3082         * editing/AlternativeTextController.cpp:
3083         * editing/AlternativeTextController.h:
3084         * editing/AppendNodeCommand.cpp:
3085         * editing/AppendNodeCommand.h:
3086         * editing/ApplyStyleCommand.cpp:
3087         * editing/ApplyStyleCommand.h:
3088         * editing/BreakBlockquoteCommand.cpp:
3089         * editing/BreakBlockquoteCommand.h:
3090         * editing/CompositeEditCommand.cpp:
3091         * editing/CompositeEditCommand.h:
3092         * editing/CreateLinkCommand.cpp:
3093         * editing/CreateLinkCommand.h:
3094         * editing/DeleteButton.cpp:
3095         * editing/DeleteButton.h:
3096         * editing/DeleteButtonController.cpp:
3097         * editing/DeleteButtonController.h:
3098         * editing/DeleteFromTextNodeCommand.cpp:
3099         * editing/DeleteFromTextNodeCommand.h:
3100         * editing/DeleteSelectionCommand.cpp:
3101         * editing/DeleteSelectionCommand.h:
3102         * editing/EditAction.h:
3103         * editing/EditCommand.cpp:
3104         * editing/EditCommand.h:
3105         * editing/EditingBoundary.h:
3106         * editing/EditingStyle.cpp:
3107         * editing/Editor.cpp:
3108         * editing/Editor.h:
3109         * editing/EditorCommand.cpp:
3110         * editing/EditorDeleteAction.h:
3111         * editing/EditorInsertAction.h:
3112         * editing/FormatBlockCommand.cpp:
3113         * editing/FormatBlockCommand.h:
3114         * editing/FrameSelection.cpp:
3115         * editing/FrameSelection.h:
3116         * editing/HTMLInterchange.cpp:
3117         * editing/HTMLInterchange.h:
3118         * editing/IndentOutdentCommand.cpp:
3119         * editing/IndentOutdentCommand.h:
3120         * editing/InsertIntoTextNodeCommand.cpp:
3121         * editing/InsertIntoTextNodeCommand.h:
3122         * editing/InsertLineBreakCommand.cpp:
3123         * editing/InsertLineBreakCommand.h:
3124         * editing/InsertListCommand.cpp:
3125         * editing/InsertListCommand.h:
3126         * editing/InsertNodeBeforeCommand.cpp:
3127         * editing/InsertNodeBeforeCommand.h:
3128         * editing/InsertParagraphSeparatorCommand.cpp:
3129         * editing/InsertParagraphSeparatorCommand.h:
3130         * editing/InsertTextCommand.cpp:
3131         * editing/InsertTextCommand.h:
3132         * editing/MarkupAccumulator.h:
3133         * editing/MergeIdenticalElementsCommand.cpp:
3134         * editing/MergeIdenticalElementsCommand.h:
3135         * editing/ModifySelectionListLevel.cpp:
3136         * editing/ModifySelectionListLevel.h:
3137         * editing/MoveSelectionCommand.cpp:
3138         * editing/MoveSelectionCommand.h:
3139         * editing/RemoveCSSPropertyCommand.cpp:
3140         * editing/RemoveCSSPropertyCommand.h:
3141         * editing/RemoveFormatCommand.cpp:
3142         * editing/RemoveFormatCommand.h:
3143         * editing/RemoveNodeCommand.cpp:
3144         * editing/RemoveNodeCommand.h:
3145         * editing/RemoveNodePreservingChildrenCommand.cpp:
3146         * editing/RemoveNodePreservingChildrenCommand.h:
3147         * editing/ReplaceSelectionCommand.cpp:
3148         * editing/ReplaceSelectionCommand.h:
3149         * editing/SetNodeAttributeCommand.cpp:
3150         * editing/SetNodeAttributeCommand.h:
3151         * editing/SetSelectionCommand.cpp:
3152         * editing/SetSelectionCommand.h:
3153         * editing/SimplifyMarkupCommand.cpp:
3154         * editing/SimplifyMarkupCommand.h:
3155         * editing/SmartReplace.cpp:
3156         * editing/SmartReplace.h:
3157         * editing/SmartReplaceCF.cpp:
3158         * editing/SpellChecker.cpp:
3159         * editing/SpellChecker.h:
3160         * editing/SpellingCorrectionCommand.cpp:
3161         * editing/SpellingCorrectionCommand.h:
3162         * editing/SplitElementCommand.cpp:
3163         * editing/SplitElementCommand.h:
3164         * editing/SplitTextNodeCommand.cpp:
3165         * editing/SplitTextNodeCommand.h:
3166         * editing/SplitTextNodeContainingElementCommand.cpp:
3167         * editing/SplitTextNodeContainingElementCommand.h:
3168         * editing/TextAffinity.h:
3169         * editing/TextCheckingHelper.cpp:
3170         * editing/TextGranularity.h:
3171         * editing/TextIterator.cpp:
3172         * editing/TextIterator.h:
3173         * editing/TextIteratorBehavior.h:
3174         * editing/TypingCommand.cpp:
3175         * editing/TypingCommand.h:
3176         * editing/UnlinkCommand.cpp:
3177         * editing/UnlinkCommand.h:
3178         * editing/VisiblePosition.cpp:
3179         * editing/VisiblePosition.h:
3180         * editing/VisibleSelection.cpp:
3181         * editing/VisibleSelection.h:
3182         * editing/VisibleUnits.cpp:
3183         * editing/VisibleUnits.h:
3184         * editing/WrapContentsInDummySpanCommand.cpp:
3185         * editing/WrapContentsInDummySpanCommand.h:
3186         * editing/WritingDirection.h:
3187         * editing/efl/EditorEfl.cpp:
3188         * editing/htmlediting.cpp:
3189         * editing/htmlediting.h:
3190         * editing/mac/EditorMac.mm:
3191         * editing/mac/FrameSelectionMac.mm:
3192         * editing/markup.cpp:
3193         * editing/markup.h:
3194         * extract-localizable-strings.pl:
3195         * fileapi/FileException.cpp:
3196         * history/BackForwardClient.h:
3197         * history/BackForwardList.cpp:
3198         * history/BackForwardList.h:
3199         * history/CachedFrame.cpp:
3200         * history/CachedFrame.h:
3201         * history/CachedFramePlatformData.h:
3202         * history/CachedPage.cpp:
3203         * history/CachedPage.h:
3204         * history/HistoryItem.cpp:
3205         * history/HistoryItem.h:
3206         * history/PageCache.cpp:
3207         * history/PageCache.h:
3208         * history/mac/HistoryItemMac.mm:
3209         * html/FTPDirectoryDocument.cpp:
3210         * html/FTPDirectoryDocument.h:
3211         * html/HTMLAudioElement.cpp:
3212         * html/HTMLAudioElement.h:
3213         * html/HTMLAudioElement.idl:
3214         * html/HTMLCanvasElement.cpp:
3215         * html/HTMLCanvasElement.h:
3216         * html/HTMLCanvasElement.idl:
3217         * html/HTMLFieldSetElement.idl:
3218         * html/HTMLImageLoader.h:
3219         * html/HTMLMediaElement.cpp:
3220         * html/HTMLMediaElement.h:
3221         * html/HTMLMediaElement.idl:
3222         * html/HTMLOptionsCollection.cpp:
3223         * html/HTMLPlugInElement.cpp:
3224         * html/HTMLSourceElement.cpp:
3225         * html/HTMLSourceElement.h:
3226         * html/HTMLSourceElement.idl:
3227         * html/HTMLTablePartElement.cpp:
3228         * html/HTMLTableRowsCollection.cpp:
3229         * html/HTMLTableRowsCollection.h:
3230         * html/HTMLTitleElement.idl:
3231         * html/HTMLTrackElement.cpp:
3232         * html/HTMLTrackElement.h:
3233         * html/HTMLTrackElement.idl:
3234         * html/HTMLVideoElement.cpp:
3235         * html/HTMLVideoElement.h:
3236         * html/HTMLVideoElement.idl:
3237         * html/ImageData.cpp:
3238         * html/ImageData.h:
3239         * html/ImageData.idl:
3240         * html/ImageDocument.cpp:
3241         * html/ImageDocument.h:
3242         * html/MediaController.cpp:
3243         * html/MediaController.h:
3244         * html/MediaController.idl:
3245         * html/MediaControllerInterface.h:
3246         * html/MediaError.h:
3247         * html/MediaError.idl:
3248         * html/MediaFragmentURIParser.cpp:
3249         * html/MediaFragmentURIParser.h:
3250         * html/MediaKeyError.h:
3251         * html/MediaKeyError.idl:
3252         * html/MediaKeyEvent.cpp:
3253         * html/MediaKeyEvent.h:
3254         * html/MediaKeyEvent.idl:
3255         * html/PluginDocument.cpp:
3256         * html/PluginDocument.h:
3257         * html/TextDocument.cpp:
3258         * html/TextDocument.h:
3259         * html/TimeRanges.cpp:
3260         * html/TimeRanges.h:
3261         * html/TimeRanges.idl:
3262         * html/VoidCallback.h:
3263         * html/VoidCallback.idl:
3264         * html/canvas/CanvasGradient.cpp:
3265         * html/canvas/CanvasGradient.h:
3266         * html/canvas/CanvasGradient.idl:
3267         * html/canvas/CanvasPattern.cpp:
3268         * html/canvas/CanvasPattern.h:
3269         * html/canvas/CanvasPattern.idl:
3270         * html/canvas/CanvasRenderingContext.cpp:
3271         * html/canvas/CanvasRenderingContext.h:
3272         * html/canvas/CanvasRenderingContext.idl:
3273         * html/canvas/CanvasRenderingContext2D.cpp:
3274         * html/canvas/CanvasRenderingContext2D.h:
3275         * html/canvas/CanvasRenderingContext2D.idl:
3276         * html/canvas/CanvasStyle.cpp:
3277         * html/canvas/CanvasStyle.h:
3278         * html/canvas/DOMPath.idl:
3279         * html/canvas/OESVertexArrayObject.cpp:
3280         * html/canvas/OESVertexArrayObject.h:
3281         * html/canvas/OESVertexArrayObject.idl:
3282         * html/canvas/WebGLBuffer.cpp:
3283         * html/canvas/WebGLBuffer.h:
3284         * html/canvas/WebGLBuffer.idl:
3285         * html/canvas/WebGLContextGroup.cpp:
3286         * html/canvas/WebGLContextGroup.h:
3287         * html/canvas/WebGLContextObject.cpp:
3288         * html/canvas/WebGLContextObject.h:
3289         * html/canvas/WebGLFramebuffer.cpp:
3290         * html/canvas/WebGLFramebuffer.h:
3291         * html/canvas/WebGLFramebuffer.idl:
3292         * html/canvas/WebGLObject.cpp:
3293         * html/canvas/WebGLObject.h:
3294         * html/canvas/WebGLProgram.cpp:
3295         * html/canvas/WebGLProgram.h:
3296         * html/canvas/WebGLProgram.idl:
3297         * html/canvas/WebGLRenderbuffer.cpp:
3298         * html/canvas/WebGLRenderbuffer.h:
3299         * html/canvas/WebGLRenderbuffer.idl:
3300         * html/canvas/WebGLRenderingContext.cpp:
3301         * html/canvas/WebGLRenderingContext.h:
3302         * html/canvas/WebGLRenderingContext.idl:
3303         * html/canvas/WebGLShader.cpp:
3304         * html/canvas/WebGLShader.h:
3305         * html/canvas/WebGLShader.idl:
3306         * html/canvas/WebGLSharedObject.cpp:
3307         * html/canvas/WebGLSharedObject.h:
3308         * html/canvas/WebGLTexture.cpp:
3309         * html/canvas/WebGLTexture.h:
3310         * html/canvas/WebGLTexture.idl:
3311         * html/canvas/WebGLUniformLocation.cpp:
3312         * html/canvas/WebGLUniformLocation.h:
3313         * html/canvas/WebGLUniformLocation.idl:
3314         * html/canvas/WebGLVertexArrayObjectOES.cpp:
3315         * html/canvas/WebGLVertexArrayObjectOES.h:
3316         * html/canvas/WebGLVertexArrayObjectOES.idl:
3317         * html/forms/FileIconLoader.cpp:
3318         * html/forms/FileIconLoader.h:
3319         * html/parser/TextDocumentParser.cpp:
3320         * html/parser/TextDocumentParser.h:
3321         * html/shadow/MediaControlElementTypes.cpp:
3322         * html/shadow/MediaControlElementTypes.h:
3323         * html/shadow/MediaControlElements.cpp:
3324         * html/shadow/MediaControlElements.h:
3325         * html/shadow/MediaControls.cpp:
3326         * html/shadow/MediaControls.h:
3327         * html/shadow/MediaControlsApple.cpp:
3328         * html/shadow/MediaControlsApple.h:
3329         * html/shadow/MediaControlsGtk.cpp:
3330         * html/shadow/MediaControlsGtk.h:
3331         * html/shadow/SpinButtonElement.cpp:
3332         * html/shadow/SpinButtonElement.h:
3333         * html/shadow/TextControlInnerElements.cpp:
3334         * html/shadow/TextControlInnerElements.h:
3335         * html/track/AudioTrack.h:
3336         * html/track/AudioTrack.idl:
3337         * html/track/AudioTrackList.cpp:
3338         * html/track/AudioTrackList.h:
3339         * html/track/AudioTrackList.idl:
3340         * html/track/DataCue.cpp:
3341         * html/track/DataCue.h:
3342         * html/track/DataCue.idl:
3343         * html/track/InbandGenericTextTrack.cpp:
3344         * html/track/InbandGenericTextTrack.h:
3345         * html/track/InbandTextTrack.cpp:
3346         * html/track/InbandTextTrack.h:
3347         * html/track/InbandWebVTTTextTrack.cpp:
3348         * html/track/InbandWebVTTTextTrack.h:
3349         * html/track/LoadableTextTrack.cpp:
3350         * html/track/LoadableTextTrack.h:
3351         * html/track/TextTrack.h:
3352         * html/track/TextTrack.idl:
3353         * html/track/TextTrackCue.idl:
3354         * html/track/TextTrackCueGeneric.cpp:
3355         * html/track/TextTrackCueGeneric.h:
3356         * html/track/TextTrackCueList.cpp:
3357         * html/track/TextTrackCueList.h:
3358         * html/track/TextTrackCueList.idl:
3359         * html/track/TextTrackList.cpp:
3360         * html/track/TextTrackList.h:
3361         * html/track/TextTrackList.idl:
3362         * html/track/TextTrackRegion.idl:
3363         * html/track/TextTrackRegionList.cpp:
3364         * html/track/TextTrackRegionList.h:
3365         * html/track/TextTrackRegionList.idl:
3366         * html/track/TrackBase.cpp:
3367         * html/track/TrackBase.h:
3368         * html/track/TrackEvent.cpp:
3369         * html/track/TrackEvent.h:
3370         * html/track/TrackEvent.idl:
3371         * html/track/TrackListBase.cpp:
3372         * html/track/TrackListBase.h:
3373         * html/track/VTTCue.idl:
3374         * html/track/VideoTrack.h:
3375         * html/track/VideoTrack.idl:
3376         * html/track/VideoTrackList.cpp:
3377         * html/track/VideoTrackList.h:
3378         * html/track/VideoTrackList.idl:
3379         * html/track/WebVTTElement.cpp:
3380         * html/track/WebVTTElement.h:
3381         * inspector/CommandLineAPIHost.cpp:
3382         * inspector/CommandLineAPIHost.h:
3383         * inspector/CommandLineAPIModuleSource.js:
3384         * inspector/InspectorAllInOne.cpp:
3385         * inspector/InspectorClient.h:
3386         * inspector/InspectorDOMAgent.cpp:
3387         * inspector/InspectorDOMAgent.h:
3388         * inspector/InspectorDOMStorageAgent.cpp:
3389         * inspector/InspectorDOMStorageAgent.h:
3390         * inspector/InspectorDatabaseAgent.cpp:
3391         * inspector/InspectorDatabaseAgent.h:
3392         * inspector/InspectorDatabaseResource.cpp:
3393         * inspector/InspectorDatabaseResource.h:
3394         * inspector/InspectorForwarding.h:
3395         * inspector/InspectorFrontendHost.cpp:
3396         * inspector/InspectorFrontendHost.h:
3397         * inspector/InspectorLayerTreeAgent.h:
3398         * inspector/InspectorNodeFinder.cpp:
3399         * inspector/InspectorNodeFinder.h:
3400         * inspector/InspectorOverlay.cpp:
3401         * inspector/InspectorOverlay.h:
3402         * inspector/InspectorOverlayPage.html:
3403         * inspector/InspectorProfilerAgent.cpp:
3404         * inspector/InspectorProfilerAgent.h:
3405         * inspector/ScriptProfile.idl:
3406         * inspector/ScriptProfileNode.idl:
3407         * loader/CookieJar.h:
3408         * loader/CrossOriginAccessControl.cpp:
3409         * loader/CrossOriginAccessControl.h:
3410         * loader/CrossOriginPreflightResultCache.cpp:
3411         * loader/CrossOriginPreflightResultCache.h:
3412         * loader/DocumentLoader.cpp:
3413         * loader/DocumentLoader.h:
3414         * loader/DocumentWriter.cpp:
3415         * loader/EmptyClients.h:
3416         * loader/FormState.cpp:
3417         * loader/FormState.h:
3418         * loader/FrameLoadRequest.h:
3419         * loader/FrameLoader.cpp:
3420         * loader/FrameLoader.h:
3421         * loader/FrameLoaderClient.h:
3422         * loader/FrameLoaderTypes.h:
3423         * loader/HistoryController.cpp:
3424         * loader/HistoryController.h:
3425         * loader/MixedContentChecker.cpp:
3426         * loader/NavigationAction.cpp:
3427         * loader/NavigationAction.h:
3428         * loader/NavigationScheduler.cpp:
3429         * loader/NavigationScheduler.h:
3430         * loader/NetscapePlugInStreamLoader.cpp:
3431         * loader/NetscapePlugInStreamLoader.h:
3432         * loader/PolicyCallback.cpp:
3433         * loader/PolicyCallback.h:
3434         * loader/PolicyChecker.cpp:
3435         * loader/PolicyChecker.h:
3436         * loader/ProgressTracker.cpp:
3437         * loader/ProgressTracker.h:
3438         * loader/ResourceBuffer.cpp:
3439         * loader/ResourceBuffer.h:
3440         * loader/ResourceLoadNotifier.cpp:
3441         * loader/ResourceLoadNotifier.h:
3442         * loader/ResourceLoader.cpp:
3443         * loader/ResourceLoader.h:
3444         * loader/SinkDocument.cpp:
3445         * loader/SinkDocument.h:
3446         * loader/SubframeLoader.cpp:
3447         * loader/SubframeLoader.h:
3448         * loader/SubresourceLoader.cpp:
3449         * loader/SubresourceLoader.h:
3450         * loader/SubstituteData.h:
3451         * loader/TextTrackLoader.cpp:
3452         * loader/appcache/ApplicationCacheAllInOne.cpp:
3453         * loader/archive/Archive.cpp:
3454         * loader/archive/Archive.h:
3455         * loader/archive/ArchiveFactory.cpp:
3456         * loader/archive/ArchiveFactory.h:
3457         * loader/archive/ArchiveResource.cpp:
3458         * loader/archive/ArchiveResource.h:
3459         * loader/archive/ArchiveResourceCollection.cpp:
3460         * loader/archive/ArchiveResourceCollection.h:
3461         * loader/archive/cf/LegacyWebArchive.cpp:
3462         * loader/archive/cf/LegacyWebArchive.h:
3463         * loader/archive/cf/LegacyWebArchiveMac.mm:
3464         * loader/cache/CachePolicy.h:
3465         * loader/cache/CachedCSSStyleSheet.cpp:
3466         * loader/cache/CachedFont.cpp:
3467         * loader/cache/CachedFont.h:
3468         * loader/cache/CachedResourceRequest.cpp:
3469         * loader/cache/CachedResourceRequest.h:
3470         * loader/cache/CachedResourceRequestInitiators.cpp:
3471         * loader/cache/CachedResourceRequestInitiators.h:
3472         * loader/cf/ResourceLoaderCFNet.cpp:
3473         * loader/icon/IconController.cpp:
3474         * loader/icon/IconController.h:
3475         * loader/icon/IconDatabase.cpp:
3476         * loader/icon/IconDatabase.h:
3477         * loader/icon/IconDatabaseBase.cpp:
3478         * loader/icon/IconDatabaseBase.h:
3479         * loader/icon/IconDatabaseClient.h:
3480         * loader/icon/IconLoader.cpp:
3481         * loader/icon/IconLoader.h:
3482         * loader/icon/IconRecord.cpp:
3483         * loader/icon/IconRecord.h:
3484         * loader/icon/PageURLRecord.cpp:
3485         * loader/icon/PageURLRecord.h:
3486         * loader/mac/DocumentLoaderMac.cpp:
3487         * loader/mac/LoaderNSURLExtras.h:
3488         * loader/mac/LoaderNSURLExtras.mm:
3489         * loader/mac/ResourceBuffer.mm:
3490         * loader/mac/ResourceLoaderMac.mm:
3491         * loader/win/DocumentLoaderWin.cpp:
3492         * loader/win/FrameLoaderWin.cpp:
3493         * mathml/MathMLAllInOne.cpp:
3494         * page/AbstractView.idl:
3495         * page/AlternativeTextClient.h:
3496         * page/AutoscrollController.cpp:
3497         * page/AutoscrollController.h:
3498         * page/BarProp.cpp:
3499         * page/BarProp.h:
3500         * page/BarProp.idl:
3501         * page/ContentSecurityPolicy.cpp:
3502         * page/ContentSecurityPolicy.h:
3503         * page/ContextMenuClient.h:
3504         * page/ContextMenuContext.cpp:
3505         * page/ContextMenuContext.h:
3506         * page/ContextMenuController.cpp:
3507         * page/ContextMenuController.h:
3508         * page/DOMSecurityPolicy.cpp:
3509         * page/DOMSecurityPolicy.h:
3510         * page/DOMSelection.cpp:
3511         * page/DOMSelection.h:
3512         * page/DOMSelection.idl:
3513         * page/DOMTimer.cpp:
3514         * page/DOMTimer.h:
3515         * page/DOMWindow.cpp:
3516         * page/DOMWindow.h:
3517         * page/DOMWindow.idl:
3518         * page/DragActions.h:
3519         * page/DragClient.h:
3520         * page/DragController.cpp:
3521         * page/DragController.h:
3522         * page/DragSession.h:
3523         * page/DragState.h:
3524         * page/EditorClient.h:
3525         * page/EventHandler.cpp:
3526         * page/EventHandler.h:
3527         * page/FocusController.cpp:
3528         * page/FocusController.h:
3529         * page/FocusDirection.h:
3530         * page/FrameTree.h:
3531         * page/GestureTapHighlighter.cpp:
3532         * page/GestureTapHighlighter.h:
3533         * page/History.cpp:
3534         * page/History.h:
3535         * page/History.idl:
3536         * page/Location.cpp:
3537         * page/Location.h:
3538         * page/Location.idl:
3539         * page/MouseEventWithHitTestResults.cpp:
3540         * page/MouseEventWithHitTestResults.h:
3541         * page/Navigator.cpp:
3542         * page/NavigatorBase.cpp:
3543         * page/NavigatorBase.h:
3544         * page/PageConsole.cpp:
3545         * page/PageConsole.h:
3546         * page/Screen.cpp:
3547         * page/Screen.h:
3548         * page/Screen.idl:
3549         * page/SecurityOrigin.cpp:
3550         * page/SecurityOrigin.h:
3551         * page/SecurityOriginHash.h:
3552         * page/Settings.cpp:
3553         * page/Settings.h:
3554         * page/SpatialNavigation.cpp:
3555         * page/SuspendableTimer.cpp:
3556         * page/SuspendableTimer.h:
3557         * page/UserContentTypes.h:
3558         * page/UserContentURLPattern.cpp:
3559         * page/UserContentURLPattern.h:
3560         * page/UserScript.h:
3561         * page/UserScriptTypes.h:
3562         * page/UserStyleSheet.h:
3563         * page/UserStyleSheetTypes.h:
3564         * page/WebCoreKeyboardUIMode.h:
3565         * page/WebKitPoint.h:
3566         * page/WebKitPoint.idl:
3567         * page/WindowBase64.idl:
3568         * page/WindowFeatures.h:
3569         * page/WindowFocusAllowedIndicator.cpp:
3570         * page/WindowFocusAllowedIndicator.h:
3571         * page/WindowTimers.idl:
3572         * page/WorkerNavigator.cpp:
3573         * page/WorkerNavigator.h:
3574         * page/WorkerNavigator.idl:
3575         * page/animation/AnimationBase.cpp:
3576         * page/animation/AnimationBase.h:
3577         * page/animation/AnimationController.cpp:
3578         * page/animation/AnimationController.h:
3579         * page/animation/AnimationControllerPrivate.h:
3580         * page/animation/CSSPropertyAnimation.cpp:
3581         * page/animation/CSSPropertyAnimation.h:
3582         * page/animation/CompositeAnimation.cpp:
3583         * page/animation/CompositeAnimation.h:
3584         * page/animation/ImplicitAnimation.cpp:
3585         * page/animation/ImplicitAnimation.h:
3586         * page/animation/KeyframeAnimation.cpp:
3587         * page/animation/KeyframeAnimation.h:
3588         * page/efl/DragControllerEfl.cpp:
3589         * page/efl/EventHandlerEfl.cpp:
3590         * page/gtk/DragControllerGtk.cpp:
3591         * page/gtk/EventHandlerGtk.cpp:
3592         * page/ios/EventHandlerIOS.mm:
3593         * page/mac/DragControllerMac.mm:
3594         * page/mac/EventHandlerMac.mm:
3595         * page/mac/PageMac.cpp:
3596         * page/mac/WebCoreFrameView.h:
3597         * page/make_settings.pl:
3598         * page/win/DragControllerWin.cpp:
3599         * page/win/EventHandlerWin.cpp:
3600         * page/win/FrameCGWin.cpp:
3601         * page/win/FrameCairoWin.cpp:
3602         * page/win/FrameGdiWin.cpp:
3603         * page/win/FrameWin.cpp:
3604         * page/win/FrameWin.h:
3605         * pdf/ios/PDFDocument.h:
3606         * platform/Clock.cpp:
3607         * platform/Clock.h:
3608         * platform/ClockGeneric.cpp:
3609         * platform/ClockGeneric.h:
3610         * platform/ColorChooser.h:
3611         * platform/ColorChooserClient.h:
3612         * platform/ContentType.cpp:
3613         * platform/ContentType.h:
3614         * platform/ContextMenu.h:
3615         * platform/ContextMenuItem.h:
3616         * platform/Cookie.h:
3617         * platform/Cursor.h:
3618         * platform/DragData.cpp:
3619         * platform/DragData.h:
3620         * platform/DragImage.cpp:
3621         * platform/DragImage.h:
3622         * platform/FileChooser.cpp:
3623         * platform/FileChooser.h:
3624         * platform/FileSystem.h:
3625         * platform/FloatConversion.h:
3626         * platform/KillRing.h:
3627         * platform/LinkHash.h:
3628         * platform/LocalizedStrings.cpp:
3629         * platform/LocalizedStrings.h:
3630         * platform/Logging.cpp:
3631         * platform/Logging.h:
3632         * platform/MIMETypeRegistry.cpp:
3633         * platform/MIMETypeRegistry.h:
3634         * platform/MediaDescription.h:
3635         * platform/MediaSample.h:
3636         * platform/NotImplemented.h:
3637         * platform/PODFreeListArena.h:
3638         * platform/Pasteboard.h:
3639         * platform/PasteboardStrategy.h:
3640         * platform/PlatformExportMacros.h:
3641         * platform/PlatformKeyboardEvent.h:
3642         * platform/PlatformMenuDescription.h:
3643         * platform/PlatformMouseEvent.h:
3644         * platform/PlatformPasteboard.h:
3645         * platform/PlatformScreen.h:
3646         * platform/PlatformSpeechSynthesis.h:
3647         * platform/PlatformSpeechSynthesisUtterance.cpp:
3648         * platform/PlatformSpeechSynthesisUtterance.h:
3649         * platform/PlatformSpeechSynthesisVoice.cpp:
3650         * platform/PlatformSpeechSynthesisVoice.h:
3651         * platform/PlatformSpeechSynthesizer.cpp:
3652         * platform/PlatformSpeechSynthesizer.h:
3653         * platform/PlatformWheelEvent.h:
3654         * platform/PopupMenuClient.h:
3655         * platform/RemoteCommandListener.cpp:
3656         * platform/RemoteCommandListener.h:
3657         * platform/SSLKeyGenerator.h:
3658         * platform/SchemeRegistry.cpp:
3659         * platform/SchemeRegistry.h:
3660         * platform/ScrollTypes.h:
3661         * platform/ScrollView.cpp:
3662         * platform/ScrollView.h:
3663         * platform/Scrollbar.cpp:
3664         * platform/Scrollbar.h:
3665         * platform/SharedBuffer.cpp:
3666         * platform/SharedBuffer.h:
3667         * platform/SharedTimer.h:
3668         * platform/Sound.h:
3669         * platform/ThreadCheck.h:
3670         * platform/ThreadGlobalData.cpp:
3671         * platform/ThreadGlobalData.h:
3672         * platform/ThreadTimers.cpp:
3673         * platform/ThreadTimers.h:
3674         * platform/Timer.cpp:
3675         * platform/Timer.h:
3676         * platform/URL.cpp:
3677         * platform/URL.h:
3678         * platform/Widget.cpp:
3679         * platform/Widget.h:
3680         * platform/animation/AnimationUtilities.h:
3681         * platform/audio/AudioArray.h:
3682         * platform/audio/AudioBus.cpp:
3683         * platform/audio/AudioBus.h:
3684         * platform/audio/AudioChannel.cpp:
3685         * platform/audio/AudioChannel.h:
3686         * platform/audio/AudioDestination.h:
3687         * platform/audio/AudioFIFO.cpp:
3688         * platform/audio/AudioFIFO.h:
3689         * platform/audio/AudioFileReader.h:
3690         * platform/audio/AudioIOCallback.h:
3691         * platform/audio/AudioPullFIFO.cpp:
3692         * platform/audio/AudioPullFIFO.h:
3693         * platform/audio/AudioSourceProvider.h:
3694         * platform/audio/Biquad.cpp:
3695         * platform/audio/Biquad.h:
3696         * platform/audio/Cone.cpp:
3697         * platform/audio/Cone.h:
3698         * platform/audio/DirectConvolver.cpp:
3699         * platform/audio/DirectConvolver.h:
3700         * platform/audio/Distance.cpp:
3701         * platform/audio/Distance.h:
3702         * platform/audio/DownSampler.cpp:
3703         * platform/audio/DownSampler.h:
3704         * platform/audio/DynamicsCompressor.cpp:
3705         * platform/audio/DynamicsCompressor.h:
3706         * platform/audio/DynamicsCompressorKernel.cpp:
3707         * platform/audio/DynamicsCompressorKernel.h:
3708         * platform/audio/FFTConvolver.cpp:
3709         * platform/audio/FFTConvolver.h:
3710         * platform/audio/FFTFrame.cpp:
3711         * platform/audio/FFTFrame.h:
3712         * platform/audio/HRTFDatabase.cpp:
3713         * platform/audio/HRTFDatabase.h:
3714         * platform/audio/HRTFDatabaseLoader.cpp:
3715         * platform/audio/HRTFDatabaseLoader.h:
3716         * platform/audio/HRTFElevation.cpp:
3717         * platform/audio/HRTFElevation.h:
3718         * platform/audio/HRTFKernel.cpp:
3719         * platform/audio/HRTFKernel.h:
3720         * platform/audio/MultiChannelResampler.cpp:
3721         * platform/audio/MultiChannelResampler.h:
3722         * platform/audio/Panner.cpp:
3723         * platform/audio/Panner.h:
3724         * platform/audio/Reverb.cpp:
3725         * platform/audio/Reverb.h:
3726         * platform/audio/ReverbAccumulationBuffer.cpp:
3727         * platform/audio/ReverbAccumulationBuffer.h:
3728         * platform/audio/ReverbConvolver.cpp:
3729         * platform/audio/ReverbConvolver.h:
3730         * platform/audio/ReverbConvolverStage.cpp:
3731         * platform/audio/ReverbConvolverStage.h:
3732         * platform/audio/ReverbInputBuffer.cpp:
3733         * platform/audio/ReverbInputBuffer.h:
3734         * platform/audio/SincResampler.cpp:
3735         * platform/audio/SincResampler.h:
3736         * platform/audio/UpSampler.cpp:
3737         * platform/audio/UpSampler.h:
3738         * platform/audio/ZeroPole.cpp:
3739         * platform/audio/ZeroPole.h:
3740         * platform/audio/ios/AudioDestinationIOS.cpp:
3741         * platform/audio/ios/AudioDestinationIOS.h:
3742         * platform/audio/ios/AudioFileReaderIOS.cpp:
3743         * platform/audio/ios/AudioFileReaderIOS.h:
3744         * platform/audio/mac/AudioDestinationMac.cpp:
3745         * platform/audio/mac/AudioDestinationMac.h:
3746         * platform/audio/mac/AudioFileReaderMac.cpp:
3747         * platform/audio/mac/AudioFileReaderMac.h:
3748         * platform/audio/mac/FFTFrameMac.cpp:
3749         * platform/cf/FileSystemCF.cpp:
3750         * platform/cf/SharedBufferCF.cpp:
3751         * platform/cf/URLCF.cpp:
3752         * platform/cocoa/KeyEventCocoa.h:
3753         * platform/cocoa/KeyEventCocoa.mm:
3754         * platform/efl/CursorEfl.cpp:
3755         * platform/efl/EflKeyboardUtilities.cpp:
3756         * platform/efl/EflKeyboardUtilities.h:
3757         * platform/efl/FileSystemEfl.cpp:
3758         * platform/efl/LanguageEfl.cpp:
3759         * platform/efl/LocalizedStringsEfl.cpp:
3760         * platform/efl/MIMETypeRegistryEfl.cpp:
3761         * platform/efl/PlatformKeyboardEventEfl.cpp:
3762         * platform/efl/PlatformMouseEventEfl.cpp:
3763         * platform/efl/PlatformScreenEfl.cpp:
3764         * platform/efl/PlatformWheelEventEfl.cpp:
3765         * platform/efl/RenderThemeEfl.h:
3766         * platform/efl/ScrollbarEfl.h:
3767         * platform/efl/SharedTimerEfl.cpp:
3768         * platform/efl/SoundEfl.cpp:
3769         * platform/efl/TemporaryLinkStubs.cpp:
3770         * platform/efl/WidgetEfl.cpp:
3771         * platform/graphics/ANGLEWebKitBridge.cpp:
3772         * platform/graphics/ANGLEWebKitBridge.h:
3773         * platform/graphics/AudioTrackPrivate.h:
3774         * platform/graphics/BitmapImage.cpp:
3775         * platform/graphics/BitmapImage.h:
3776         * platform/graphics/Color.cpp:
3777         * platform/graphics/Color.h:
3778         * platform/graphics/CrossfadeGeneratedImage.cpp:
3779         * platform/graphics/CrossfadeGeneratedImage.h:
3780         * platform/graphics/DashArray.h:
3781         * platform/graphics/DisplayRefreshMonitor.cpp:
3782         * platform/graphics/DisplayRefreshMonitor.h:
3783         * platform/graphics/FloatPoint.cpp:
3784         * platform/graphics/FloatPoint.h:
3785         * platform/graphics/FloatQuad.cpp:
3786         * platform/graphics/FloatQuad.h:
3787         * platform/graphics/FloatRect.cpp:
3788         * platform/graphics/FloatRect.h:
3789         * platform/graphics/FloatSize.cpp:
3790         * platform/graphics/FloatSize.h:
3791         * platform/graphics/FontBaseline.h:
3792         * platform/graphics/FontCache.cpp:
3793         * platform/graphics/FontCache.h:
3794         * platform/graphics/FontData.cpp:
3795         * platform/graphics/FontData.h:
3796         * platform/graphics/FontDescription.cpp:
3797         * platform/graphics/FontFeatureSettings.cpp:
3798         * platform/graphics/FontFeatureSettings.h:
3799         * platform/graphics/FontGlyphs.cpp:
3800         * platform/graphics/FontOrientation.h:
3801         * platform/graphics/FontRenderingMode.h:
3802         * platform/graphics/FontSelector.h:
3803         * platform/graphics/FontWidthVariant.h:
3804         * platform/graphics/FormatConverter.cpp:
3805         * platform/graphics/FormatConverter.h:
3806         * platform/graphics/GeneratedImage.h:
3807         * platform/graphics/Glyph.h:
3808         * platform/graphics/GlyphBuffer.h:
3809         * platform/graphics/GlyphMetricsMap.h:
3810         * platform/graphics/GlyphPage.h:
3811         * platform/graphics/GlyphPageTreeNode.cpp:
3812         * platform/graphics/GlyphPageTreeNode.h:
3813         * platform/graphics/Gradient.cpp:
3814         * platform/graphics/Gradient.h:
3815         * platform/graphics/GradientImage.h:
3816         * platform/graphics/GraphicsContext.h:
3817         * platform/graphics/GraphicsContext3D.cpp:
3818         * platform/graphics/GraphicsContext3D.h:
3819         * platform/graphics/GraphicsLayer.cpp:
3820         * platform/graphics/GraphicsLayer.h:
3821         * platform/graphics/GraphicsLayerClient.h:
3822         * platform/graphics/GraphicsTypes.cpp:
3823         * platform/graphics/GraphicsTypes.h:
3824         * platform/graphics/GraphicsTypes3D.h:
3825         * platform/graphics/Image.cpp:
3826         * platform/graphics/Image.h:
3827         * platform/graphics/ImageBuffer.cpp:
3828         * platform/graphics/ImageBuffer.h:
3829         * platform/graphics/ImageBufferData.h:
3830         * platform/graphics/ImageObserver.h:
3831         * platform/graphics/ImageSource.cpp:
3832         * platform/graphics/ImageSource.h:
3833         * platform/graphics/InbandTextTrackPrivate.h:
3834         * platform/graphics/InbandTextTrackPrivateClient.h:
3835         * platform/graphics/IntPoint.cpp:
3836         * platform/graphics/IntPoint.h:
3837         * platform/graphics/IntSize.cpp:
3838         * platform/graphics/IntSize.h:
3839         * platform/graphics/MediaPlayer.cpp:
3840         * platform/graphics/MediaPlayer.h:
3841         * platform/graphics/MediaPlayerPrivate.h:
3842         * platform/graphics/MediaSourcePrivateClient.h:
3843         * platform/graphics/NativeImagePtr.h:
3844         * platform/graphics/OpenGLESShims.h:
3845         * platform/graphics/Path.cpp:
3846         * platform/graphics/Path.h:
3847         * platform/graphics/PathTraversalState.h:
3848         * platform/graphics/Pattern.cpp:
3849         * platform/graphics/Pattern.h:
3850         * platform/graphics/PlatformLayer.h:
3851         * platform/graphics/PlatformTimeRanges.cpp:
3852         * platform/graphics/PlatformTimeRanges.h:
3853         * platform/graphics/SegmentedFontData.cpp:
3854         * platform/graphics/SegmentedFontData.h:
3855         * platform/graphics/ShadowBlur.cpp:
3856         * platform/graphics/ShadowBlur.h:
3857         * platform/graphics/SimpleFontData.cpp:
3858         * platform/graphics/SourceBufferPrivateClient.h:
3859         * platform/graphics/StringTruncator.cpp:
3860         * platform/graphics/StringTruncator.h:
3861         * platform/graphics/TrackPrivateBase.h:
3862         * platform/graphics/VideoTrackPrivate.h:
3863         * platform/graphics/WindRule.h:
3864         * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h:
3865         * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
3866         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
3867         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
3868         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
3869         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
3870         * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h:
3871         * platform/graphics/avfoundation/cf/CoreMediaSoftLinking.h:
3872         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
3873         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
3874         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp:
3875         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
3876         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
3877         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
3878         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp:
3879         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
3880         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
3881         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
3882         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
3883         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm:
3884         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
3885         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
3886         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
3887         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
3888         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
3889         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
3890         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
3891         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
3892         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
3893         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm:
3894         * platform/graphics/ca/GraphicsLayerCA.cpp:
3895         * platform/graphics/ca/GraphicsLayerCA.h:
3896         * platform/graphics/ca/LayerFlushScheduler.cpp:
3897         * platform/graphics/ca/LayerFlushScheduler.h:
3898         * platform/graphics/ca/LayerFlushSchedulerClient.h:
3899         * platform/graphics/ca/PlatformCAAnimation.h:
3900         * platform/graphics/ca/PlatformCAFilters.h:
3901         * platform/graphics/ca/PlatformCALayer.cpp:
3902         * platform/graphics/ca/PlatformCALayer.h:
3903         * platform/graphics/ca/PlatformCALayerClient.h:
3904         * platform/graphics/ca/TransformationMatrixCA.cpp:
3905         * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
3906         * platform/graphics/ca/mac/LayerPool.mm:
3907         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
3908         * platform/graphics/ca/mac/PlatformCAFiltersMac.h:
3909         * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
3910         * platform/graphics/ca/mac/PlatformCALayerMac.h:
3911         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
3912         * platform/graphics/ca/mac/WebTiledBackingLayer.h:
3913         * platform/graphics/ca/mac/WebTiledBackingLayer.mm:
3914         * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h:
3915         * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
3916         * platform/graphics/ca/win/CACFLayerTreeHost.h:
3917         * platform/graphics/ca/win/CACFLayerTreeHostClient.h:
3918         * platform/graphics/ca/win/LayerChangesFlusher.cpp:
3919         * platform/graphics/ca/win/LayerChangesFlusher.h:
3920         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp:
3921         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
3922         * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
3923         * platform/graphics/ca/win/PlatformCAFiltersWin.cpp:
3924         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
3925         * platform/graphics/ca/win/PlatformCALayerWin.h:
3926         * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
3927         * platform/graphics/ca/win/PlatformCALayerWinInternal.h:
3928         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
3929         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
3930         * platform/graphics/cairo/BitmapImageCairo.cpp:
3931         * platform/graphics/cairo/CairoUtilities.cpp:
3932         * platform/graphics/cairo/CairoUtilities.h:
3933         * platform/graphics/cairo/DrawingBufferCairo.cpp:
3934         * platform/graphics/cairo/FloatRectCairo.cpp:
3935         * platform/graphics/cairo/FontCairo.cpp:
3936         * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
3937         * platform/graphics/cairo/GradientCairo.cpp:
3938         * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
3939         * platform/graphics/cairo/GraphicsContextCairo.cpp:
3940         * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
3941         * platform/graphics/cairo/ImageBufferCairo.cpp:
3942         * platform/graphics/cairo/ImageBufferDataCairo.h:
3943         * platform/graphics/cairo/ImageCairo.cpp:
3944         * platform/graphics/cairo/PatternCairo.cpp:
3945         * platform/graphics/cairo/PlatformContextCairo.cpp:
3946         * platform/graphics/cairo/PlatformContextCairo.h:
3947         * platform/graphics/cairo/TransformationMatrixCairo.cpp:
3948         * platform/graphics/cg/BitmapImageCG.cpp:
3949         * platform/graphics/cg/ColorCG.cpp:
3950         * platform/graphics/cg/FloatPointCG.cpp:
3951         * platform/graphics/cg/FloatRectCG.cpp:
3952         * platform/graphics/cg/FloatSizeCG.cpp:
3953         * platform/graphics/cg/GradientCG.cpp:
3954         * platform/graphics/cg/GraphicsContext3DCG.cpp:
3955         * platform/graphics/cg/GraphicsContextCG.cpp:
3956         * platform/graphics/cg/GraphicsContextCG.h:
3957         * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
3958         * platform/graphics/cg/ImageBufferCG.cpp:
3959         * platform/graphics/cg/ImageBufferDataCG.cpp:
3960         * platform/graphics/cg/ImageBufferDataCG.h:
3961         * platform/graphics/cg/ImageCG.cpp:
3962         * platform/graphics/cg/ImageSourceCG.cpp:
3963         * platform/graphics/cg/IntPointCG.cpp:
3964         * platform/graphics/cg/IntRectCG.cpp:
3965         * platform/graphics/cg/IntSizeCG.cpp:
3966         * platform/graphics/cg/PDFDocumentImage.cpp:
3967         * platform/graphics/cg/PDFDocumentImage.h:
3968         * platform/graphics/cg/PathCG.cpp:
3969         * platform/graphics/cg/PatternCG.cpp:
3970         * platform/graphics/cg/TransformationMatrixCG.cpp:
3971         * platform/graphics/efl/IconEfl.cpp:
3972         * platform/graphics/efl/ImageEfl.cpp:
3973         * platform/graphics/filters/FilterOperation.cpp:
3974         * platform/graphics/filters/FilterOperation.h:
3975         * platform/graphics/filters/FilterOperations.cpp:
3976         * platform/graphics/filters/FilterOperations.h:
3977         * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
3978         * platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp:
3979         * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
3980         * platform/graphics/gpu/mac/DrawingBufferMac.mm:
3981         * platform/graphics/gtk/GdkCairoUtilities.cpp:
3982         * platform/graphics/gtk/GdkCairoUtilities.h:
3983         * platform/graphics/gtk/IconGtk.cpp:
3984         * platform/graphics/gtk/ImageGtk.cpp:
3985         * platform/graphics/ios/DisplayRefreshMonitorIOS.mm:
3986         * platform/graphics/ios/FontCacheIOS.mm:
3987         * platform/graphics/ios/GraphicsContext3DIOS.h:
3988         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
3989         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.mm:
3990         * platform/graphics/ios/MediaPlayerPrivateIOS.h:
3991         * platform/graphics/ios/MediaPlayerPrivateIOS.mm:
3992         * platform/graphics/mac/ColorMac.h:
3993         * platform/graphics/mac/ColorMac.mm:
3994         * platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
3995         * platform/graphics/mac/FloatPointMac.mm:
3996         * platform/graphics/mac/FloatRectMac.mm:
3997         * platform/graphics/mac/FloatSizeMac.mm:
3998         * platform/graphics/mac/FontCacheMac.mm:
3999         * platform/graphics/mac/FontCustomPlatformData.h:
4000         * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
4001         * platform/graphics/mac/GraphicsContext3DMac.mm:
4002         * platform/graphics/mac/GraphicsContextMac.mm:
4003         * platform/graphics/mac/ImageMac.mm:
4004         * platform/graphics/mac/IntPointMac.mm:
4005         * platform/graphics/mac/IntRectMac.mm:
4006         * platform/graphics/mac/IntSizeMac.mm:
4007         * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
4008         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
4009         * platform/graphics/mac/MediaPlayerProxy.h:
4010         * platform/graphics/mac/WebCoreCALayerExtras.h:
4011         * platform/graphics/mac/WebCoreCALayerExtras.mm:
4012         * platform/graphics/mac/WebGLLayer.h:
4013         * platform/graphics/mac/WebGLLayer.mm:
4014         * platform/graphics/mac/WebLayer.h:
4015         * platform/graphics/mac/WebLayer.mm:
4016         * platform/graphics/mac/WebTiledLayer.h:
4017         * platform/graphics/mac/WebTiledLayer.mm:
4018         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
4019         * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
4020         * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
4021         * platform/graphics/opentype/OpenTypeUtilities.cpp:
4022         * platform/graphics/opentype/OpenTypeUtilities.h:
4023         * platform/graphics/transforms/AffineTransform.cpp:
4024         * platform/graphics/transforms/AffineTransform.h:
4025         * platform/graphics/transforms/Matrix3DTransformOperation.cpp: