Run clang-modernize and let it add a bunch of missing overrides in WebCore/inspector
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-01-20  Joseph Pecoraro  <pecoraro@apple.com>
2
3         Run clang-modernize and let it add a bunch of missing overrides in WebCore/inspector
4         https://bugs.webkit.org/show_bug.cgi?id=127206
5
6         Reviewed by Anders Carlsson.
7
8         Let clang-modernize add overrides.
9
10         * inspector/DOMEditor.cpp:
11         * inspector/InspectorApplicationCacheAgent.h:
12         * inspector/InspectorCSSAgent.h:
13         * inspector/InspectorCanvasAgent.h:
14         * inspector/InspectorConsoleAgent.h:
15         * inspector/InspectorDOMAgent.h:
16         * inspector/InspectorDOMDebuggerAgent.h:
17         * inspector/InspectorDOMStorageAgent.h:
18         * inspector/InspectorDatabaseAgent.cpp:
19         * inspector/InspectorDatabaseAgent.h:
20         * inspector/InspectorDebuggerAgent.h:
21         * inspector/InspectorFrontendHost.cpp:
22         * inspector/InspectorHeapProfilerAgent.cpp:
23         (WebCore::InspectorHeapProfilerAgent::getHeapSnapshot):
24         (WebCore::InspectorHeapProfilerAgent::takeHeapSnapshot):
25         * inspector/InspectorHeapProfilerAgent.h:
26         * inspector/InspectorHistory.cpp:
27         * inspector/InspectorIndexedDBAgent.cpp:
28         * inspector/InspectorIndexedDBAgent.h:
29         * inspector/InspectorInputAgent.h:
30         * inspector/InspectorLayerTreeAgent.h:
31         * inspector/InspectorMemoryAgent.h:
32         * inspector/InspectorPageAgent.h:
33         * inspector/InspectorProfilerAgent.cpp:
34         * inspector/InspectorProfilerAgent.h:
35         * inspector/InspectorResourceAgent.h:
36         * inspector/InspectorRuntimeAgent.h:
37         * inspector/InspectorStyleSheet.h:
38         * inspector/InspectorTimelineAgent.h:
39         * inspector/InspectorWorkerAgent.cpp:
40         * inspector/InspectorWorkerAgent.h:
41         * inspector/PageConsoleAgent.h:
42         * inspector/PageDebuggerAgent.h:
43         * inspector/PageRuntimeAgent.h:
44         * inspector/WorkerConsoleAgent.h:
45         * inspector/WorkerDebuggerAgent.cpp:
46         * inspector/WorkerInspectorController.cpp:
47         * inspector/WorkerRuntimeAgent.h:
48
49 2014-01-20  Zan Dobersek  <zdobersek@igalia.com>
50
51         Move WebAudio source code to std::unique_ptr
52         https://bugs.webkit.org/show_bug.cgi?id=127274
53
54         Reviewed by Eric Carlson.
55
56         Move from using OwnPtr and PassOwnPtr to using std::unique_ptr and move semantics
57         in the WebAudio module and the WebAudio code in the platform layer.
58
59         * Modules/webaudio/AsyncAudioDecoder.cpp:
60         * Modules/webaudio/AsyncAudioDecoder.h:
61         * Modules/webaudio/AudioBasicInspectorNode.cpp:
62         (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode):
63         * Modules/webaudio/AudioBasicProcessorNode.cpp:
64         (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode):
65         * Modules/webaudio/AudioBasicProcessorNode.h:
66         * Modules/webaudio/AudioBufferSourceNode.cpp:
67         (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
68         * Modules/webaudio/AudioContext.cpp:
69         * Modules/webaudio/AudioContext.h:
70         * Modules/webaudio/AudioDestinationNode.cpp:
71         (WebCore::AudioDestinationNode::AudioDestinationNode):
72         * Modules/webaudio/AudioNode.cpp:
73         (WebCore::AudioNode::addInput):
74         (WebCore::AudioNode::addOutput):
75         (WebCore::AudioNode::checkNumberOfChannelsForInput):
76         * Modules/webaudio/AudioNode.h:
77         * Modules/webaudio/BiquadFilterNode.cpp:
78         (WebCore::BiquadFilterNode::BiquadFilterNode):
79         * Modules/webaudio/BiquadProcessor.cpp:
80         (WebCore::BiquadProcessor::createKernel):
81         (WebCore::BiquadProcessor::getFrequencyResponse):
82         * Modules/webaudio/BiquadProcessor.h:
83         * Modules/webaudio/ChannelMergerNode.cpp:
84         (WebCore::ChannelMergerNode::ChannelMergerNode):
85         * Modules/webaudio/ChannelSplitterNode.cpp:
86         (WebCore::ChannelSplitterNode::ChannelSplitterNode):
87         * Modules/webaudio/ConvolverNode.cpp:
88         (WebCore::ConvolverNode::ConvolverNode):
89         (WebCore::ConvolverNode::uninitialize):
90         (WebCore::ConvolverNode::setBuffer):
91         * Modules/webaudio/ConvolverNode.h:
92         * Modules/webaudio/DefaultAudioDestinationNode.h:
93         * Modules/webaudio/DelayNode.cpp:
94         (WebCore::DelayNode::DelayNode):
95         * Modules/webaudio/DelayProcessor.cpp:
96         (WebCore::DelayProcessor::createKernel):
97         * Modules/webaudio/DelayProcessor.h:
98         * Modules/webaudio/DynamicsCompressorNode.cpp:
99         (WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
100         (WebCore::DynamicsCompressorNode::initialize):
101         (WebCore::DynamicsCompressorNode::uninitialize):
102         * Modules/webaudio/DynamicsCompressorNode.h:
103         * Modules/webaudio/GainNode.cpp:
104         (WebCore::GainNode::GainNode):
105         * Modules/webaudio/MediaElementAudioSourceNode.cpp:
106         (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
107         (WebCore::MediaElementAudioSourceNode::setFormat):
108         * Modules/webaudio/MediaElementAudioSourceNode.h:
109         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
110         * Modules/webaudio/MediaStreamAudioSource.cpp:
111         * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
112         (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
113         * Modules/webaudio/MediaStreamAudioSourceNode.h:
114         * Modules/webaudio/OscillatorNode.cpp:
115         (WebCore::OscillatorNode::OscillatorNode):
116         * Modules/webaudio/PannerNode.cpp:
117         (WebCore::PannerNode::PannerNode):
118         (WebCore::PannerNode::uninitialize):
119         (WebCore::PannerNode::setPanningModel):
120         * Modules/webaudio/PannerNode.h:
121         * Modules/webaudio/PeriodicWave.cpp:
122         (WebCore::PeriodicWave::createBandLimitedTables):
123         * Modules/webaudio/PeriodicWave.h:
124         * Modules/webaudio/RealtimeAnalyser.cpp:
125         (WebCore::RealtimeAnalyser::RealtimeAnalyser):
126         (WebCore::RealtimeAnalyser::setFftSize):
127         * Modules/webaudio/RealtimeAnalyser.h:
128         * Modules/webaudio/ScriptProcessorNode.cpp:
129         (WebCore::ScriptProcessorNode::ScriptProcessorNode):
130         * Modules/webaudio/WaveShaperDSPKernel.cpp:
131         (WebCore::WaveShaperDSPKernel::lazyInitializeOversampling):
132         * Modules/webaudio/WaveShaperDSPKernel.h:
133         * Modules/webaudio/WaveShaperNode.cpp:
134         (WebCore::WaveShaperNode::WaveShaperNode):
135         * Modules/webaudio/WaveShaperProcessor.cpp:
136         (WebCore::WaveShaperProcessor::createKernel):
137         * Modules/webaudio/WaveShaperProcessor.h:
138         * platform/audio/AudioBus.cpp:
139         (WebCore::AudioBus::AudioBus):
140         (WebCore::AudioBus::copyWithGainFrom):
141         * platform/audio/AudioBus.h:
142         * platform/audio/AudioChannel.cpp:
143         * platform/audio/AudioChannel.h:
144         (WebCore::AudioChannel::AudioChannel):
145         (WebCore::AudioChannel::set):
146         * platform/audio/AudioDSPKernelProcessor.h:
147         * platform/audio/AudioDestination.h:
148         * platform/audio/AudioResampler.cpp:
149         (WebCore::AudioResampler::AudioResampler):
150         (WebCore::AudioResampler::configureChannels):
151         * platform/audio/AudioResampler.h:
152         * platform/audio/AudioSession.h:
153         * platform/audio/DynamicsCompressor.cpp:
154         (WebCore::DynamicsCompressor::setNumberOfChannels):
155         * platform/audio/DynamicsCompressor.h:
156         * platform/audio/DynamicsCompressorKernel.cpp:
157         (WebCore::DynamicsCompressorKernel::setNumberOfChannels):
158         * platform/audio/DynamicsCompressorKernel.h:
159         * platform/audio/FFTFrame.cpp:
160         (WebCore::FFTFrame::createInterpolatedFrame):
161         * platform/audio/FFTFrame.h:
162         * platform/audio/HRTFDatabase.cpp:
163         (WebCore::HRTFDatabase::HRTFDatabase):
164         * platform/audio/HRTFDatabase.h:
165         * platform/audio/HRTFDatabaseLoader.cpp:
166         (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
167         (WebCore::HRTFDatabaseLoader::load):
168         * platform/audio/HRTFDatabaseLoader.h:
169         * platform/audio/HRTFElevation.cpp:
170         (WebCore::HRTFElevation::createForSubject):
171         (WebCore::HRTFElevation::createByInterpolatingSlices):
172         * platform/audio/HRTFElevation.h:
173         (WebCore::HRTFElevation::HRTFElevation):
174         * platform/audio/HRTFKernel.cpp:
175         (WebCore::HRTFKernel::HRTFKernel):
176         (WebCore::HRTFKernel::createImpulseResponse):
177         (WebCore::HRTFKernel::createInterpolatedKernel):
178         * platform/audio/HRTFKernel.h:
179         (WebCore::HRTFKernel::create):
180         (WebCore::HRTFKernel::HRTFKernel):
181         * platform/audio/MultiChannelResampler.cpp:
182         (WebCore::MultiChannelResampler::MultiChannelResampler):
183         * platform/audio/MultiChannelResampler.h:
184         * platform/audio/Panner.cpp:
185         (WebCore::Panner::create):
186         * platform/audio/Panner.h:
187         * platform/audio/Reverb.cpp:
188         (WebCore::Reverb::initialize):
189         * platform/audio/Reverb.h:
190         * platform/audio/ReverbConvolver.h:
191         * platform/audio/ReverbConvolverStage.cpp:
192         (WebCore::ReverbConvolverStage::ReverbConvolverStage):
193         * platform/audio/ReverbConvolverStage.h:
194         * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
195         (WebCore::AudioDestination::create):
196         * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
197         * platform/audio/ios/AudioDestinationIOS.cpp:
198         (WebCore::AudioDestination::create):
199         * platform/audio/ios/AudioSessionIOS.mm:
200         (WebCore::AudioSession::AudioSession):
201         * platform/audio/mac/AudioDestinationMac.cpp:
202         (WebCore::AudioDestination::create):
203         * platform/audio/mac/AudioDestinationMac.h:
204         * platform/audio/mac/AudioSessionMac.cpp:
205         (WebCore::AudioSession::AudioSession):
206
207 2014-01-20  Morten Stenshorne  <mstensho@opera.com>
208
209         Region based multicol: support explicit column breaks
210         https://bugs.webkit.org/show_bug.cgi?id=123993
211
212         Reviewed by David Hyatt.
213
214         Merely supporting insertion of explicit (forced) column breaks in
215         the region based multicol implementation is really simple: just
216         hook up with what the CSS regions code is already doing.
217
218         However, there is one complication: column balancing. In order to
219         balance columns as nicely as possible when there are explicit
220         breaks, we need to figure out between which explicit breaks the
221         implicit breaks will occur (if there's room for any at all).
222
223         Tests: fast/multicol/newmulticol/break-after.html
224                fast/multicol/newmulticol/break-before.html
225                fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html
226                fast/multicol/newmulticol/breaks-2-columns-3.html
227                fast/multicol/newmulticol/breaks-3-columns-3.html
228                fast/multicol/newmulticol/fixed-height-fill-balance-2.html
229
230         * rendering/RenderBlockFlow.cpp:
231         (WebCore::RenderBlockFlow::applyBeforeBreak):
232         (WebCore::RenderBlockFlow::applyAfterBreak): Use the already
233         existing region breaking code when inserting breaks in region
234         based multicol.
235         * rendering/RenderFlowThread.h:
236         * rendering/RenderMultiColumnBlock.cpp:
237         (WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
238         (WebCore::RenderMultiColumnBlock::relayoutForPagination): Avoid
239         re-balancing if the multicol's contents were not laid out. Apart
240         from being good for performance, this is now necessary because of
241         how explicit breaks are implemented.
242         (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild):
243         Detect if the contents are going to be laid out, or skipped, so
244         that we can tell if we need to (re-)balance the columns
245         afterwards.
246         * rendering/RenderMultiColumnBlock.h:
247         * rendering/RenderMultiColumnFlowThread.cpp:
248         (WebCore::RenderMultiColumnFlowThread::addForcedRegionBreak):
249         Locate the appropriate multi-column set and call its
250         addForcedBreak().
251         * rendering/RenderMultiColumnFlowThread.h:
252         * rendering/RenderMultiColumnSet.cpp:
253         (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
254         (WebCore::RenderMultiColumnSet::findRunWithTallestColumns):
255         (WebCore::RenderMultiColumnSet::distributeImplicitBreaks): Figure
256         out how many implicit breaks each single "content run" should
257         contain. The taller the content run, the more implicit breaks.
258         (WebCore::RenderMultiColumnSet::calculateBalancedHeight): This is
259         now a const method that only does half of what the old
260         calculateBalancedHeight() did. The rest (such as actually storing
261         the new column height) is done by recalculateBalancedHeight().
262         (WebCore::RenderMultiColumnSet::clearForcedBreaks): Needs to be
263         called between each layout pass, to clear the list of "content
264         runs".
265         (WebCore::RenderMultiColumnSet::addForcedBreak): Only useful when
266         columns are to be balanced. It receives explicit (forced) breaks
267         and stores them as "content runs". When layout is done, we'll go
268         through the list of content runs, and see where implicit breaks
269         should be inserted (if there's room for any). The goal is to
270         insert implicit breaks in such a way that the final columns become
271         as short as possible.
272         (WebCore::RenderMultiColumnSet::recalculateBalancedHeight):
273         Calculates and sets a new balanced column height. This used to be
274         done directly in calculateBalancedHeight(), but that method is now
275         const and it now only calculates the new height and returns it.
276         (WebCore::RenderMultiColumnSet::prepareForLayout):
277         * rendering/RenderMultiColumnSet.h: Remove old data members
278         intended for forced breaks (they were unused), and introduce a
279         "content run" vector instead. A new content run is triggered by an
280         explicit break. This is only used when column balancing is
281         enabled. When not balanced, RenderMultiColumnSet doesn't need to
282         do anything when explicit breaks are inserted.
283
284 2014-01-20  Eric Carlson  <eric.carlson@apple.com>
285
286         Allow MediaSessionManager to restrict 'preload' behavior
287         https://bugs.webkit.org/show_bug.cgi?id=127297
288
289         Reviewed by Jer Noble.
290
291         Tests: media/video-restricted-no-preload-auto.html
292                media/video-restricted-no-preload-metadata.html
293
294         * html/HTMLMediaElement.cpp:
295         (WebCore::HTMLMediaElement::parseAttribute): Apply restrictions to preload attribute before
296             passing to media engine.
297         (WebCore::HTMLMediaElement::loadResource): Ditto.
298
299         * html/HTMLMediaSession.cpp:
300         (WebCore::HTMLMediaSession::effectivePreloadForElement): New, limit preload according to restrictions.
301         * html/HTMLMediaSession.h:
302
303         * platform/audio/MediaSessionManager.h:
304         * platform/audio/ios/MediaSessionManagerIOS.mm:
305         (WebCore::MediaSessionManageriOS::resetRestrictions): Limit preload to metadata only. Drive-by
306             static deviceClass initialization cleanup.
307
308         * testing/Internals.cpp:
309         (WebCore::Internals::setMediaSessionRestrictions): Support MetadataPreloadingNotPermitted and
310             AutoPreloadingNotPermitted.
311
312 2014-01-20  Andreas Kling  <akling@apple.com>
313
314         Let RenderImage construct its RenderImageResource.
315         <https://webkit.org/b/127290>
316
317         Everyone who creates a RenderImage immediately follows up with
318         creating a RenderImageResource and assigning it to the image.
319
320         Let the RenderImage constructor do this instead, and make the
321         imageResource() accessors return references. This exposed a
322         number of unnecessary null checks.
323
324         Also modernized the touched code with std::unique_ptr.
325
326         Reviewed by Antti Koivisto.
327
328         * html/HTMLImageElement.cpp:
329         (WebCore::HTMLImageElement::createElementRenderer):
330         (WebCore::HTMLImageElement::didAttachRenderers):
331         * html/HTMLPlugInImageElement.cpp:
332         (WebCore::HTMLPlugInImageElement::createElementRenderer):
333         * html/HTMLVideoElement.cpp:
334         (WebCore::HTMLVideoElement::didAttachRenderers):
335         (WebCore::HTMLVideoElement::parseAttribute):
336         * html/ImageInputType.cpp:
337         (WebCore::ImageInputType::createInputRenderer):
338         (WebCore::ImageInputType::attach):
339         * loader/ImageLoader.cpp:
340         (WebCore::ImageLoader::renderImageResource):
341         * rendering/RenderElement.cpp:
342         (WebCore::RenderElement::createFor):
343         * rendering/RenderImage.cpp:
344         (WebCore::RenderImage::RenderImage):
345         (WebCore::RenderImage::~RenderImage):
346         (WebCore::RenderImage::styleDidChange):
347         (WebCore::RenderImage::imageChanged):
348         (WebCore::RenderImage::updateIntrinsicSizeIfNeeded):
349         (WebCore::RenderImage::updateInnerContentRect):
350         (WebCore::RenderImage::imageDimensionsChanged):
351         (WebCore::RenderImage::notifyFinished):
352         (WebCore::RenderImage::paintReplaced):
353         (WebCore::RenderImage::paintIntoRect):
354         (WebCore::RenderImage::foregroundIsKnownToBeOpaqueInRect):
355         (WebCore::RenderImage::minimumReplacedHeight):
356         (WebCore::RenderImage::computeIntrinsicRatioInformation):
357         (WebCore::RenderImage::embeddedContentBox):
358         * rendering/RenderImage.h:
359         (WebCore::RenderImage::imageResource):
360         (WebCore::RenderImage::cachedImage):
361         * rendering/RenderImageResource.h:
362         * rendering/RenderImageResourceStyleImage.h:
363         * rendering/RenderMedia.cpp:
364         (WebCore::RenderMedia::RenderMedia):
365         * rendering/RenderSnapshottedPlugIn.cpp:
366         (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
367         * rendering/RenderSnapshottedPlugIn.h:
368         * rendering/RenderVideo.cpp:
369         (WebCore::RenderVideo::calculateIntrinsicSize):
370         * rendering/style/ContentData.cpp:
371         (WebCore::ImageContentData::createContentRenderer):
372         * rendering/svg/RenderSVGImage.cpp:
373         (WebCore::RenderSVGImage::RenderSVGImage):
374         (WebCore::RenderSVGImage::~RenderSVGImage):
375         (WebCore::RenderSVGImage::updateImageViewport):
376         (WebCore::RenderSVGImage::paint):
377         (WebCore::RenderSVGImage::paintForeground):
378         * rendering/svg/RenderSVGImage.h:
379         * svg/SVGImageElement.cpp:
380         (WebCore::SVGImageElement::didAttachRenderers):
381
382 2014-01-20  Antti Koivisto  <antti@apple.com>
383
384         Update overlay scrollbars in single pass
385         https://bugs.webkit.org/show_bug.cgi?id=127289
386
387         Reviewed by Anders Carlsson.
388
389         * platform/ScrollView.cpp:
390         (WebCore::ScrollView::updateScrollbars):
391         
392             Multi-pass scrollbar resolution is only needed for traditional scrollbars. Overlay scrollbars don't affect layout.
393
394 2014-01-20  Jochen Eisinger  <jochen@chromium.org>
395
396         Never send a non-http(s) referrer header even with a referrer policy
397         https://bugs.webkit.org/show_bug.cgi?id=127172
398
399         Reviewed by Alexey Proskuryakov.
400
401         This mirrors the code SecurityPolicy::shouldHideReferrer which is used
402         for ReferrerPolicyDefault.
403
404         No new tests, only affects an embedder that registers other schemes,
405         e.g. chrome://
406
407         * page/SecurityPolicy.cpp:
408         (WebCore::SecurityPolicy::generateReferrerHeader):
409
410 2014-01-20  Mihai Tica  <mitica@adobe.com>
411
412         [CSS Background Blending] Background layer with -webkit-cross-fade doesn't blend
413         when having -webkit-background-blending applied. Turns out the problem was
414         the blending parameter not being passed to WebCore::CrossfadeGeneratedImage::draw
415
416         https://bugs.webkit.org/show_bug.cgi?id=126887
417
418         Reviewed by Dirk Schulze.
419
420         Test: css3/compositing/background-blend-mode-crossfade-image.html
421
422         * platform/graphics/CrossfadeGeneratedImage.cpp:
423         (WebCore::CrossfadeGeneratedImage::draw): set blendMode on context.
424
425 2013-11-22  Sergio Villar Senin  <svillar@igalia.com>
426
427         Null-pointer dereference in WebCore::CSSValue::isPrimitiveValue
428         https://bugs.webkit.org/show_bug.cgi?id=124769
429
430         Reviewed by Andreas Kling.
431
432         Test: fast/gradients/crash-on-no-position-separator.html
433
434         The function parseFillPosition() may not return valid values for
435         centerX and centerY if the input data is malformed. We need to
436         check that we get a valid pair of positions before checking that
437         they're actually valid primitive values in the assertions.
438
439         * css/CSSParser.cpp:
440         (WebCore::CSSParser::parseRadialGradient):
441
442 2014-01-20  Mihai Tica  <mitica@adobe.com>
443
444         Background-blend-mode doesn't work for an element with an
445         SVG image as background and border-style or padding set.
446         The problem consisted in the drawing path using the default
447         blending parameter at all times.
448         https://bugs.webkit.org/show_bug.cgi?id=118894
449
450         Reviewed by Dirk Schulze.
451
452         Test: css3/compositing/background-blend-mode-data-uri-svg-image.html
453
454         * svg/graphics/SVGImage.cpp:
455         (WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
456         * svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
457         * svg/graphics/SVGImageForContainer.cpp:
458         (WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.
459
460 2014-01-20  Zalan Bujtas  <zalan@apple.com>
461
462         Subpixel layout: setSimpleLineLayoutEnabled() produces different layout when line position has CSS px fractions.
463         https://bugs.webkit.org/show_bug.cgi?id=126892
464
465         Reviewed by Antti Koivisto.
466
467         SimpleLineLayout needs to copy normal linebox layout's subpixel rounding strategy to produce
468         the same layout.
469
470         Covered by existing tests.
471
472         * rendering/SimpleLineLayoutFunctions.cpp:
473         (WebCore::SimpleLineLayout::paintFlow):
474
475 2014-01-20  Gurpreet Kaur  <k.gurpreet@samsung.com>
476
477         Col width is not honored when dynamically updated and it would make table narrower
478         https://bugs.webkit.org/show_bug.cgi?id=104711
479
480         Reviewed by Antti Koivisto.
481
482         Increasing the table width by increasing the colgroup width
483         was working but decreasing the table width by decreasing the
484         colgroup width is not working.
485
486         Test: fast/dom/HTMLTableColElement/resize-table-width-using-col-width.html
487
488         * rendering/RenderTableCol.cpp:
489         (WebCore::RenderTableCol::styleDidChange):
490         When colgroup width is defined table cell should adjust according to
491         that. On decreasing colgroup width the cells maxPreferredLogicalWidth
492         was still set to the earlier value. Setting the
493         setPreferredLogicalWidthsDirty to true so that cells pref width is
494         calculated again.
495
496 2014-01-20  Edit Balint  <edbalint@inf.u-szeged.hu>
497
498         [CoordinatedGraphics] Segmentation fault at  CoordinatedGraphicsScene::clearImageBackingContents
499
500         https://bugs.webkit.org/show_bug.cgi?id=125776
501
502         Reviewed by Csaba Osztrogonác.
503
504         Unexpected behavior occurs in some test cases which leads to segmentation fault.
505
506         * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
507         (WebCore::CompositingCoordinator::removeImageBacking):
508
509 2014-01-20  Morten Stenshorne  <mstensho@opera.com>
510
511         Region based multicol: tall line causes taller multicol container than necessary
512         https://bugs.webkit.org/show_bug.cgi?id=122550
513
514         Detect and report all column breaks, also when there's no pagination strut involved.
515
516         This may end up becoming the overall smallest space shortage in some cases,
517         so we need to report it, to avoid column height over-stretching.
518
519         Reviewed by David Hyatt.
520
521         Test: fast/multicol/newmulticol/balance10.html
522
523         * rendering/RenderBlockFlow.cpp:
524         (WebCore::RenderBlockFlow::adjustLinePositionForPagination):
525
526 2014-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
527
528         [GLIB] GVariant floating references are not correctly handled by GRefPtr
529         https://bugs.webkit.org/show_bug.cgi?id=127246
530
531         Reviewed by Martin Robinson.
532
533         Do not adopt GVariant floating references, they will be converted
534         to a full reference by GRefPtr.
535
536         * platform/gtk/PasteboardHelper.cpp:
537         (WebCore::PasteboardHelper::fillSelectionData):
538         (WebCore::PasteboardHelper::fillDataObjectFromDropData):
539
540 2014-01-19  Jinwoo Song  <jinwoo7.song@samsung.com>
541
542         Use unsigned type for the size of CSSParserValueList
543         https://bugs.webkit.org/show_bug.cgi?id=127211
544
545         Reviewed by Andreas Kling.
546
547         * css/CSSParser.cpp: Changed variable type from int to unsigned.
548         (WebCore::CSSParser::parseValue):
549
550 2014-01-19  Jaehun Lim  <ljaehun.lim@samsung.com>
551
552         Unreviewed build fix after r162293
553
554         Fix debug build.
555
556         [ 13%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o
557         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp: In member function ‘void WebCore::HTMLTreeBuilder::processStartTagForInTable(WebCore::AtomicHTMLToken*)’:
558         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: error: no match for ‘operator!’ in ‘!(WebCore::HTMLTreeBuilder::InsertionMode)12’
559         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: candidate is:
560         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: operator!(bool) <built-in>
561         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note:   no known conversion for argument 1 from ‘WebCore::HTMLTreeBuilder::InsertionMode’ to ‘bool’
562         make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o] Error 1
563         make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
564         make: *** [all] Error 2
565
566         * html/parser/HTMLTreeBuilder.cpp:
567         (WebCore::HTMLTreeBuilder::processStartTagForInTable): Fix ASSERT.
568
569 2014-01-19  Anders Carlsson  <andersca@apple.com>
570
571         Stop using MutexTryLocker in WebCore
572         https://bugs.webkit.org/show_bug.cgi?id=127254
573
574         Reviewed by Andreas Kling.
575
576         Instead use std::mutex and std::unique_lock with the std::try_to_lock constructor.
577
578         * Modules/webaudio/AudioBufferSourceNode.cpp:
579         (WebCore::AudioBufferSourceNode::process):
580         (WebCore::AudioBufferSourceNode::setBuffer):
581         * Modules/webaudio/AudioBufferSourceNode.h:
582         * Modules/webaudio/AudioParamTimeline.cpp:
583         (WebCore::AudioParamTimeline::insertEvent):
584         (WebCore::AudioParamTimeline::cancelScheduledValues):
585         (WebCore::AudioParamTimeline::valueForContextTime):
586         (WebCore::AudioParamTimeline::valuesForTimeRange):
587         (WebCore::AudioParamTimeline::valuesForTimeRangeImpl):
588         * Modules/webaudio/AudioParamTimeline.h:
589         * Modules/webaudio/ConvolverNode.cpp:
590         (WebCore::ConvolverNode::process):
591         (WebCore::ConvolverNode::reset):
592         (WebCore::ConvolverNode::setBuffer):
593         * Modules/webaudio/ConvolverNode.h:
594         * Modules/webaudio/MediaElementAudioSourceNode.cpp:
595         (WebCore::MediaElementAudioSourceNode::setFormat):
596         (WebCore::MediaElementAudioSourceNode::process):
597         (WebCore::MediaElementAudioSourceNode::lock):
598         (WebCore::MediaElementAudioSourceNode::unlock):
599         * Modules/webaudio/MediaElementAudioSourceNode.h:
600         * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
601         (WebCore::MediaStreamAudioSourceNode::setFormat):
602         (WebCore::MediaStreamAudioSourceNode::process):
603         * Modules/webaudio/MediaStreamAudioSourceNode.h:
604         * Modules/webaudio/OscillatorNode.cpp:
605         (WebCore::OscillatorNode::process):
606         (WebCore::OscillatorNode::setPeriodicWave):
607         * Modules/webaudio/OscillatorNode.h:
608         * Modules/webaudio/PannerNode.cpp:
609         (WebCore::PannerNode::process):
610         (WebCore::PannerNode::setPanningModel):
611         * Modules/webaudio/PannerNode.h:
612         * Modules/webaudio/WaveShaperProcessor.cpp:
613         (WebCore::WaveShaperProcessor::setCurve):
614         (WebCore::WaveShaperProcessor::setOversample):
615         (WebCore::WaveShaperProcessor::process):
616         * Modules/webaudio/WaveShaperProcessor.h:
617
618 2014-01-19  Alberto Garcia  <berto@igalia.com>
619
620         Does not build with SVG disabled
621         https://bugs.webkit.org/show_bug.cgi?id=127248
622
623         Reviewed by Sam Weinig.
624
625         Add missing #if ENABLE(SVG) guard.
626
627         * dom/ElementData.h:
628
629 2014-01-19  Anders Carlsson  <andersca@apple.com>
630
631         Use a strong enum for HTMLTreeBuilder::InsertionMode
632         https://bugs.webkit.org/show_bug.cgi?id=127252
633
634         Reviewed by Antti Koivisto.
635
636         * html/parser/HTMLTreeBuilder.cpp:
637         (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
638         (WebCore::HTMLTreeBuilder::constructTree):
639         (WebCore::HTMLTreeBuilder::processDoctypeToken):
640         (WebCore::HTMLTreeBuilder::processStartTagForInBody):
641         (WebCore::HTMLTreeBuilder::processTemplateStartTag):
642         (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
643         (WebCore::HTMLTreeBuilder::closeTheCell):
644         (WebCore::HTMLTreeBuilder::processStartTagForInTable):
645         (WebCore::HTMLTreeBuilder::processStartTag):
646         (WebCore::HTMLTreeBuilder::processBodyEndTagForInBody):
647         (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
648         (WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
649         (WebCore::HTMLTreeBuilder::processEndTagForInRow):
650         (WebCore::HTMLTreeBuilder::processEndTagForInCell):
651         (WebCore::HTMLTreeBuilder::processCaptionEndTagForInCaption):
652         (WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
653         (WebCore::HTMLTreeBuilder::processEndTag):
654         (WebCore::HTMLTreeBuilder::processComment):
655         (WebCore::HTMLTreeBuilder::processCharacterBuffer):
656         (WebCore::HTMLTreeBuilder::processEndOfFile):
657         (WebCore::HTMLTreeBuilder::defaultForInitial):
658         (WebCore::HTMLTreeBuilder::defaultForBeforeHTML):
659         (WebCore::HTMLTreeBuilder::processStartTagForInHead):
660         (WebCore::HTMLTreeBuilder::processGenericRCDATAStartTag):
661         (WebCore::HTMLTreeBuilder::processGenericRawTextStartTag):
662         (WebCore::HTMLTreeBuilder::processScriptStartTag):
663         * html/parser/HTMLTreeBuilder.h:
664
665 2014-01-19  Anders Carlsson  <andersca@apple.com>
666
667         Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading primitives
668         https://bugs.webkit.org/show_bug.cgi?id=127251
669
670         Reviewed by Antti Koivisto.
671
672         Also add a condition to the loaderRunLoop() function to protect against spurious wake-ups.
673
674         * platform/ios/wak/WebCoreThreadRun.cpp:
675         * platform/network/cf/LoaderRunLoopCF.cpp:
676         (WebCore::loaderRunLoopMutex):
677         (WebCore::loaderRunLoopConditionVariable):
678         (WebCore::runLoaderThread):
679         (WebCore::loaderRunLoop):
680
681 2014-01-19  Anders Carlsson  <andersca@apple.com>
682
683         Modernize ReverbConvolver
684         https://bugs.webkit.org/show_bug.cgi?id=127250
685
686         Reviewed by Andreas Kling.
687
688         Use std::unique_ptr instead of OwnPtr and the STL threading primitives instead of the WTF ones.
689
690         * platform/audio/ReverbConvolver.cpp:
691         (WebCore::ReverbConvolver::ReverbConvolver):
692         (WebCore::ReverbConvolver::~ReverbConvolver):
693         (WebCore::ReverbConvolver::backgroundThreadEntry):
694         (WebCore::ReverbConvolver::process):
695         * platform/audio/ReverbConvolver.h:
696
697 2014-01-18  Andy Estes  <aestes@apple.com>
698
699         [iOS] Rename GestureEventIOS.{cpp,h} to GestureEvent.{cpp,h} to fix the build
700
701         InFilesCompiler.pm assumes that <interface name>.h exists for each
702         interface it processes. We renamed GestureEvent.h to GestureEventIOS.h
703         but kept the interface named GestureEvent, so a non-existant file was
704         being referenced by InFilesCompiler.pm (this was hard to detect since
705         GestureEvent.h still existed in the SDK due to not having submitted
706         WebKitAdditions recently).
707
708         Since we cannot rename the GestureEvent interface, and since there is
709         no conflicting GestureEvent in open source, we can just rename
710         GestureEventIOS.{cpp,h} back to GestureEvent.{cpp,h}.
711
712         * dom/ios/TouchEvents.cpp: Updated to include GestureEvent.cpp.
713
714 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
715
716         Memory leak in JSSubtleCrypto::wrapKey
717         https://bugs.webkit.org/show_bug.cgi?id=127241
718
719         Reviewed by Sam Weinig.
720
721         * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::wrapKey):
722         Delete algorithmPtr and parametersPtr that aren't smart pointers because of lambdas.
723
724 2014-01-18  Andy Estes  <aestes@apple.com>
725
726         Fix the iOS Production build.
727
728         * Configurations/WebCore.xcconfig:
729
730 2014-01-18  Alberto Garcia  <berto@igalia.com>
731
732         [CodeGeneratorJS] Sort output of StructureFlags and function parameters
733
734         https://bugs.webkit.org/show_bug.cgi?id=127226
735
736         Reviewed by Alexey Proskuryakov.
737
738         The order of the keys in a hash is undefined and subject to change
739         between different Perl versions, so we have to sort them to make
740         sure that the output is always the same.
741
742         * bindings/scripts/CodeGeneratorJS.pm:
743         (GenerateHeader):
744         (GenerateParametersCheckExpression):
745         * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
746         * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
747         * bindings/scripts/test/JS/JSTestEventConstructor.h:
748         * bindings/scripts/test/JS/JSTestEventTarget.h:
749         * bindings/scripts/test/JS/JSTestException.h:
750         * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
751         * bindings/scripts/test/JS/JSTestInterface.h:
752         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
753         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
754         * bindings/scripts/test/JS/JSTestNode.h:
755         * bindings/scripts/test/JS/JSTestObj.cpp:
756         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
757         * bindings/scripts/test/JS/JSTestObj.h:
758         * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
759         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
760         * bindings/scripts/test/JS/JSTestTypedefs.h:
761         * bindings/scripts/test/JS/JSattribute.h:
762         * bindings/scripts/test/JS/JSreadonly.h:
763
764 2014-01-18  Anders Carlsson  <andersca@apple.com>
765
766         Replace a couple of uses of WTF::Function with std::function
767         https://bugs.webkit.org/show_bug.cgi?id=127218
768
769         Reviewed by Andreas Kling.
770
771         * WebCore.exp.in:
772         * page/scrolling/ScrollingThread.cpp:
773         (WebCore::ScrollingThread::dispatch):
774         (WebCore::ScrollingThread::dispatchBarrier):
775         (WebCore::ScrollingThread::shared):
776         (WebCore::ScrollingThread::createThreadIfNeeded):
777         (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
778         * page/scrolling/ScrollingThread.h:
779         * page/scrolling/mac/ScrollingThreadMac.mm:
780         (WebCore::ScrollingThread::initializeRunLoop):
781
782 2014-01-18  Anders Carlsson  <andersca@apple.com>
783
784         Modernize HTML parser code
785         https://bugs.webkit.org/show_bug.cgi?id=127236
786
787         Reviewed by Andreas Kling.
788
789         * html/parser/AtomicHTMLToken.h:
790         * html/parser/CSSPreloadScanner.cpp:
791         (WebCore::CSSPreloadScanner::emitRule):
792         * html/parser/HTMLDocumentParser.cpp:
793         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
794         (WebCore::HTMLDocumentParser::detach):
795         (WebCore::HTMLDocumentParser::stopParsing):
796         (WebCore::HTMLDocumentParser::pumpTokenizer):
797         (WebCore::HTMLDocumentParser::insert):
798         (WebCore::HTMLDocumentParser::append):
799         (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
800         * html/parser/HTMLDocumentParser.h:
801         * html/parser/HTMLElementStack.cpp:
802         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
803         (WebCore::HTMLElementStack::insertAbove):
804         (WebCore::HTMLElementStack::pushCommon):
805         * html/parser/HTMLElementStack.h:
806         (WebCore::HTMLElementStack::ElementRecord::releaseNext):
807         (WebCore::HTMLElementStack::ElementRecord::setNext):
808         * html/parser/HTMLMetaCharsetParser.cpp:
809         (WebCore::HTMLMetaCharsetParser::HTMLMetaCharsetParser):
810         * html/parser/HTMLMetaCharsetParser.h:
811         * html/parser/HTMLParserScheduler.h:
812         * html/parser/HTMLPreloadScanner.cpp:
813         (WebCore::TokenPreloadScanner::StartTagScanner::createPreloadRequest):
814         (WebCore::TokenPreloadScanner::scan):
815         (WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
816         * html/parser/HTMLPreloadScanner.h:
817         * html/parser/HTMLResourcePreloader.cpp:
818         (WebCore::HTMLResourcePreloader::takeAndPreload):
819         (WebCore::HTMLResourcePreloader::preload):
820         * html/parser/HTMLResourcePreloader.h:
821         (WebCore::PreloadRequest::PreloadRequest):
822         * html/parser/HTMLScriptRunner.h:
823         * html/parser/HTMLToken.h:
824         (WebCore::HTMLToken::beginDOCTYPE):
825         (WebCore::HTMLToken::releaseDoctypeData):
826         * html/parser/HTMLTokenizer.h:
827         * html/parser/HTMLTreeBuilder.h:
828         * html/parser/HTMLViewSourceParser.cpp:
829         (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
830         * html/parser/HTMLViewSourceParser.h:
831         * html/parser/XSSAuditor.cpp:
832         (WebCore::XSSAuditor::init):
833         (WebCore::XSSAuditor::filterToken):
834         * html/parser/XSSAuditor.h:
835         * html/parser/XSSAuditorDelegate.h:
836         (WebCore::XSSInfo::XSSInfo):
837         * loader/TextResourceDecoder.cpp:
838         (WebCore::TextResourceDecoder::checkForHeadCharset):
839         (WebCore::TextResourceDecoder::checkForMetaCharset):
840         * loader/TextResourceDecoder.h:
841
842 2014-01-18  Benjamin Poulain  <benjamin@webkit.org>
843
844         Make ElementData JIT friendly
845         https://bugs.webkit.org/show_bug.cgi?id=127209
846
847         Reviewed by Geoffrey Garen.
848
849         The offsets of ElementData's flags were not accessible by the JIT. This patch
850         refactor ElementData to use explicit flags so that they can be used from
851         the code generators.
852
853         * dom/Element.cpp:
854         (WebCore::Element::synchronizeAllAttributes):
855         (WebCore::Element::synchronizeAttribute):
856         (WebCore::Element::attributeChanged):
857         (WebCore::Element::removeAttribute):
858         * dom/ElementData.cpp:
859         (WebCore::ElementData::destroy):
860         (WebCore::ElementData::ElementData):
861         (WebCore::ShareableElementData::ShareableElementData):
862         (WebCore::ShareableElementData::~ShareableElementData):
863         (WebCore::ElementData::arraySizeAndFlagsFromOther):
864         * dom/ElementData.h:
865         (WebCore::ElementData::hasName):
866         (WebCore::ElementData::isUnique):
867         (WebCore::ElementData::updateFlag):
868         (WebCore::ElementData::arraySize):
869         (WebCore::ElementData::setHasNameAttribute):
870         (WebCore::ElementData::styleAttributeIsDirty):
871         (WebCore::ElementData::setStyleAttributeIsDirty):
872         (WebCore::ElementData::presentationAttributeStyleIsDirty):
873         (WebCore::ElementData::setPresentationAttributeStyleIsDirty):
874         (WebCore::ElementData::animatedSVGAttributesAreDirty):
875         (WebCore::ElementData::setAnimatedSVGAttributesAreDirty):
876         (WebCore::ElementData::length):
877         (WebCore::ElementData::attributeBase):
878         (WebCore::ElementData::presentationAttributeStyle):
879         * dom/StyledElement.cpp:
880         (WebCore::StyledElement::synchronizeStyleAttributeInternal):
881         (WebCore::StyledElement::attributeChanged):
882         (WebCore::StyledElement::styleAttributeChanged):
883         (WebCore::StyledElement::inlineStyleChanged):
884         (WebCore::StyledElement::rebuildPresentationAttributeStyle):
885         * dom/StyledElement.h:
886         (WebCore::StyledElement::invalidateStyleAttribute):
887         (WebCore::StyledElement::presentationAttributeStyle):
888         * svg/SVGElement.cpp:
889         (WebCore::SVGElement::synchronizeAnimatedSVGAttribute):
890         * svg/SVGElement.h:
891         (WebCore::SVGElement::invalidateSVGAttributes):
892
893 2014-01-18  Zalan Bujtas  <zalan@apple.com>
894
895         Subpixel layout: IntRect::infiniteRect() overflows when subpixel layout is enabled.
896         https://bugs.webkit.org/show_bug.cgi?id=126899
897
898         Reviewed by Tim Horton.
899
900         Use LayoutUnits when setting the infinite values on IntRect::infiniteRect() to ensure
901         it won't overflow later when the IntRect gets converted to LayoutRect.
902
903         Covered by existing tests.
904
905         * platform/graphics/IntRect.h:
906         (WebCore::IntRect::infiniteRect):
907
908 2014-01-18  Anders Carlsson  <andersca@apple.com>
909
910         Remove support for the viewsource attribute
911         https://bugs.webkit.org/show_bug.cgi?id=127232
912
913         Reviewed by Andreas Kling.
914
915         The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
916         its own syntax highlighting) and not audited.
917
918         This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
919         patch will remove the code as well.
920
921         * html/HTMLFrameElementBase.cpp:
922         (WebCore::HTMLFrameElementBase::parseAttribute):
923
924 2014-01-18  Anders Carlsson  <andersca@apple.com>
925
926         XMLTreeViewer shouldn't use the view source mode
927         https://bugs.webkit.org/show_bug.cgi?id=127229
928
929         Reviewed by Andreas Kling.
930
931         Add the relevant styles from view-source.css to XMLViewer.css.
932
933         * xml/XMLTreeViewer.cpp:
934         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
935         * xml/XMLViewer.css:
936         (body):
937         (.comment):
938         (.tag):
939         (.attribute-name):
940         (.attribute-value):
941         * xml/XMLViewer.js:
942         (createComment):
943         (createTag):
944         (createAttribute):
945
946 2014-01-18  Andreas Kling  <akling@apple.com>
947
948         Remove unused "touchDragDropEnabled" setting.
949         <https://webkit.org/b/127227>
950
951         Reviewed by Sam Weinig.
952
953         * page/Settings.in:
954
955 2014-01-18  Brian Burg  <bburg@apple.com>
956
957         Web Inspector: Page should use std::unique_ptr for InspectorController
958         https://bugs.webkit.org/show_bug.cgi?id=127068
959
960         Reviewed by Joseph Pecoraro.
961
962         Make Page and WorkerGlobalScope keep a std::unique_ptr to InspectorController
963         and WorkerInspectorController. Store page references and return controller
964         references where possible.
965
966         Convert call sites to use an InspectorController reference.
967         Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
968         Convert InspectorOverlay to keep Page references.
969
970         * WebCore.exp.in:
971         * bindings/js/JSDOMWindowBase.cpp:
972         (WebCore::JSDOMWindowBase::supportsProfiling):
973         (WebCore::JSDOMWindowBase::supportsRichSourceInfo):
974         * dom/Node.cpp:
975         (WebCore::Node::inspect):
976         * inspector/InspectorController.cpp:
977         (WebCore::InspectorController::InspectorController):
978         (WebCore::InspectorController::inspectedPageDestroyed):
979         (WebCore::InspectorController::setInspectorFrontendClient):
980         (WebCore::InspectorController::hasInspectorFrontendClient):
981         (WebCore::InspectorController::connectFrontend):
982         (WebCore::InspectorController::disconnectFrontend):
983         (WebCore::InspectorController::inspectedPage):
984         (WebCore::InspectorController::developerExtrasEnabled):
985         * inspector/InspectorController.h:
986         * inspector/InspectorFrontendClientLocal.cpp:
987         (WebCore::InspectorFrontendClientLocal::canAttachWindow):
988         (WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
989         (WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
990         (WebCore::InspectorFrontendClientLocal::openInNewTab):
991         (WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
992         * inspector/InspectorOverlay.cpp:
993         (WebCore::InspectorOverlay::InspectorOverlay):
994         (WebCore::InspectorOverlay::getHighlight):
995         (WebCore::InspectorOverlay::highlightQuad):
996         (WebCore::InspectorOverlay::update):
997         (WebCore::InspectorOverlay::buildObjectForHighlightedNode):
998         (WebCore::InspectorOverlay::drawQuadHighlight):
999         (WebCore::InspectorOverlay::overlayPage):
1000         (WebCore::InspectorOverlay::reset):
1001         * inspector/InspectorOverlay.h:
1002         * inspector/InstrumentingAgents.cpp:
1003         (WebCore::instrumentationForPage): remove null checks.
1004         (WebCore::instrumentationForWorkerGlobalScope): remove null checks.
1005         * inspector/WorkerInspectorController.cpp:
1006         (WebCore::WorkerInspectorController::WorkerInspectorController):
1007         (WebCore::WorkerInspectorController::connectFrontend):
1008         (WebCore::WorkerInspectorController::disconnectFrontend):
1009         * inspector/WorkerInspectorController.h:
1010         * loader/FrameLoader.cpp:
1011         (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
1012         (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
1013         * page/ContextMenuController.cpp:
1014         (WebCore::ContextMenuController::showContextMenu):
1015         (WebCore::ContextMenuController::contextMenuItemSelected):
1016         (WebCore::ContextMenuController::populate):
1017         (WebCore::ContextMenuController::addInspectElementItem):
1018         * page/FrameView.cpp:
1019         (WebCore::FrameView::sendResizeEventIfNeeded):
1020         * page/Page.cpp:
1021         (WebCore::Page::Page):
1022         * page/Page.h:
1023         (WebCore::Page::inspectorController):
1024         * page/PageDebuggable.cpp:
1025         (WebCore::PageDebuggable::hasLocalDebugger):
1026         (WebCore::PageDebuggable::parentProcessIdentifier):
1027         (WebCore::PageDebuggable::connect):
1028         (WebCore::PageDebuggable::disconnect):
1029         (WebCore::PageDebuggable::dispatchMessageFromRemoteFrontend):
1030         (WebCore::PageDebuggable::setIndicating):
1031         * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
1032         (WebCore::CompositingCoordinator::syncDisplayState):
1033         * testing/Internals.cpp:
1034         (WebCore::Internals::resetToConsistentState):
1035         (WebCore::Internals::inspectorHighlightRects):
1036         (WebCore::Internals::inspectorHighlightObject):
1037         (WebCore::Internals::emitInspectorDidBeginFrame):
1038         (WebCore::Internals::emitInspectorDidCancelFrame):
1039         (WebCore::Internals::openDummyInspectorFrontend):
1040         (WebCore::Internals::closeDummyInspectorFrontend):
1041         (WebCore::Internals::setInspectorResourcesDataSizeLimits):
1042         (WebCore::Internals::setJavaScriptProfilingEnabled):
1043         * workers/WorkerGlobalScope.cpp:
1044         (WebCore::WorkerGlobalScope::WorkerGlobalScope):
1045         * workers/WorkerGlobalScope.h: remove clearInspector(). 
1046         (WebCore::WorkerGlobalScope::workerInspectorController):
1047         * workers/WorkerMessagingProxy.cpp:
1048         (WebCore::connectToWorkerGlobalScopeInspectorTask):
1049         (WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
1050         (WebCore::dispatchOnInspectorBackendTask):
1051         * workers/WorkerThread.cpp:
1052         (WebCore::WorkerThreadShutdownFinishTask::performTask):
1053
1054 2014-01-18  Anders Carlsson  <andersca@apple.com>
1055
1056         Remove ENABLE_THREADED_HTML_PARSER defines everywhere
1057         https://bugs.webkit.org/show_bug.cgi?id=127225
1058
1059         Reviewed by Andreas Kling.
1060
1061         This concludes the removal of over 8.8 million lines of threaded parser code.
1062
1063         * Configurations/FeatureDefines.xcconfig:
1064
1065 2014-01-18  Anders Carlsson  <andersca@apple.com>
1066
1067         Remove the remaining threaded parser code
1068         https://bugs.webkit.org/show_bug.cgi?id=127224
1069
1070         Reviewed by Andreas Kling.
1071
1072         * dom/Document.cpp:
1073         (WebCore::Document::decrementActiveParserCount):
1074         * html/parser/AtomicHTMLToken.h:
1075         * html/parser/HTMLDocumentParser.cpp:
1076         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1077         (WebCore::HTMLDocumentParser::detach):
1078         (WebCore::HTMLDocumentParser::stopParsing):
1079         (WebCore::HTMLDocumentParser::prepareToStopParsing):
1080         (WebCore::HTMLDocumentParser::resumeParsingAfterYield):
1081         (WebCore::HTMLDocumentParser::forcePlaintextForTextDocument):
1082         (WebCore::HTMLDocumentParser::insert):
1083         (WebCore::HTMLDocumentParser::append):
1084         (WebCore::HTMLDocumentParser::end):
1085         (WebCore::HTMLDocumentParser::finish):
1086         (WebCore::HTMLDocumentParser::textPosition):
1087         (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
1088         * html/parser/HTMLDocumentParser.h:
1089         * html/parser/HTMLParserIdioms.cpp:
1090         * html/parser/HTMLParserIdioms.h:
1091         * html/parser/HTMLTokenizer.cpp:
1092         * html/parser/HTMLTokenizer.h:
1093         * loader/DocumentLoader.cpp:
1094         (WebCore::DocumentLoader::isLoading):
1095         (WebCore::DocumentLoader::checkLoadComplete):
1096         * page/Settings.in:
1097
1098 2014-01-18  Anders Carlsson  <andersca@apple.com>
1099
1100         Remove threaded parser code from the preload scanners
1101         https://bugs.webkit.org/show_bug.cgi?id=127222
1102
1103         Reviewed by Andreas Kling.
1104
1105         * html/parser/CSSPreloadScanner.cpp:
1106         (WebCore::CSSPreloadScanner::CSSPreloadScanner):
1107         Use nullptr.
1108
1109         (WebCore::CSSPreloadScanner::scan):
1110         Move scanCommon here and simplify the code.
1111
1112         * html/parser/CSSPreloadScanner.h:
1113         Remove scanCommon.
1114
1115         * html/parser/HTMLPreloadScanner.cpp:
1116         (WebCore::TokenPreloadScanner::tagIdFor):
1117         TagId is a strong enum now, update enum values.
1118
1119         (WebCore::TokenPreloadScanner::initiatorFor):
1120         Ditto.
1121
1122         (WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
1123         Ditto.
1124
1125         (WebCore::TokenPreloadScanner::StartTagScanner::match):
1126         Indent this.
1127
1128         (WebCore::TokenPreloadScanner::StartTagScanner::processAttribute):
1129         TagId is a strong enum now, update enum values.
1130
1131         (WebCore::TokenPreloadScanner::StartTagScanner::charset):
1132         Ditto.
1133
1134         (WebCore::TokenPreloadScanner::StartTagScanner::resourceType):
1135         Ditto.
1136
1137         (WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload):
1138         Ditto.
1139
1140         (WebCore::TokenPreloadScanner::scan):
1141         Merge scan and scanCommon.
1142
1143         * html/parser/HTMLPreloadScanner.h:
1144
1145 2014-01-18  Lauro Neto  <lauro.neto@openbossa.org>
1146
1147         Remove Nix files from WebCore
1148         https://bugs.webkit.org/show_bug.cgi?id=127176
1149
1150         Reviewed by Anders Carlsson.
1151
1152         * PlatformNix.cmake: Removed.
1153         * css/mediaControlsNix.css: Removed.
1154         * css/mediaControlsNixFullscreen.css: Removed.
1155         * editing/nix/EditorNix.cpp: Removed.
1156         * page/nix/EventHandlerNix.cpp: Removed.
1157         * platform/audio/nix/AudioBusNix.cpp: Removed.
1158         * platform/audio/nix/AudioDestinationNix.cpp: Removed.
1159         * platform/audio/nix/AudioDestinationNix.h: Removed.
1160         * platform/audio/nix/FFTFrameNix.cpp: Removed.
1161         * platform/graphics/nix/IconNix.cpp: Removed.
1162         * platform/graphics/nix/ImageNix.cpp: Removed.
1163         * platform/nix/CursorNix.cpp: Removed.
1164         * platform/nix/DragDataNix.cpp: Removed.
1165         * platform/nix/DragImageNix.cpp: Removed.
1166         * platform/nix/ErrorsNix.cpp: Removed.
1167         * platform/nix/ErrorsNix.h: Removed.
1168         * platform/nix/FileSystemNix.cpp: Removed.
1169         * platform/nix/GamepadsNix.cpp: Removed.
1170         * platform/nix/LanguageNix.cpp: Removed.
1171         * platform/nix/LocalizedStringsNix.cpp: Removed.
1172         * platform/nix/MIMETypeRegistryNix.cpp: Removed.
1173         * platform/nix/NixKeyboardUtilities.cpp: Removed.
1174         * platform/nix/NixKeyboardUtilities.h: Removed.
1175         * platform/nix/PasteboardNix.cpp: Removed.
1176         * platform/nix/PlatformKeyboardEventNix.cpp: Removed.
1177         * platform/nix/PlatformScreenNix.cpp: Removed.
1178         * platform/nix/RenderThemeNix.cpp: Removed.
1179         * platform/nix/RenderThemeNix.h: Removed.
1180         * platform/nix/ScrollbarThemeNix.cpp: Removed.
1181         * platform/nix/ScrollbarThemeNix.h: Removed.
1182         * platform/nix/SharedTimerNix.cpp: Removed.
1183         * platform/nix/SoundNix.cpp: Removed.
1184         * platform/nix/TemporaryLinkStubs.cpp: Removed.
1185         * platform/nix/WidgetNix.cpp: Removed.
1186         * platform/nix/support/MultiChannelPCMData.cpp: Removed.
1187         * platform/text/nix/TextBreakIteratorInternalICUNix.cpp: Removed.
1188
1189 2014-01-18  Anders Carlsson  <andersca@apple.com>
1190
1191         Remove DocumentParser::pinToMainThread() and related code
1192         https://bugs.webkit.org/show_bug.cgi?id=127221
1193
1194         Reviewed by Andreas Kling.
1195
1196         * dom/Document.cpp:
1197         (WebCore::Document::setContent):
1198         * dom/DocumentParser.h:
1199         * html/parser/HTMLDocumentParser.cpp:
1200         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1201         * html/parser/HTMLDocumentParser.h:
1202         * html/parser/HTMLParserOptions.cpp:
1203         (WebCore::HTMLParserOptions::HTMLParserOptions):
1204         * html/parser/HTMLParserOptions.h:
1205         * html/parser/HTMLTreeBuilder.cpp:
1206         (WebCore::HTMLTreeBuilder::processEndTag):
1207         * loader/DocumentWriter.cpp:
1208         (WebCore::DocumentWriter::replaceDocument):
1209
1210 2014-01-18  Anders Carlsson  <andersca@apple.com>
1211
1212         Remove HTMLParserThread
1213         https://bugs.webkit.org/show_bug.cgi?id=127220
1214
1215         Reviewed by Andreas Kling.
1216
1217         * CMakeLists.txt:
1218         * GNUmakefile.list.am:
1219         * WebCore.vcxproj/WebCore.vcxproj:
1220         * WebCore.vcxproj/WebCore.vcxproj.filters:
1221         * WebCore.xcodeproj/project.pbxproj:
1222         * html/parser/HTMLDocumentParser.cpp:
1223         * html/parser/HTMLParserThread.cpp: Removed.
1224         * html/parser/HTMLParserThread.h: Removed.
1225
1226 2014-01-17  Andreas Kling  <akling@apple.com>
1227
1228         GC soon after responding to fake memory pressure.
1229         <https://webkit.org/b/127210>
1230
1231         Ask JSC to garbage collect "soon" after handling the fake memory
1232         pressure signal on Mac. This seems to stabilize the post-pressure
1233         numbers on Membuster3 a bit on my laptop. The difference is mostly
1234         made up of JSC::CodeBlock objects.
1235
1236         Reviewed by Geoffrey Garen.
1237
1238         * platform/mac/MemoryPressureHandlerMac.mm:
1239         (WebCore::MemoryPressureHandler::install):
1240
1241 2014-01-18  Anders Carlsson  <andersca@apple.com>
1242
1243         Remove files only used by the threaded HTML parser
1244         https://bugs.webkit.org/show_bug.cgi?id=127219
1245         <rdar://problem/13331277>
1246
1247         Reviewed by Andreas Kling.
1248
1249         * CMakeLists.txt:
1250         * GNUmakefile.list.am:
1251         * WebCore.vcxproj/WebCore.vcxproj:
1252         * WebCore.vcxproj/WebCore.vcxproj.filters:
1253         * WebCore.xcodeproj/project.pbxproj:
1254         * html/parser/AtomicHTMLToken.h:
1255         * html/parser/BackgroundHTMLInputStream.cpp: Removed.
1256         * html/parser/BackgroundHTMLInputStream.h: Removed.
1257         * html/parser/BackgroundHTMLParser.cpp: Removed.
1258         * html/parser/BackgroundHTMLParser.h: Removed.
1259         * html/parser/CompactHTMLToken.cpp: Removed.
1260         * html/parser/CompactHTMLToken.h: Removed.
1261         * html/parser/HTMLDocumentParser.cpp:
1262         * html/parser/HTMLDocumentParser.h:
1263         * html/parser/HTMLIdentifier.cpp: Removed.
1264         * html/parser/HTMLIdentifier.h: Removed.
1265         * html/parser/HTMLParserIdioms.h:
1266         * html/parser/HTMLPreloadScanner.h:
1267         * html/parser/HTMLTreeBuilderSimulator.cpp: Removed.
1268         * html/parser/HTMLTreeBuilderSimulator.h: Removed.
1269
1270 2014-01-17  Andreas Kling  <akling@apple.com>
1271
1272         Micro-optimize RenderBoxModelObject::computedCSSPadding().
1273         <https://webkit.org/b/127208>
1274
1275         Make computedCSSPadding() take the Length as a const reference
1276         to avoid creating a temporary copy. This was showing up (0.2%)
1277         on DoYouEvenBench.
1278
1279         Reviewed by Anders Carlsson.
1280
1281         * rendering/RenderBoxModelObject.h:
1282         * rendering/RenderBoxModelObject.cpp:
1283         (WebCore::RenderBoxModelObject::computedCSSPadding):
1284
1285 2014-01-17  Anders Carlsson  <andersca@apple.com>
1286
1287         Add a callOnMainThreadAndWait variant in SocketStreamHandle
1288         https://bugs.webkit.org/show_bug.cgi?id=127180
1289
1290         Reviewed by Geoffrey Garen.
1291
1292         WTF::callOnMainThreadAndWait was only used inside SocketStreamHandleCFNet.cpp, 
1293         so add an improved version there which is implemented in terms of callOnMainThread and
1294         with the bonus of handling spurious wake-ups correctly (the old version didn't).
1295
1296         * platform/network/cf/SocketStreamHandle.h:
1297         * platform/network/cf/SocketStreamHandleCFNet.cpp:
1298         (WebCore::callOnMainThreadAndWait):
1299         (WebCore::SocketStreamHandle::pacExecutionCallback):
1300         (WebCore::SocketStreamHandle::readStreamCallback):
1301         (WebCore::SocketStreamHandle::writeStreamCallback):
1302
1303 2014-01-17  Anders Carlsson  <andersca@apple.com>
1304
1305         Clean up PageCache classes
1306         https://bugs.webkit.org/show_bug.cgi?id=127202
1307
1308         Reviewed by Andreas Kling.
1309
1310         * WebCore.exp.in:
1311         * history/CachedFrame.cpp:
1312         (WebCore::CachedFrameBase::~CachedFrameBase):
1313         (WebCore::CachedFrame::CachedFrame):
1314         (WebCore::CachedFrame::clear):
1315         (WebCore::CachedFrame::setCachedFramePlatformData):
1316         * history/CachedFrame.h:
1317         * history/CachedPage.cpp:
1318         (WebCore::CachedPage::CachedPage):
1319         * history/CachedPage.h:
1320         * history/HistoryItem.h:
1321         (WebCore::HistoryItem::isInPageCache):
1322         * history/PageCache.cpp:
1323         (WebCore::PageCache::add):
1324         (WebCore::PageCache::take):
1325         (WebCore::PageCache::remove):
1326         * history/PageCache.h:
1327         * loader/FrameLoader.cpp:
1328         (WebCore::FrameLoader::commitProvisionalLoad):
1329         * loader/HistoryController.cpp:
1330         (WebCore::HistoryController::invalidateCurrentItemCachedPage):
1331
1332 2014-01-17  Andy Estes  <aestes@apple.com>
1333
1334         Work around a preprocessor warning in mediaControlsApple.js
1335         https://bugs.webkit.org/show_bug.cgi?id=127204
1336
1337         Reviewed by Dan Bernstein.
1338
1339         * Modules/mediacontrols/mediaControlsApple.js: Changed '' to String().
1340
1341 2014-01-17  Daniel Bates  <dabates@apple.com>
1342
1343         Fix the iOS build after <http://trac.webkit.org/changeset/162184>
1344         (https://bugs.webkit.org/show_bug.cgi?id=126856)
1345
1346         Remove symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(unsigned short const*, int).
1347         Add symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView).
1348
1349         * WebCore.exp.in:
1350
1351 2014-01-17  Andreas Kling  <akling@apple.com>
1352
1353         Remove unused TOUCH_ADJUSTMENT code.
1354         <https://webkit.org/b/127181>
1355
1356         There are no ports using the ENABLE(TOUCH_ADJUSTMENT) feature
1357         anymore, so nuke it from orbit.
1358
1359         Reviewed by Anders Carlsson.
1360
1361         * page/EventHandler.cpp:
1362         * page/EventHandler.h:
1363         * page/Settings.in:
1364         * page/TouchAdjustment.cpp: Removed.
1365         * page/TouchAdjustment.h: Removed.
1366         * testing/Internals.cpp:
1367         * testing/Internals.h:
1368         * testing/Internals.idl:
1369
1370 2014-01-17  Beth Dakin  <bdakin@apple.com>
1371
1372         Need a way to test the tile cache with margins enabled
1373         https://bugs.webkit.org/show_bug.cgi?id=127194
1374         -and corresponding-
1375         <rdar://problem/15571327>
1376
1377         Reviewed by Tim Horton.
1378
1379         This patch adds a new function to InternalSettings that will allow layout tests to 
1380         flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also         
1381         makes changing that setting take effect immediately. 
1382
1383         To make this setting dynamic, we can no longer generate the Setting function, so 
1384         we have to export the symbol manually.
1385         * WebCore.exp.in:
1386
1387         This new function on FrameView will call into RenderLayerBacking to add or remove 
1388         margins.
1389         * page/FrameView.cpp:
1390         (WebCore::FrameView::setBackgroundExtendsBeyondPage):
1391         * page/FrameView.h:
1392
1393         Again, we’re no longer using the boiler-plate generated Setting functions, so now 
1394         we can call into FrameView to make the background extend.
1395         * page/Settings.cpp:
1396         (WebCore::Settings::Settings):
1397         (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
1398         * page/Settings.h:
1399         (WebCore::Settings::backgroundShouldExtendBeyondPage):
1400         * page/Settings.in:
1401
1402         Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change 
1403         dynamic.
1404         * platform/graphics/ca/mac/TileController.mm:
1405         (WebCore::TileController::setTileMargins):
1406
1407         Move the call to TiledBacking::setTileMargins() into a helper function so that the 
1408         same code can be used for FrameView.
1409         * rendering/RenderLayerBacking.cpp:
1410         (WebCore::RenderLayerBacking::RenderLayerBacking):
1411         (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
1412         * rendering/RenderLayerBacking.h:
1413
1414         New InternalSetting.
1415         * testing/InternalSettings.cpp:
1416         (WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
1417         * testing/InternalSettings.h:
1418         * testing/InternalSettings.idl:
1419
1420 2014-01-17  Anders Carlsson  <andersca@apple.com>
1421
1422         Remove another unused FrameLoaderClient callback
1423         https://bugs.webkit.org/show_bug.cgi?id=127192
1424
1425         Reviewed by Dan Bernstein.
1426
1427         FrameLoaderClient::dispatchDocumentElementAvailable() was only used by the Chromium port, so remove it.
1428
1429         * html/ImageDocument.cpp:
1430         (WebCore::ImageDocument::createDocumentStructure):
1431         * html/MediaDocument.cpp:
1432         (WebCore::MediaDocumentParser::createDocumentStructure):
1433         * html/PluginDocument.cpp:
1434         (WebCore::PluginDocumentParser::createDocumentStructure):
1435         * html/parser/HTMLConstructionSite.cpp:
1436         (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
1437         * loader/EmptyClients.h:
1438         * loader/FrameLoader.cpp:
1439         * loader/FrameLoader.h:
1440         * loader/FrameLoaderClient.h:
1441         * xml/parser/XMLDocumentParserLibxml2.cpp:
1442         (WebCore::XMLDocumentParser::startElementNs):
1443
1444 2014-01-17  Anders Carlsson  <andersca@apple.com>
1445
1446         Remove FrameLoaderClient::didPerformFirstNavigation()
1447         https://bugs.webkit.org/show_bug.cgi?id=127191
1448
1449         Reviewed by Dan Bernstein.
1450
1451         * loader/EmptyClients.h:
1452         * loader/FrameLoader.cpp:
1453         (WebCore::FrameLoader::FrameLoader):
1454         * loader/FrameLoader.h:
1455         * loader/FrameLoaderClient.h:
1456         * loader/HistoryController.cpp:
1457         (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
1458
1459 2014-01-17  Anders Carlsson  <andersca@apple.com>
1460
1461         Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
1462         https://bugs.webkit.org/show_bug.cgi?id=127189
1463
1464         Reviewed by Dan Bernstein.
1465
1466         * loader/FrameLoaderClient.h:
1467         (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1468         Add an empty implementation of didPerformFirstNavigation() to make it easier to remove it from subclasses.
1469
1470 2014-01-17  Eric Carlson  <eric.carlson@apple.com>
1471
1472         [iOS] HTMLMediaSession should set AudioSession category
1473         https://bugs.webkit.org/show_bug.cgi?id=127137
1474
1475         Reviewed by Sam Weinig.
1476
1477         * html/HTMLMediaSession.cpp:
1478         (WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
1479         (WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.
1480
1481 2014-01-17  Daniel Bates  <dabates@apple.com>
1482
1483         Fix the iOS build after <http://trac.webkit.org/changeset/162178>
1484         (https://bugs.webkit.org/show_bug.cgi?id=127147)
1485
1486         Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
1487         "Objective-C declarations may only appear in global scope".
1488
1489         * platform/audio/ios/MediaSessionManagerIOS.mm:
1490
1491 2014-01-17  Bem Jones-Bey  <bjonesbe@adobe.com>
1492
1493         [CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
1494         https://bugs.webkit.org/show_bug.cgi?id=122576
1495
1496         Reviewed by David Hyatt.
1497
1498         Make inline content interact with stacked floats with shape-outside
1499         per the spec. This means that content can interact with floats on the
1500         line that are not the outermost float.
1501
1502         This refactors ComputeFloatOffsetAdapter into a superclass and two
1503         subclasses: one adaptor for determining the offset for float layout,
1504         and one for determining the offset for inline layout.
1505
1506         The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
1507         been updated to handle stacked floats with shape-outside properly and
1508         has been considerably simplified in the process. It was previously
1509         doing a whole bunch of unnecessary work.
1510
1511         Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
1512                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
1513                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html
1514
1515         * rendering/FloatingObjects.cpp:
1516         (WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
1517         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
1518         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
1519         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
1520         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
1521         (WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
1522         (WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
1523         (WebCore::FloatingObjects::logicalLeftOffset):
1524         (WebCore::FloatingObjects::logicalRightOffset):
1525         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
1526         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
1527         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
1528         (WebCore::shapeInfoForFloat):
1529         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
1530         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
1531         * rendering/line/LineWidth.cpp:
1532         (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
1533         * rendering/shapes/ShapeOutsideInfo.cpp:
1534         (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
1535         * rendering/shapes/ShapeOutsideInfo.h:
1536
1537 2014-01-17  Zoltan Horvath  <zoltan@webkit.org>
1538
1539         [CSS3] Add rendering support for -webkit-text-align-last
1540         https://bugs.webkit.org/show_bug.cgi?id=99584
1541
1542         Reviewed by David Hyatt.
1543
1544         Add support for the text-align-last CSS3 property, according to the latest specification:
1545         http://dev.w3.org/csswg/css-text-3/#text-align-last-property
1546
1547         Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
1548                fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html
1549
1550         * rendering/RenderBlockLineLayout.cpp:
1551         (WebCore::RenderBlockFlow::textAlignmentForLine):
1552         * rendering/style/RenderStyle.cpp:
1553         (WebCore::RenderStyle::changeRequiresLayout):
1554
1555 2014-01-17  Daniel Bates  <dabates@apple.com>
1556
1557         Fix the iOS build after <http://trac.webkit.org/changeset/162208>
1558         (https://bugs.webkit.org/show_bug.cgi?id=127139)
1559
1560         __MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
1561         check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.
1562
1563         * platform/network/cf/CookieJarCFNet.cpp:
1564
1565 2014-01-17  Bear Travis  <betravis@adobe.com>
1566
1567         [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
1568         https://bugs.webkit.org/show_bug.cgi?id=127010
1569
1570         Reviewed by Rob Buis.
1571
1572         This patch updates the computed position values used for blending to be a horizontal
1573         left offset and a vertical top offset. When positions include a center, bottom, or
1574         right position offset, it is converted to the appropriate top/left coordinate as
1575         a calc expression. Serialized values still use the original bottom/right directions
1576         when present, and also omit the top/left keywords where possible.
1577
1578         Updated parsing and animation tests.
1579
1580         * css/BasicShapeFunctions.cpp:
1581         (WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
1582         which includes an offset and whether the direction is from the top/left or bottom/right.
1583         (WebCore::valueForBasicShape): Ditto.
1584         (WebCore::convertToCenterCoordinate): Ditto.
1585         (WebCore::basicShapeForValue): Ditto.
1586         (WebCore::floatValueForCenterCoordinate): Ditto.
1587         * page/animation/CSSPropertyAnimation.cpp:
1588         (WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
1589         * rendering/style/BasicShapes.cpp:
1590         (WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
1591         position offset for this center coordinate.
1592         (WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
1593         (WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
1594         (WebCore::BasicShapeCircle::blend): Ditto.
1595         (WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
1596         (WebCore::BasicShapeEllipse::blend): Ditto.
1597         (WebCore::BasicShapePolygon::blend): Ditto.
1598         (WebCore::BasicShapeInsetRectangle::blend): Ditto.
1599         (WebCore::BasicShapeInset::blend): Ditto.
1600         * rendering/style/BasicShapes.h:
1601         (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
1602         BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
1603         computed length, which is an offset from the top/left direction.
1604         (WebCore::BasicShapeCenterCoordinate::direction):
1605         (WebCore::BasicShapeCenterCoordinate::computedLength):
1606         (WebCore::BasicShapeCenterCoordinate::blend):
1607
1608 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
1609
1610         More non-Mac build fix.
1611
1612         * platform/network/cf/CookieJarCFNet.cpp:
1613
1614 2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
1615
1616         Unprefix text-emphasis CSS properties
1617         https://bugs.webkit.org/show_bug.cgi?id=127160
1618
1619         Reviewed by Sam Weinig.
1620
1621         Add synonym CSS properties. We don't want to delete the old ones because
1622         we've shipped with them included.
1623
1624         Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
1625
1626         * css/CSSPropertyNames.in:
1627
1628 2014-01-17  Alberto Garcia  <berto@igalia.com>
1629
1630         [GTK] WebKitGtk/testcopyandpaste fails in debug builds
1631         https://bugs.webkit.org/show_bug.cgi?id=127173
1632
1633         Reviewed by Carlos Garcia Campos.
1634
1635         Remove duplicate "PasteGlobalSelection" entry.
1636
1637         * editing/EditorCommand.cpp:
1638         (WebCore::createCommandMap):
1639
1640 2014-01-14  Andreas Kling  <akling@apple.com>
1641
1642         Pack ResourceRequest harder.
1643         <https://webkit.org/b/126982>
1644
1645         Re-arrange the members of ResourceRequest to reduce padding,
1646         shrinking it by 8 bytes.
1647
1648         Reviewed by Anders Carlsson.
1649
1650         * platform/network/ResourceRequestBase.h:
1651         (WebCore::ResourceRequestBase::ResourceRequestBase):
1652
1653 2014-01-17  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1654
1655         Remove workaround for compilers not supporting deleted functions
1656         https://bugs.webkit.org/show_bug.cgi?id=127166
1657
1658         Reviewed by Andreas Kling.
1659
1660         * bindings/js/JSLazyEventListener.h:
1661         * dom/ContainerNode.h:
1662         * dom/Document.h:
1663         * dom/Element.h:
1664         * rendering/InlineFlowBox.h:
1665         * rendering/InlineTextBox.h:
1666         * rendering/RenderButton.h:
1667         * rendering/RenderCombineText.h:
1668         * rendering/RenderElement.h:
1669         * rendering/RenderFieldset.h:
1670         * rendering/RenderFileUploadControl.h:
1671         * rendering/RenderFrame.h:
1672         * rendering/RenderFrameBase.h:
1673         * rendering/RenderFrameSet.h:
1674         * rendering/RenderHTMLCanvas.h:
1675         * rendering/RenderIFrame.h:
1676         * rendering/RenderLineBreak.h:
1677         * rendering/RenderListBox.h:
1678         * rendering/RenderListMarker.h:
1679         * rendering/RenderMedia.h:
1680         * rendering/RenderMenuList.h:
1681         * rendering/RenderSnapshottedPlugIn.h:
1682         * rendering/RenderTableCell.h:
1683         * rendering/RenderTableRow.h:
1684         * rendering/RenderTableSection.h:
1685         * rendering/RenderText.h:
1686         * rendering/RenderTextControl.h:
1687         * rendering/RenderTextControlMultiLine.h:
1688         * rendering/RenderTextControlSingleLine.h:
1689         * rendering/RenderVideo.h:
1690         * rendering/RenderWidget.h:
1691         * rendering/svg/RenderSVGBlock.h:
1692         * rendering/svg/RenderSVGForeignObject.h:
1693         * rendering/svg/RenderSVGImage.h:
1694         * rendering/svg/RenderSVGInline.h:
1695         * rendering/svg/RenderSVGRect.h:
1696         * rendering/svg/RenderSVGResourceClipper.h:
1697         * rendering/svg/RenderSVGResourceFilter.h:
1698         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
1699         * rendering/svg/RenderSVGResourceGradient.h:
1700         * rendering/svg/RenderSVGResourceLinearGradient.h:
1701         * rendering/svg/RenderSVGResourceMarker.h:
1702         * rendering/svg/RenderSVGResourceMasker.h:
1703         * rendering/svg/RenderSVGResourcePattern.h:
1704         * rendering/svg/RenderSVGResourceRadialGradient.h:
1705         * rendering/svg/RenderSVGRoot.h:
1706         * rendering/svg/RenderSVGShape.h:
1707         * rendering/svg/RenderSVGTSpan.h:
1708         * rendering/svg/RenderSVGText.h:
1709         * rendering/svg/RenderSVGTextPath.h:
1710         * rendering/svg/RenderSVGTransformableContainer.h:
1711         * rendering/svg/RenderSVGViewportContainer.h:
1712         * xml/XPathValue.h:
1713
1714 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
1715
1716         [ATK] Modernize the for loops in ATK AX code
1717         https://bugs.webkit.org/show_bug.cgi?id=127120
1718
1719         Reviewed by Mario Sanchez Prada.
1720
1721         Update the for loops to be range-based in ATK accessibility code.
1722         This work is complementary to r161979.
1723
1724         * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
1725         (webkitAccessibleHypertextGetLink):
1726         * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
1727         (webkitAccessibleTableGetColumnHeader):
1728         (webkitAccessibleTableGetRowHeader):
1729         * accessibility/atk/WebKitAccessibleUtil.cpp:
1730         (accessibilityTitle):
1731         (accessibilityDescription):
1732         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
1733         (getNChildrenForTable):
1734         (getChildForTable):
1735         (getIndexInParentForCellInRow):
1736
1737 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
1738
1739         [Soup] Remove unnecessary using-directives for the std namespace
1740         https://bugs.webkit.org/show_bug.cgi?id=127122
1741
1742         Reviewed by Martin Robinson.
1743
1744         * platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
1745         as no symbols from that namespace are in use in this implementation file.
1746         * platform/network/soup/ResourceResponseSoup.cpp: Ditto.
1747
1748 2014-01-16  Tim Horton  <timothy_horton@apple.com>
1749
1750         On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
1751         https://bugs.webkit.org/show_bug.cgi?id=126531
1752         <rdar://problem/15745862>
1753
1754         Reviewed by Anders Carlsson.
1755
1756         * platform/graphics/ca/mac/TileController.h:
1757         * platform/graphics/ca/mac/TileController.mm:
1758         (WebCore::TileController::tilesWouldChangeForVisibleRect):
1759         (WebCore::TileController::scaledExposedRect):
1760         (WebCore::TileController::computeTileCoverageRect):
1761         (WebCore::TileController::revalidateTiles):
1762         (WebCore::TileController::updateTileCoverageMap):
1763         Scale the FrameView-space exposedRect into document space, to match the visibleRect.
1764
1765         Flipping on WKView's clipsToExposedRect now works correctly even in Safari
1766         or MiniBrowser with zooming.
1767
1768 2014-01-15  Sam Weinig  <sam@webkit.org>
1769
1770         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1771         https://bugs.webkit.org/show_bug.cgi?id=126856
1772
1773         Reviewed by Ryosuke Niwa.
1774
1775         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1776         now unnecessary up-conversions to UTF-16 in the process.
1777
1778         * dom/CharacterData.cpp:
1779         * editing/TextCheckingHelper.cpp:
1780         * editing/VisibleUnits.cpp:
1781         * platform/graphics/StringTruncator.cpp:
1782         * platform/graphics/mac/ComplexTextController.cpp:
1783         * platform/text/TextBoundaries.cpp:
1784         * platform/text/TextBreakIterator.cpp:
1785         * platform/text/TextBreakIterator.h:
1786         * rendering/RenderText.cpp:
1787
1788 2014-01-16  Anders Carlsson  <andersca@apple.com>
1789
1790         Run clang-modernize and let it add a bunch of missing overrides.
1791
1792         Rubber-stamped by Sam Weinig.
1793
1794         * dom/BeforeLoadEvent.h:
1795         * dom/ClassNodeList.h:
1796         * dom/Comment.h:
1797         * dom/CompositionEvent.h:
1798         * dom/DecodedDataDocumentParser.h:
1799         * dom/DeviceMotionEvent.h:
1800         * dom/DeviceOrientationEvent.h:
1801         * dom/DocumentMarker.cpp:
1802         * dom/DocumentType.h:
1803         * dom/EntityReference.h:
1804         * dom/FocusEvent.h:
1805         * dom/HashChangeEvent.h:
1806         * dom/MessageEvent.h:
1807         * dom/MouseEvent.h:
1808         * dom/MouseRelatedEvent.h:
1809         * dom/MutationEvent.h:
1810         * dom/NameNodeList.h:
1811         * dom/Notation.h:
1812         * dom/OverflowEvent.h:
1813         * dom/PendingScript.h:
1814         * dom/PopStateEvent.h:
1815         * dom/ProcessingInstruction.h:
1816         * dom/ScriptElement.h:
1817         * dom/ScriptExecutionContext.cpp:
1818         * dom/ScriptableDocumentParser.h:
1819         * dom/ScriptedAnimationController.h:
1820         * dom/StringCallback.cpp:
1821         * dom/WheelEvent.h:
1822         * html/FTPDirectoryDocument.h:
1823         * html/FileInputType.cpp:
1824         * html/HTMLAppletElement.h:
1825         * html/HTMLBRElement.h:
1826         * html/HTMLBaseElement.h:
1827         * html/HTMLBodyElement.h:
1828         * html/HTMLButtonElement.h:
1829         * html/HTMLDocument.h:
1830         * html/HTMLEmbedElement.h:
1831         * html/HTMLFormControlsCollection.h:
1832         * html/HTMLFrameElement.h:
1833         * html/HTMLFrameSetElement.h:
1834         * html/HTMLHRElement.h:
1835         * html/HTMLIFrameElement.h:
1836         * html/HTMLKeygenElement.cpp:
1837         * html/HTMLKeygenElement.h:
1838         * html/HTMLLinkElement.h:
1839         * html/HTMLMarqueeElement.h:
1840         * html/HTMLObjectElement.h:
1841         * html/HTMLOutputElement.h:
1842         * html/HTMLParamElement.h:
1843         * html/HTMLScriptElement.h:
1844         * html/HTMLStyleElement.h:
1845         * html/HTMLSummaryElement.h:
1846         * html/HTMLTrackElement.h:
1847         * html/HTMLViewSourceDocument.h:
1848         * html/ImageDocument.cpp:
1849         * html/ImageDocument.h:
1850         * html/MediaDocument.cpp:
1851         * html/MediaDocument.h:
1852         * html/MediaKeyEvent.h:
1853         * html/PluginDocument.cpp:
1854         * html/RadioNodeList.h:
1855         * html/TextDocument.h:
1856         * html/canvas/EXTDrawBuffers.h:
1857         * html/canvas/EXTTextureFilterAnisotropic.h:
1858         * html/canvas/OESElementIndexUint.h:
1859         * html/canvas/OESStandardDerivatives.h:
1860         * html/canvas/OESTextureFloat.h:
1861         * html/canvas/OESTextureFloatLinear.h:
1862         * html/canvas/OESTextureHalfFloat.h:
1863         * html/canvas/OESTextureHalfFloatLinear.h:
1864         * html/canvas/OESVertexArrayObject.h:
1865         * html/canvas/WebGLBuffer.h:
1866         * html/canvas/WebGLCompressedTextureATC.h:
1867         * html/canvas/WebGLCompressedTexturePVRTC.h:
1868         * html/canvas/WebGLCompressedTextureS3TC.h:
1869         * html/canvas/WebGLContextEvent.h:
1870         * html/canvas/WebGLContextObject.h:
1871         * html/canvas/WebGLDebugRendererInfo.h:
1872         * html/canvas/WebGLDebugShaders.h:
1873         * html/canvas/WebGLDepthTexture.h:
1874         * html/canvas/WebGLFramebuffer.cpp:
1875         * html/canvas/WebGLFramebuffer.h:
1876         * html/canvas/WebGLLoseContext.h:
1877         * html/canvas/WebGLProgram.h:
1878         * html/canvas/WebGLRenderbuffer.h:
1879         * html/canvas/WebGLRenderingContext.cpp:
1880         * html/canvas/WebGLRenderingContext.h:
1881         * html/canvas/WebGLShader.h:
1882         * html/canvas/WebGLSharedObject.h:
1883         * html/canvas/WebGLTexture.h:
1884         * html/canvas/WebGLVertexArrayObjectOES.h:
1885         * html/parser/HTMLDocumentParser.h:
1886         * html/parser/HTMLViewSourceParser.h:
1887         * html/shadow/DetailsMarkerControl.h:
1888         * html/shadow/MediaControls.h:
1889         * html/shadow/MediaControlsApple.h:
1890         * html/shadow/MeterShadowElement.h:
1891         * html/shadow/ProgressShadowElement.h:
1892         * html/shadow/SliderThumbElement.h:
1893         * html/track/LoadableTextTrack.h:
1894         * html/track/TrackEvent.h:
1895         * svg/SVGAElement.h:
1896         * svg/SVGAnimateColorElement.h:
1897         * svg/SVGAnimateElement.h:
1898         * svg/SVGAnimateMotionElement.h:
1899         * svg/SVGAnimateTransformElement.h:
1900         * svg/SVGAnimationElement.h:
1901         * svg/SVGCircleElement.h:
1902         * svg/SVGClipPathElement.h:
1903         * svg/SVGComponentTransferFunctionElement.h:
1904         * svg/SVGCursorElement.h:
1905         * svg/SVGDefsElement.h:
1906         * svg/SVGDescElement.h:
1907         * svg/SVGEllipseElement.h:
1908         * svg/SVGFEBlendElement.h:
1909         * svg/SVGFEColorMatrixElement.h:
1910         * svg/SVGFEComponentTransferElement.h:
1911         * svg/SVGFECompositeElement.h:
1912         * svg/SVGFEConvolveMatrixElement.h:
1913         * svg/SVGFEDiffuseLightingElement.h:
1914         * svg/SVGFEDisplacementMapElement.h:
1915         * svg/SVGFEDistantLightElement.h:
1916         * svg/SVGFEDropShadowElement.h:
1917         * svg/SVGFEFloodElement.h:
1918         * svg/SVGFEGaussianBlurElement.h:
1919         * svg/SVGFEImageElement.h:
1920         * svg/SVGFELightElement.h:
1921         * svg/SVGFEMergeElement.h:
1922         * svg/SVGFEMergeNodeElement.h:
1923         * svg/SVGFEMorphologyElement.h:
1924         * svg/SVGFEOffsetElement.h:
1925         * svg/SVGFEPointLightElement.h:
1926         * svg/SVGFESpecularLightingElement.h:
1927         * svg/SVGFESpotLightElement.h:
1928         * svg/SVGFETileElement.h:
1929         * svg/SVGFETurbulenceElement.h:
1930         * svg/SVGFilterElement.h:
1931         * svg/SVGFilterPrimitiveStandardAttributes.h:
1932         * svg/SVGFontData.h:
1933         * svg/SVGForeignObjectElement.h:
1934         * svg/SVGGlyphElement.h:
1935         * svg/SVGGlyphRefElement.h:
1936         * svg/SVGGradientElement.h:
1937         * svg/SVGHKernElement.h:
1938         * svg/SVGImageElement.h:
1939         * svg/SVGImageLoader.h:
1940         * svg/SVGLineElement.h:
1941         * svg/SVGLinearGradientElement.h:
1942         * svg/SVGMPathElement.h:
1943         * svg/SVGMarkerElement.h:
1944         * svg/SVGMaskElement.h:
1945         * svg/SVGMissingGlyphElement.h:
1946         * svg/SVGPathBuilder.h:
1947         * svg/SVGPathByteStreamBuilder.h:
1948         * svg/SVGPathByteStreamSource.h:
1949         * svg/SVGPathElement.h:
1950         * svg/SVGPathSegArcAbs.h:
1951         * svg/SVGPathSegArcRel.h:
1952         * svg/SVGPathSegClosePath.h:
1953         * svg/SVGPathSegCurvetoCubicAbs.h:
1954         * svg/SVGPathSegCurvetoCubicRel.h:
1955         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
1956         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
1957         * svg/SVGPathSegCurvetoQuadraticAbs.h:
1958         * svg/SVGPathSegCurvetoQuadraticRel.h:
1959         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
1960         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
1961         * svg/SVGPathSegLinetoAbs.h:
1962         * svg/SVGPathSegLinetoHorizontalAbs.h:
1963         * svg/SVGPathSegLinetoHorizontalRel.h:
1964         * svg/SVGPathSegLinetoRel.h:
1965         * svg/SVGPathSegLinetoVerticalAbs.h:
1966         * svg/SVGPathSegLinetoVerticalRel.h:
1967         * svg/SVGPathSegListBuilder.h:
1968         * svg/SVGPathSegListSource.h:
1969         * svg/SVGPathSegMovetoAbs.h:
1970         * svg/SVGPathSegMovetoRel.h:
1971         * svg/SVGPathStringSource.h:
1972         * svg/SVGPathTraversalStateBuilder.h:
1973         * svg/SVGPatternElement.h:
1974         * svg/SVGPolyElement.h:
1975         * svg/SVGRadialGradientElement.h:
1976         * svg/SVGRectElement.h:
1977         * svg/SVGSVGElement.h:
1978         * svg/SVGScriptElement.h:
1979         * svg/SVGStopElement.h:
1980         * svg/SVGStyleElement.h:
1981         * svg/SVGSwitchElement.h:
1982         * svg/SVGSymbolElement.h:
1983         * svg/SVGTRefElement.h:
1984         * svg/SVGTSpanElement.h:
1985         * svg/SVGTextContentElement.h:
1986         * svg/SVGTextElement.h:
1987         * svg/SVGTextPathElement.h:
1988         * svg/SVGTextPositioningElement.h:
1989         * svg/SVGTitleElement.h:
1990         * svg/SVGUseElement.h:
1991         * svg/SVGVKernElement.h:
1992         * svg/SVGViewElement.h:
1993         * svg/SVGZoomEvent.h:
1994         * svg/animation/SVGSMILElement.cpp:
1995         * svg/animation/SVGSMILElement.h:
1996         * svg/graphics/SVGImageChromeClient.h:
1997         * svg/graphics/filters/SVGFEImage.h:
1998         * svg/graphics/filters/SVGFilter.h:
1999         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
2000         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
2001         * svg/properties/SVGPathSegListPropertyTearOff.h:
2002
2003 2014-01-16  Jer Noble  <jer.noble@apple.com>
2004
2005         REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
2006         https://bugs.webkit.org/show_bug.cgi?id=127147
2007
2008         Reviewed by Eric Carlson.
2009
2010         Reset the MediaSessionManager's restrictions to their default values before
2011         each run.
2012
2013         Add a new virtual method "resetRestrictions()" so that each port-specific
2014         MediaSessionManager can reset the restrictions to their default values.
2015         Call this from Internals::resetToConsistentState() so that tests which change
2016         the restrictions don't affect later tests.
2017
2018         * platform/audio/MediaSessionManager.cpp:
2019         (WebCore::MediaSessionManager::MediaSessionManager):
2020         (WebCore::MediaSessionManager::resetRestrictions):
2021         * platform/audio/MediaSessionManager.h:
2022         (WebCore::MediaSessionManager::~MediaSessionManager):
2023         * platform/audio/ios/MediaSessionManagerIOS.h:
2024         * platform/audio/ios/MediaSessionManagerIOS.mm:
2025         (WebCore::MediaSessionManageriOS::resetRestrictions):
2026         * testing/Internals.cpp:
2027         (WebCore::Internals::resetToConsistentState):
2028
2029 2014-01-16  Alex Christensen  <achristensen@webkit.org>
2030
2031         Compile fix for WinCairo after r162138.
2032         https://bugs.webkit.org/show_bug.cgi?id=127140
2033
2034         Reviewed by Beth Dakin.
2035
2036         * page/FrameView.cpp:
2037         (WebCore::FrameView::extendedBackgroundRect):
2038         Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.
2039
2040 2014-01-16  Brady Eidson  <beidson@apple.com>
2041
2042         IDB: delete object store support
2043         <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
2044
2045         Reviewed by Alexey Proskuryakov.
2046
2047         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2048         (WebCore::DeleteObjectStoreOperation::transaction):
2049
2050 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2051
2052         More non-Mac build fix.
2053
2054         * platform/network/cf/CookieJarCFNet.cpp:
2055         (WebCore::copyCookiesForURLWithFirstPartyURL):
2056
2057 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2058
2059         Build fix.
2060
2061         * platform/network/cf/CookieJarCFNet.cpp: Remove a spurious semicolon.
2062
2063 2014-01-16  Andy Estes  <aestes@apple.com>
2064
2065         Another iOS build fix.
2066
2067         * platform/audio/ios/MediaSessionManagerIOS.mm:
2068         (WebCore::m_objcObserver):
2069
2070 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2071
2072         [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
2073         https://bugs.webkit.org/show_bug.cgi?id=127139
2074
2075         Reviewed by Brady Eidson.
2076
2077         * platform/ios/WebCoreSystemInterfaceIOS.mm:
2078         * platform/mac/WebCoreSystemInterface.h:
2079         * platform/mac/WebCoreSystemInterface.mm:
2080         Pass first party URL down, because reading cookies depends on it when this policy
2081         in in action.
2082
2083         * platform/network/cf/CookieJarCFNet.cpp:
2084         (WebCore::copyCookiesForURLWithFirstPartyURL):
2085         (WebCore::cookiesForDOM):
2086         (WebCore::cookieRequestHeaderFieldValue):
2087         (WebCore::cookiesEnabled):
2088         (WebCore::getRawCookies):
2089         Use a new CFNetwork API that takes first party URL.
2090
2091         * platform/network/mac/CookieJarMac.mm:
2092         (WebCore::cookiesForDOM):
2093         (WebCore::cookieRequestHeaderFieldValue):
2094         (WebCore::cookiesEnabled):
2095         (WebCore::getRawCookies):
2096         (WebCore::deleteCookie):
2097         Pass first party URL (and null in deleteCookie, as there is none).
2098
2099         * platform/network/mac/ResourceHandleMac.mm:
2100         (WebCore::ResourceHandle::platformLoadResourceSynchronously):
2101         Removed a call to shouldRelaxThirdPartyCookiePolicy(), which no longer exists
2102         in trunk.
2103
2104 2014-01-16  Andy Estes  <aestes@apple.com>
2105
2106         Fix the iOS build after r162150.
2107
2108         * platform/graphics/cg/GraphicsContextCG.cpp:
2109         (WebCore::GraphicsContext::platformInit):
2110
2111 2014-01-16  Dean Jackson  <dino@apple.com>
2112
2113         glReadPixels should use UNSIGNED_BYTE on iOS
2114         https://bugs.webkit.org/show_bug.cgi?id=127148
2115
2116         Reviewed by Benjamin Poulain.
2117
2118         We were incorrectly mapping GL_UNSIGNED_INT_8_8_8_8_REV to
2119         GL_RGBA on iOS. It's only used in glReadPixels, so should
2120         be GL_UNSIGNED_BYTE.
2121
2122         This is covered by lots of tests in the Khronos test suite,
2123         that now pass on iOS.
2124
2125         * platform/graphics/ios/GraphicsContext3DIOS.h:
2126
2127 2014-01-16  Anders Carlsson  <andersca@apple.com>
2128
2129         Change all uses of FINAL to final now that all our compilers support it
2130         https://bugs.webkit.org/show_bug.cgi?id=127142
2131
2132         Reviewed by Benjamin Poulain.
2133
2134         * Modules/encryptedmedia/MediaKeySession.h:
2135         * Modules/indexeddb/IDBCursorBackendOperations.h:
2136         * Modules/indexeddb/IDBDatabase.h:
2137         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
2138         * Modules/indexeddb/IDBRequest.h:
2139         * Modules/indexeddb/IDBTransaction.h:
2140         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2141         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2142         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2143         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
2144         * Modules/mediasource/MediaSource.h:
2145         * Modules/mediasource/MediaSourceRegistry.h:
2146         * Modules/mediasource/SourceBuffer.h:
2147         * Modules/mediasource/SourceBufferList.h:
2148         * Modules/mediastream/AudioStreamTrack.h:
2149         * Modules/mediastream/MediaStream.h:
2150         * Modules/mediastream/MediaStreamRegistry.h:
2151         * Modules/mediastream/MediaStreamTrack.h:
2152         * Modules/mediastream/RTCDTMFSender.h:
2153         * Modules/mediastream/RTCDataChannel.h:
2154         * Modules/mediastream/RTCPeerConnection.h:
2155         * Modules/mediastream/UserMediaRequest.h:
2156         * Modules/mediastream/VideoStreamTrack.h:
2157         * Modules/notifications/Notification.h:
2158         * Modules/speech/SpeechSynthesisUtterance.h:
2159         * Modules/webaudio/AudioContext.h:
2160         * Modules/webaudio/AudioNode.h:
2161         * Modules/websockets/WebSocket.h:
2162         * accessibility/AccessibilityList.h:
2163         * accessibility/AccessibilityListBoxOption.h:
2164         * accessibility/AccessibilityNodeObject.h:
2165         * accessibility/AccessibilitySearchFieldButtons.h:
2166         * accessibility/AccessibilitySlider.h:
2167         * bindings/js/JSCryptoAlgorithmBuilder.h:
2168         * bindings/js/JSCryptoKeySerializationJWK.h:
2169         * bindings/js/JSDOMGlobalObjectTask.cpp:
2170         * bindings/js/JSDOMGlobalObjectTask.h:
2171         * bindings/js/JSLazyEventListener.h:
2172         * bindings/js/ScriptDebugServer.h:
2173         * bindings/js/WorkerScriptDebugServer.h:
2174         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
2175         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
2176         * crypto/algorithms/CryptoAlgorithmHMAC.h:
2177         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
2178         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
2179         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
2180         * crypto/algorithms/CryptoAlgorithmSHA1.h:
2181         * crypto/algorithms/CryptoAlgorithmSHA224.h:
2182         * crypto/algorithms/CryptoAlgorithmSHA256.h:
2183         * crypto/algorithms/CryptoAlgorithmSHA384.h:
2184         * crypto/algorithms/CryptoAlgorithmSHA512.h:
2185         * crypto/keys/CryptoKeyAES.h:
2186         * crypto/keys/CryptoKeyDataOctetSequence.h:
2187         * crypto/keys/CryptoKeyDataRSAComponents.h:
2188         * crypto/keys/CryptoKeyHMAC.h:
2189         * crypto/keys/CryptoKeyRSA.h:
2190         * crypto/keys/CryptoKeySerializationRaw.h:
2191         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
2192         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
2193         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
2194         * crypto/parameters/CryptoAlgorithmHmacParams.h:
2195         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
2196         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
2197         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
2198         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
2199         * css/CSSCanvasValue.h:
2200         * css/CSSFontSelector.h:
2201         * css/CSSStyleSheet.h:
2202         * dom/Attr.h:
2203         * dom/BeforeUnloadEvent.h:
2204         * dom/CDATASection.h:
2205         * dom/CharacterData.h:
2206         * dom/ChildNodeList.h:
2207         * dom/Clipboard.cpp:
2208         * dom/Comment.h:
2209         * dom/DatasetDOMStringMap.h:
2210         * dom/Document.h:
2211         * dom/DocumentEventQueue.cpp:
2212         * dom/DocumentEventQueue.h:
2213         * dom/DocumentType.h:
2214         * dom/Element.h:
2215         * dom/EntityReference.h:
2216         * dom/EventContext.h:
2217         * dom/EventTarget.h:
2218         * dom/FocusEvent.h:
2219         * dom/LiveNodeList.h:
2220         * dom/MessagePort.h:
2221         * dom/MouseEvent.h:
2222         * dom/Node.h:
2223         * dom/Notation.h:
2224         * dom/ProcessingInstruction.h:
2225         * dom/PseudoElement.h:
2226         * dom/ShadowRoot.h:
2227         * dom/StaticNodeList.h:
2228         * dom/StyledElement.h:
2229         * dom/TemplateContentDocumentFragment.h:
2230         * dom/Text.h:
2231         * dom/WebKitNamedFlow.h:
2232         * editing/ios/EditorIOS.mm:
2233         * editing/mac/EditorMac.mm:
2234         * editing/markup.cpp:
2235         * fileapi/Blob.cpp:
2236         * fileapi/FileReader.h:
2237         * html/ClassList.h:
2238         * html/DOMSettableTokenList.h:
2239         * html/FTPDirectoryDocument.cpp:
2240         * html/FormAssociatedElement.cpp:
2241         * html/FormAssociatedElement.h:
2242         * html/HTMLAllCollection.h:
2243         * html/HTMLAnchorElement.h:
2244         * html/HTMLAppletElement.h:
2245         * html/HTMLAreaElement.h:
2246         * html/HTMLAudioElement.h:
2247         * html/HTMLBDIElement.h:
2248         * html/HTMLBRElement.h:
2249         * html/HTMLBaseElement.h:
2250         * html/HTMLBaseFontElement.h:
2251         * html/HTMLBodyElement.h:
2252         * html/HTMLButtonElement.h:
2253         * html/HTMLCanvasElement.h:
2254         * html/HTMLDListElement.h:
2255         * html/HTMLDataListElement.h:
2256         * html/HTMLDetailsElement.h:
2257         * html/HTMLDirectoryElement.h:
2258         * html/HTMLDocument.h:
2259         * html/HTMLElement.h:
2260         * html/HTMLEmbedElement.h:
2261         * html/HTMLFieldSetElement.h:
2262         * html/HTMLFontElement.h:
2263         * html/HTMLFormControlElement.h:
2264         * html/HTMLFormElement.h:
2265         * html/HTMLFrameElement.h:
2266         * html/HTMLFrameSetElement.h:
2267         * html/HTMLHRElement.h:
2268         * html/HTMLHeadElement.h:
2269         * html/HTMLHeadingElement.h:
2270         * html/HTMLHtmlElement.h:
2271         * html/HTMLIFrameElement.h:
2272         * html/HTMLImageElement.h:
2273         * html/HTMLInputElement.h:
2274         * html/HTMLKeygenElement.cpp:
2275         * html/HTMLKeygenElement.h:
2276         * html/HTMLLIElement.h:
2277         * html/HTMLLabelElement.h:
2278         * html/HTMLLegendElement.h:
2279         * html/HTMLLinkElement.h:
2280         * html/HTMLMapElement.h:
2281         * html/HTMLMarqueeElement.h:
2282         * html/HTMLMenuElement.h:
2283         * html/HTMLMetaElement.h:
2284         * html/HTMLMeterElement.h:
2285         * html/HTMLModElement.h:
2286         * html/HTMLNameCollection.h:
2287         * html/HTMLOListElement.h:
2288         * html/HTMLObjectElement.h:
2289         * html/HTMLOptGroupElement.h:
2290         * html/HTMLOptionElement.h:
2291         * html/HTMLOptionsCollection.h:
2292         * html/HTMLOutputElement.h:
2293         * html/HTMLParagraphElement.h:
2294         * html/HTMLParamElement.h:
2295         * html/HTMLPlugInElement.h:
2296         * html/HTMLPreElement.h:
2297         * html/HTMLProgressElement.h:
2298         * html/HTMLQuoteElement.h:
2299         * html/HTMLScriptElement.h:
2300         * html/HTMLSelectElement.h:
2301         * html/HTMLSourceElement.h:
2302         * html/HTMLStyleElement.h:
2303         * html/HTMLSummaryElement.h:
2304         * html/HTMLTableCaptionElement.h:
2305         * html/HTMLTableCellElement.h:
2306         * html/HTMLTableColElement.h:
2307         * html/HTMLTableElement.h:
2308         * html/HTMLTableRowElement.h:
2309         * html/HTMLTableRowsCollection.h:
2310         * html/HTMLTableSectionElement.h:
2311         * html/HTMLTemplateElement.h:
2312         * html/HTMLTextAreaElement.h:
2313         * html/HTMLTextFormControlElement.h:
2314         * html/HTMLTitleElement.h:
2315         * html/HTMLTrackElement.h:
2316         * html/HTMLUListElement.h:
2317         * html/HTMLUnknownElement.h:
2318         * html/HTMLVideoElement.h:
2319         * html/HTMLViewSourceDocument.h:
2320         * html/ImageDocument.cpp:
2321         * html/ImageDocument.h:
2322         * html/LabelableElement.h:
2323         * html/LabelsNodeList.h:
2324         * html/MediaController.h:
2325         * html/MediaDocument.cpp:
2326         * html/MediaDocument.h:
2327         * html/MediaFragmentURIParser.h:
2328         * html/PluginDocument.cpp:
2329         * html/PluginDocument.h:
2330         * html/RangeInputType.h:
2331         * html/TextDocument.h:
2332         * html/parser/TextDocumentParser.h:
2333         * html/parser/TextViewSourceParser.h:
2334         * html/shadow/DetailsMarkerControl.h:
2335         * html/shadow/MediaControlElementTypes.h:
2336         * html/shadow/MediaControlElements.h:
2337         * html/shadow/MeterShadowElement.h:
2338         * html/shadow/ProgressShadowElement.h:
2339         * html/shadow/SliderThumbElement.h:
2340         * html/shadow/SpinButtonElement.h:
2341         * html/shadow/TextControlInnerElements.h:
2342         * html/shadow/YouTubeEmbedShadowElement.h:
2343         * html/track/TextTrack.h:
2344         * html/track/TextTrackCue.h:
2345         * html/track/TextTrackCueGeneric.cpp:
2346         * html/track/TextTrackCueGeneric.h:
2347         * html/track/TrackListBase.h:
2348         * html/track/WebVTTElement.h:
2349         * inspector/CommandLineAPIModule.h:
2350         * inspector/InjectedScriptCanvasModule.h:
2351         * inspector/InspectorConsoleAgent.cpp:
2352         * inspector/InspectorController.h:
2353         * inspector/InspectorDebuggerAgent.h:
2354         * inspector/PageConsoleAgent.cpp:
2355         * inspector/PageInjectedScriptHost.h:
2356         * inspector/PageInjectedScriptManager.h:
2357         * inspector/WorkerInspectorController.h:
2358         * loader/SinkDocument.cpp:
2359         * loader/SinkDocument.h:
2360         * loader/appcache/DOMApplicationCache.h:
2361         * loader/cache/CachedCSSStyleSheet.h:
2362         * loader/cache/CachedFont.h:
2363         * loader/cache/CachedRawResource.h:
2364         * loader/cache/CachedSVGDocument.h:
2365         * loader/cache/CachedScript.h:
2366         * loader/cache/CachedShader.h:
2367         * loader/cache/CachedTextTrack.h:
2368         * loader/cache/CachedXSLStyleSheet.h:
2369         * loader/icon/IconLoader.h:
2370         * mathml/MathMLSelectElement.h:
2371         * page/DOMTimer.h:
2372         * page/DOMWindow.h:
2373         * page/EventSource.h:
2374         * page/Frame.h:
2375         * page/FrameView.h:
2376         * page/MainFrame.h:
2377         * page/PageDebuggable.h:
2378         * page/PageSerializer.cpp:
2379         * page/Performance.h:
2380         * page/SuspendableTimer.h:
2381         * page/animation/KeyframeAnimation.h:
2382         * page/scrolling/ScrollingStateFixedNode.h:
2383         * page/scrolling/ScrollingStateScrollingNode.h:
2384         * page/scrolling/ScrollingStateStickyNode.h:
2385         * platform/ClockGeneric.h:
2386         * platform/efl/ScrollbarThemeEfl.h:
2387         * platform/graphics/BitmapImage.h:
2388         * platform/graphics/CrossfadeGeneratedImage.h:
2389         * platform/graphics/GradientImage.h:
2390         * platform/graphics/SimpleFontData.h:
2391         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
2392         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
2393         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
2394         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
2395         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
2396         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
2397         * platform/graphics/ca/mac/PlatformCALayerMac.h:
2398         * platform/graphics/ca/win/PlatformCALayerWin.h:
2399         * platform/graphics/cg/PDFDocumentImage.h:
2400         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
2401         * platform/graphics/gstreamer/MediaSourceGStreamer.h:
2402         * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
2403         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
2404         * platform/ios/WebSafeGCActivityCallbackIOS.h:
2405         * platform/ios/WebSafeIncrementalSweeperIOS.h:
2406         * platform/mac/PlatformClockCA.h:
2407         * platform/mac/PlatformClockCM.h:
2408         * platform/mac/ScrollAnimatorMac.h:
2409         * platform/mediastream/MediaStreamTrackPrivate.h:
2410         * platform/mediastream/mac/MediaStreamCenterMac.h:
2411         * platform/mock/MockMediaStreamCenter.h:
2412         * platform/mock/RTCDataChannelHandlerMock.h:
2413         * platform/mock/RTCPeerConnectionHandlerMock.h:
2414         * platform/mock/mediasource/MockBox.h:
2415         * platform/mock/mediasource/MockMediaSourcePrivate.h:
2416         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
2417         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
2418         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
2419         * platform/text/LocaleNone.cpp:
2420         * platform/text/PlatformLocale.cpp:
2421         * rendering/EllipsisBox.h:
2422         * rendering/FilterEffectRenderer.h:
2423         * rendering/InlineElementBox.h:
2424         * rendering/InlineFlowBox.h:
2425         * rendering/InlineTextBox.h:
2426         * rendering/RenderBlock.h:
2427         * rendering/RenderBlockFlow.h:
2428         * rendering/RenderBox.cpp:
2429         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
2430         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
2431         * rendering/RenderBox.h:
2432         * rendering/RenderButton.h:
2433         * rendering/RenderCombineText.h:
2434         * rendering/RenderCounter.h:
2435         * rendering/RenderDeprecatedFlexibleBox.h:
2436         * rendering/RenderDetailsMarker.h:
2437         * rendering/RenderElement.h:
2438         * rendering/RenderEmbeddedObject.h:
2439         * rendering/RenderFieldset.h:
2440         * rendering/RenderFileUploadControl.h:
2441         * rendering/RenderFlexibleBox.h:
2442         * rendering/RenderFlowThread.h:
2443         * rendering/RenderFrame.h:
2444         * rendering/RenderFrameSet.h:
2445         * rendering/RenderFullScreen.cpp:
2446         * rendering/RenderFullScreen.h:
2447         * rendering/RenderGrid.h:
2448         * rendering/RenderHTMLCanvas.h:
2449         * rendering/RenderIFrame.h:
2450         * rendering/RenderImage.h:
2451         * rendering/RenderInline.h:
2452         * rendering/RenderLayer.h:
2453         * rendering/RenderLayerFilterInfo.h:
2454         * rendering/RenderLineBreak.h:
2455         * rendering/RenderListBox.h:
2456         * rendering/RenderListItem.h:
2457         * rendering/RenderListMarker.h:
2458         * rendering/RenderMedia.h:
2459         * rendering/RenderMediaControlElements.h:
2460         * rendering/RenderMenuList.h:
2461         * rendering/RenderMeter.h:
2462         * rendering/RenderMultiColumnBlock.h:
2463         * rendering/RenderMultiColumnFlowThread.h:
2464         * rendering/RenderMultiColumnSet.h:
2465         * rendering/RenderNamedFlowFragment.h:
2466         * rendering/RenderNamedFlowThread.h:
2467         * rendering/RenderProgress.h:
2468         * rendering/RenderQuote.h:
2469         * rendering/RenderRegion.h:
2470         * rendering/RenderRegionSet.h:
2471         * rendering/RenderReplaced.h:
2472         * rendering/RenderReplica.h:
2473         * rendering/RenderRuby.h:
2474         * rendering/RenderRubyBase.h:
2475         * rendering/RenderRubyRun.h:
2476         * rendering/RenderRubyText.h:
2477         * rendering/RenderScrollbar.h:
2478         * rendering/RenderScrollbarPart.h:
2479         * rendering/RenderSearchField.h:
2480         * rendering/RenderSlider.h:
2481         * rendering/RenderSnapshottedPlugIn.h:
2482         * rendering/RenderTable.h:
2483         * rendering/RenderTableCaption.h:
2484         * rendering/RenderTableCell.h:
2485         * rendering/RenderTableCol.h:
2486         * rendering/RenderTableRow.h:
2487         * rendering/RenderTableSection.h:
2488         * rendering/RenderText.h:
2489         * rendering/RenderTextControl.h:
2490         * rendering/RenderTextControlMultiLine.h:
2491         * rendering/RenderTextControlSingleLine.h:
2492         * rendering/RenderTextFragment.h:
2493         * rendering/RenderTextTrackCue.h:
2494         * rendering/RenderVideo.h:
2495         * rendering/RenderView.h:
2496         * rendering/RenderWidget.h:
2497         * rendering/RootInlineBox.h:
2498         * rendering/TrailingFloatsRootInlineBox.h:
2499         * rendering/mathml/RenderMathMLBlock.h:
2500         * rendering/mathml/RenderMathMLFenced.h:
2501         * rendering/mathml/RenderMathMLFraction.h:
2502         * rendering/mathml/RenderMathMLMath.h:
2503         * rendering/mathml/RenderMathMLOperator.h:
2504         * rendering/mathml/RenderMathMLRoot.h:
2505         * rendering/mathml/RenderMathMLRow.h:
2506         * rendering/mathml/RenderMathMLScripts.h:
2507         * rendering/mathml/RenderMathMLSpace.h:
2508         * rendering/mathml/RenderMathMLSquareRoot.h:
2509         * rendering/shapes/ShapeInsideInfo.h:
2510         * rendering/shapes/ShapeOutsideInfo.h:
2511         * rendering/style/ContentData.h:
2512         * rendering/style/StyleCachedImage.h:
2513         * rendering/style/StyleCachedImageSet.h:
2514         * rendering/style/StyleGeneratedImage.h:
2515         * rendering/svg/RenderSVGBlock.h:
2516         * rendering/svg/RenderSVGContainer.h:
2517         * rendering/svg/RenderSVGEllipse.h:
2518         * rendering/svg/RenderSVGForeignObject.h:
2519         * rendering/svg/RenderSVGGradientStop.h:
2520         * rendering/svg/RenderSVGHiddenContainer.h:
2521         * rendering/svg/RenderSVGImage.h:
2522         * rendering/svg/RenderSVGInline.h:
2523         * rendering/svg/RenderSVGInlineText.h:
2524         * rendering/svg/RenderSVGModelObject.h:
2525         * rendering/svg/RenderSVGPath.h:
2526         * rendering/svg/RenderSVGRect.h:
2527         * rendering/svg/RenderSVGResourceClipper.h:
2528         * rendering/svg/RenderSVGResourceContainer.h:
2529         * rendering/svg/RenderSVGResourceFilter.h:
2530         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
2531         * rendering/svg/RenderSVGResourceGradient.h:
2532         * rendering/svg/RenderSVGResourceLinearGradient.h:
2533         * rendering/svg/RenderSVGResourceMarker.h:
2534         * rendering/svg/RenderSVGResourceMasker.h:
2535         * rendering/svg/RenderSVGResourcePattern.h:
2536         * rendering/svg/RenderSVGResourceRadialGradient.h:
2537         * rendering/svg/RenderSVGRoot.h:
2538         * rendering/svg/RenderSVGShape.cpp:
2539         * rendering/svg/RenderSVGShape.h:
2540         * rendering/svg/RenderSVGTSpan.h:
2541         * rendering/svg/RenderSVGText.h:
2542         * rendering/svg/RenderSVGTextPath.h:
2543         * rendering/svg/RenderSVGTransformableContainer.h:
2544         * rendering/svg/RenderSVGViewportContainer.h:
2545         * rendering/svg/SVGInlineFlowBox.h:
2546         * rendering/svg/SVGInlineTextBox.h:
2547         * rendering/svg/SVGRootInlineBox.h:
2548         * rendering/svg/SVGTextRunRenderingContext.h:
2549         * svg/SVGAElement.h:
2550         * svg/SVGAltGlyphDefElement.h:
2551         * svg/SVGAltGlyphElement.h:
2552         * svg/SVGAltGlyphItemElement.h:
2553         * svg/SVGAnimateColorElement.h:
2554         * svg/SVGAnimateMotionElement.h:
2555         * svg/SVGAnimateTransformElement.h:
2556         * svg/SVGAnimatedAngle.h:
2557         * svg/SVGAnimatedBoolean.h:
2558         * svg/SVGAnimatedColor.h:
2559         * svg/SVGAnimatedEnumeration.h:
2560         * svg/SVGAnimatedInteger.h:
2561         * svg/SVGAnimatedIntegerOptionalInteger.h:
2562         * svg/SVGAnimatedLength.h:
2563         * svg/SVGAnimatedLengthList.h:
2564         * svg/SVGAnimatedNumber.h:
2565         * svg/SVGAnimatedNumberList.h:
2566         * svg/SVGAnimatedNumberOptionalNumber.h:
2567         * svg/SVGAnimatedPath.h:
2568         * svg/SVGAnimatedPointList.h:
2569         * svg/SVGAnimatedPreserveAspectRatio.h:
2570         * svg/SVGAnimatedRect.h:
2571         * svg/SVGAnimatedString.h:
2572         * svg/SVGAnimatedTransformList.h:
2573         * svg/SVGCircleElement.h:
2574         * svg/SVGClipPathElement.h:
2575         * svg/SVGCursorElement.h:
2576         * svg/SVGDefsElement.h:
2577         * svg/SVGDescElement.h:
2578         * svg/SVGDocument.h:
2579         * svg/SVGElement.h:
2580         * svg/SVGEllipseElement.h:
2581         * svg/SVGFEBlendElement.h:
2582         * svg/SVGFEColorMatrixElement.h:
2583         * svg/SVGFEComponentTransferElement.h:
2584         * svg/SVGFECompositeElement.h:
2585         * svg/SVGFEConvolveMatrixElement.h:
2586         * svg/SVGFEDiffuseLightingElement.h:
2587         * svg/SVGFEDisplacementMapElement.h:
2588         * svg/SVGFEDistantLightElement.h:
2589         * svg/SVGFEDropShadowElement.h:
2590         * svg/SVGFEFloodElement.h:
2591         * svg/SVGFEFuncAElement.h:
2592         * svg/SVGFEFuncBElement.h:
2593         * svg/SVGFEFuncGElement.h:
2594         * svg/SVGFEFuncRElement.h:
2595         * svg/SVGFEGaussianBlurElement.h:
2596         * svg/SVGFEImageElement.h:
2597         * svg/SVGFEMergeElement.h:
2598         * svg/SVGFEMergeNodeElement.h:
2599         * svg/SVGFEMorphologyElement.h:
2600         * svg/SVGFEOffsetElement.h:
2601         * svg/SVGFEPointLightElement.h:
2602         * svg/SVGFESpecularLightingElement.h:
2603         * svg/SVGFESpotLightElement.h:
2604         * svg/SVGFETileElement.h:
2605         * svg/SVGFETurbulenceElement.h:
2606         * svg/SVGFilterElement.h:
2607         * svg/SVGFontElement.h:
2608         * svg/SVGFontFaceElement.h:
2609         * svg/SVGFontFaceFormatElement.h:
2610         * svg/SVGFontFaceNameElement.h:
2611         * svg/SVGFontFaceSrcElement.h:
2612         * svg/SVGFontFaceUriElement.h:
2613         * svg/SVGForeignObjectElement.h:
2614         * svg/SVGGElement.h:
2615         * svg/SVGGlyphElement.h:
2616         * svg/SVGGlyphRefElement.h:
2617         * svg/SVGHKernElement.h:
2618         * svg/SVGImageElement.h:
2619         * svg/SVGLineElement.h:
2620         * svg/SVGLinearGradientElement.h:
2621         * svg/SVGMPathElement.h:
2622         * svg/SVGMarkerElement.h:
2623         * svg/SVGMaskElement.h:
2624         * svg/SVGMetadataElement.h:
2625         * svg/SVGMissingGlyphElement.h:
2626         * svg/SVGPathElement.h:
2627         * svg/SVGPathStringBuilder.h:
2628         * svg/SVGPatternElement.h:
2629         * svg/SVGPolygonElement.h:
2630         * svg/SVGPolylineElement.h:
2631         * svg/SVGRadialGradientElement.h:
2632         * svg/SVGRectElement.h:
2633         * svg/SVGSVGElement.h:
2634         * svg/SVGScriptElement.h:
2635         * svg/SVGSetElement.h:
2636         * svg/SVGStopElement.h:
2637         * svg/SVGStyleElement.h:
2638         * svg/SVGSwitchElement.h:
2639         * svg/SVGSymbolElement.h:
2640         * svg/SVGTRefElement.h:
2641         * svg/SVGTSpanElement.h:
2642         * svg/SVGTextContentElement.h:
2643         * svg/SVGTextElement.h:
2644         * svg/SVGTextPathElement.h:
2645         * svg/SVGTitleElement.h:
2646         * svg/SVGUnknownElement.h:
2647         * svg/SVGUseElement.h:
2648         * svg/SVGVKernElement.h:
2649         * svg/SVGViewElement.h:
2650         * svg/animation/SVGSMILElement.h:
2651         * svg/graphics/SVGImage.h:
2652         * svg/graphics/SVGImageForContainer.h:
2653         * svg/graphics/filters/SVGFilter.h:
2654         * workers/AbstractWorker.h:
2655         * workers/SharedWorker.h:
2656         * workers/Worker.h:
2657         * workers/WorkerEventQueue.cpp:
2658         * workers/WorkerEventQueue.h:
2659         * workers/WorkerGlobalScope.h:
2660         * xml/XMLHttpRequest.h:
2661         * xml/XMLHttpRequestUpload.h:
2662         * xml/XPathFunctions.cpp:
2663         * xml/XPathPath.h:
2664         * xml/XPathPredicate.h:
2665         * xml/XSLStyleSheet.h:
2666
2667 2014-01-15  Myles C. Maxfield  <mmaxfield@apple.com>
2668
2669         Draw all underline segments in a particular run in the same call
2670         https://bugs.webkit.org/show_bug.cgi?id=127082
2671
2672         Reviewed by Simon Fraser.
2673
2674         Instead of running CGContextFillRect() in a loop, we can instead call CGContextFillRects()
2675
2676         In my tests, this seems to have about 0.5% speedup.
2677
2678         This patch creates some redundant code, but I think that refactoring would make the code
2679         much less readable. I also am hesitant to make drawLineForText call drawLinesForText because
2680         of the overhead of the vector that would be needed.
2681
2682         As there is no behavior change, no new tests are necessary
2683
2684         * platform/graphics/GraphicsContext.h:
2685         * platform/graphics/cairo/GraphicsContextCairo.cpp:
2686         (WebCore::GraphicsContext::drawLinesForText):
2687         * platform/graphics/cg/GraphicsContextCG.cpp:
2688         (WebCore::GraphicsContext::platformInit):
2689         * platform/graphics/wince/GraphicsContextWinCE.cpp:
2690         (WebCore::GraphicsContext::drawLinesForText):
2691         * rendering/InlineTextBox.cpp:
2692         (WebCore::drawSkipInkUnderline):
2693
2694 2014-01-16  Brady Eidson  <beidson@apple.com>
2695
2696         Use KeyedCoding as a persistent storage mechanism for blobs
2697         https://bugs.webkit.org/show_bug.cgi?id=127012
2698
2699         Reviewed by Anders Carlsson.
2700
2701         Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
2702         * platform/KeyedCoding.h:
2703         (WebCore::KeyedDecoder::decodeVerifiedEnum):
2704         (WebCore::KeyedDecoder::decodeObject):
2705         (WebCore::KeyedDecoder::decodeObjects):
2706
2707         Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
2708         * Modules/indexeddb/IDBKeyPath.cpp:
2709         (WebCore::IDBKeyPath::encode):
2710         (WebCore::IDBKeyPath::decode):
2711         * Modules/indexeddb/IDBKeyPath.h:
2712
2713         * WebCore.exp.in:
2714
2715 2014-01-16  Eric Carlson  <eric.carlson@apple.com>
2716
2717         Allow MediaSessionManager to restrict inline <video> playback
2718         https://bugs.webkit.org/show_bug.cgi?id=127113
2719
2720         Reviewed by Jer Noble.
2721
2722         Test: media/video-fullscreeen-only-playback.html
2723
2724         * html/HTMLMediaElement.cpp:
2725         (WebCore::HTMLMediaElement::updatePlayState): Drive-by change to not tell the media session that
2726             playback is starting if the media player is already playing. Enter fullscreen if the media
2727             session says it is required.
2728
2729         * html/HTMLMediaSession.cpp:
2730         (WebCore::HTMLMediaSession::clientWillBeginPlayback): Make it const.
2731         (WebCore::HTMLMediaSession::requiresFullscreenForVideoPlayback): New, see if the specified
2732             media element must be played in fullscreen based on the media session settings, document
2733             settings, and attributes.
2734         * html/HTMLMediaSession.h:
2735
2736         * platform/audio/MediaSession.h: pauseSession shouldn't be virtual.
2737
2738         * platform/audio/MediaSessionManager.cpp:
2739         (WebCore::MediaSessionManager::sessionWillBeginPlayback): Return immediately if ConcurrentPlaybackNotPermitted
2740             is not set.
2741         (WebCore::MediaSessionManager::sessionRestrictsInlineVideoPlayback): New.
2742         * platform/audio/MediaSessionManager.h:
2743
2744         * platform/audio/ios/MediaSessionManagerIOS.mm:
2745         (WebCore::MediaSessionManageriOS::MediaSessionManageriOS): Set InlineVideoPlaybackRestricted if
2746             running on an iPhone or iPod class device.
2747
2748         * testing/Internals.cpp:
2749         (WebCore::Internals::setMediaSessionRestrictions): Support InlineVideoPlaybackRestricted.
2750
2751 2014-01-16  Roger Fong  <roger_fong@apple.com>
2752
2753         Add support for handling WebGL load policies.
2754         https://bugs.webkit.org/show_bug.cgi?id=126935
2755         <rdar://problem/15790448>.
2756
2757         Reviewed by Timothy Horton.
2758
2759         Rename webGLPolicyForSite to webGLPolicyForURL.
2760
2761         * html/HTMLCanvasElement.cpp:
2762         (WebCore::HTMLCanvasElement::getContext):
2763         * loader/FrameLoaderClient.h:
2764         (WebCore::FrameLoaderClient::webGLPolicyForURL):
2765
2766 2014-01-16  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
2767
2768         Guarding HTMLMediaSession with ENABLE(VIDEO)
2769         https://bugs.webkit.org/show_bug.cgi?id=127126
2770
2771         Reviewed by Eric Carlson.
2772
2773         No new tests needed.
2774
2775         * html/HTMLMediaSession.cpp:
2776         * html/HTMLMediaSession.h:
2777
2778 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2779
2780         Remove workaround for compilers not supporting explicit override control
2781         https://bugs.webkit.org/show_bug.cgi?id=127111
2782
2783         Reviewed by Anders Carlsson.
2784
2785         Now all compilers support explicit override control, this workaround can be removed.
2786
2787         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
2788         * Modules/encryptedmedia/CDMPrivateAVFoundation.h:
2789         * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
2790         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
2791         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
2792         * Modules/encryptedmedia/MediaKeySession.h:
2793         * Modules/encryptedmedia/MediaKeys.h:
2794         * Modules/geolocation/Geolocation.h:
2795         * Modules/indexeddb/DOMWindowIndexedDatabase.h:
2796         * Modules/indexeddb/IDBCursorBackendOperations.h:
2797         * Modules/indexeddb/IDBCursorWithValue.h:
2798         * Modules/indexeddb/IDBDatabase.h:
2799         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
2800         * Modules/indexeddb/IDBOpenDBRequest.h:
2801         * Modules/indexeddb/IDBRequest.h:
2802         * Modules/indexeddb/IDBTransaction.h:
2803         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2804         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2805         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2806         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
2807         * Modules/indieui/UIRequestEvent.h:
2808         * Modules/mediasource/MediaSource.h:
2809         * Modules/mediasource/MediaSourceRegistry.h:
2810         * Modules/mediasource/SourceBuffer.h:
2811         * Modules/mediasource/SourceBufferList.h:
2812         * Modules/mediastream/AudioStreamTrack.h:
2813         * Modules/mediastream/MediaConstraintsImpl.h:
2814         * Modules/mediastream/MediaStream.h:
2815         * Modules/mediastream/MediaStreamRegistry.h:
2816         * Modules/mediastream/MediaStreamTrack.h:
2817         * Modules/mediastream/MediaStreamTrackEvent.h:
2818         * Modules/mediastream/MediaStreamTrackSourcesRequest.h:
2819         * Modules/mediastream/RTCDTMFSender.h:
2820         * Modules/mediastream/RTCDataChannel.h:
2821         * Modules/mediastream/RTCPeerConnection.h:
2822         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
2823         * Modules/mediastream/RTCStatsRequestImpl.h:
2824         * Modules/mediastream/RTCStatsResponse.h:
2825         * Modules/mediastream/RTCVoidRequestImpl.h:
2826         * Modules/mediastream/UserMediaRequest.h:
2827         * Modules/mediastream/VideoStreamTrack.h:
2828         * Modules/networkinfo/NetworkInfoConnection.h:
2829         * Modules/notifications/DOMWindowNotifications.h:
2830         * Modules/notifications/Notification.h:
2831         * Modules/notifications/NotificationCenter.h:
2832         * Modules/plugins/QuickTimePluginReplacement.h:
2833         * Modules/speech/SpeechRecognition.h:
2834         * Modules/speech/SpeechRecognitionError.h:
2835         * Modules/speech/SpeechRecognitionEvent.h:
2836         * Modules/speech/SpeechSynthesis.h:
2837         * Modules/speech/SpeechSynthesisUtterance.h:
2838         * Modules/webaudio/AnalyserNode.h:
2839         * Modules/webaudio/AudioBasicInspectorNode.h:
2840         * Modules/webaudio/AudioBasicProcessorNode.h:
2841         * Modules/webaudio/AudioBufferSourceNode.h:
2842         * Modules/webaudio/AudioContext.h:
2843         * Modules/webaudio/AudioDestinationNode.h:
2844         * Modules/webaudio/AudioNode.h:
2845         * Modules/webaudio/AudioNodeInput.h:
2846         * Modules/webaudio/AudioParam.h:
2847         * Modules/webaudio/AudioProcessingEvent.h:
2848         * Modules/webaudio/BiquadDSPKernel.h:
2849         * Modules/webaudio/BiquadProcessor.h:
2850         * Modules/webaudio/ChannelMergerNode.h:
2851         * Modules/webaudio/ChannelSplitterNode.h:
2852         * Modules/webaudio/ConvolverNode.h:
2853         * Modules/webaudio/DefaultAudioDestinationNode.h:
2854         * Modules/webaudio/DelayDSPKernel.h:
2855         * Modules/webaudio/DelayProcessor.h:
2856         * Modules/webaudio/DynamicsCompressorNode.h:
2857         * Modules/webaudio/GainNode.h:
2858         * Modules/webaudio/MediaElementAudioSourceNode.h:
2859         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
2860         * Modules/webaudio/MediaStreamAudioSourceNode.h:
2861         * Modules/webaudio/OfflineAudioCompletionEvent.h:
2862         * Modules/webaudio/OfflineAudioDestinationNode.h:
2863         * Modules/webaudio/OscillatorNode.h:
2864         * Modules/webaudio/PannerNode.h:
2865         * Modules/webaudio/ScriptProcessorNode.h:
2866         * Modules/webaudio/WaveShaperDSPKernel.h:
2867         * Modules/webaudio/WaveShaperProcessor.h:
2868         * Modules/webdatabase/DatabaseTask.h:
2869         * Modules/webdatabase/SQLTransaction.h:
2870         * Modules/webdatabase/SQLTransactionBackend.h:
2871         * Modules/websockets/CloseEvent.h:
2872         * Modules/websockets/WebSocket.h:
2873         * Modules/websockets/WebSocketChannel.h:
2874         * Modules/websockets/WebSocketDeflateFramer.cpp:
2875         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
2876         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
2877         * accessibility/AccessibilityARIAGrid.h:
2878         * accessibility/AccessibilityARIAGridCell.h:
2879         * accessibility/AccessibilityARIAGridRow.h:
2880         * accessibility/AccessibilityImageMapLink.h:
2881         * accessibility/AccessibilityList.h:
2882         * accessibility/AccessibilityListBox.h:
2883         * accessibility/AccessibilityListBoxOption.h:
2884         * accessibility/AccessibilityMediaControls.h:
2885         * accessibility/AccessibilityMenuList.h:
2886         * accessibility/AccessibilityMenuListOption.h:
2887         * accessibility/AccessibilityMenuListPopup.h:
2888         * accessibility/AccessibilityMockObject.h:
2889         * accessibility/AccessibilityNodeObject.h:
2890         * accessibility/AccessibilityProgressIndicator.h:
2891         * accessibility/AccessibilityRenderObject.h:
2892         * accessibility/AccessibilitySVGRoot.h:
2893         * accessibility/AccessibilityScrollView.h:
2894         * accessibility/AccessibilityScrollbar.h:
2895         * accessibility/AccessibilitySearchFieldButtons.h:
2896         * accessibility/AccessibilitySlider.h:
2897         * accessibility/AccessibilitySpinButton.h:
2898         * accessibility/AccessibilityTable.h:
2899         * accessibility/AccessibilityTableCell.h:
2900         * accessibility/AccessibilityTableColumn.h:
2901         * accessibility/AccessibilityTableHeaderContainer.h:
2902         * accessibility/AccessibilityTableRow.h:
2903         * bindings/js/JSCryptoAlgorithmBuilder.h:
2904         * bindings/js/JSCryptoKeySerializationJWK.h:
2905         * bindings/js/JSDOMGlobalObjectTask.h:
2906         * bindings/js/JSEventListener.h:
2907         * bindings/js/JSLazyEventListener.h:
2908         * bindings/js/JSMutationCallback.h:
2909         * bindings/js/PageScriptDebugServer.h:
2910         * bindings/js/ScriptDebugServer.h:
2911         * bindings/js/WebCoreTypedArrayController.h:
2912         * bindings/js/WorkerScriptDebugServer.h:
2913         * bridge/c/c_class.h:
2914         * bridge/c/c_instance.h:
2915         * bridge/c/c_runtime.h:
2916         * bridge/runtime_root.h:
2917         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
2918         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
2919         * crypto/algorithms/CryptoAlgorithmHMAC.h:
2920         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
2921         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
2922         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
2923         * crypto/algorithms/CryptoAlgorithmSHA1.h:
2924         * crypto/algorithms/CryptoAlgorithmSHA224.h:
2925         * crypto/algorithms/CryptoAlgorithmSHA256.h:
2926         * crypto/algorithms/CryptoAlgorithmSHA384.h:
2927         * crypto/algorithms/CryptoAlgorithmSHA512.h:
2928         * crypto/keys/CryptoKeyAES.h:
2929         * crypto/keys/CryptoKeyHMAC.h:
2930         * crypto/keys/CryptoKeyRSA.h:
2931         * crypto/keys/CryptoKeySerializationRaw.h:
2932         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
2933         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
2934         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
2935         * crypto/parameters/CryptoAlgorithmHmacParams.h:
2936         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
2937         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
2938         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
2939         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
2940         * css/CSSBasicShapes.h:
2941         * css/CSSCanvasValue.h:
2942         * css/CSSCharsetRule.h:
2943         * css/CSSComputedStyleDeclaration.h:
2944         * css/CSSCrossfadeValue.h:
2945         * css/CSSFilterImageValue.h:
2946         * css/CSSFontFaceRule.h:
2947         * css/CSSFontSelector.h:
2948         * css/CSSGroupingRule.h:
2949         * css/CSSHostRule.h:
2950         * css/CSSImportRule.h:
2951         * css/CSSMediaRule.h:
2952         * css/CSSPageRule.h:
2953         * css/CSSStyleRule.h:
2954         * css/CSSStyleSheet.h:
2955         * css/CSSSupportsRule.h:
2956         * css/CSSUnknownRule.h:
2957         * css/FontLoader.cpp:
2958         * css/FontLoader.h:
2959         * css/PropertySetCSSStyleDeclaration.h:
2960         * css/WebKitCSSFilterRule.h:
2961         * css/WebKitCSSKeyframeRule.h:
2962         * css/WebKitCSSKeyframesRule.h:
2963         * css/WebKitCSSRegionRule.h:
2964         * css/WebKitCSSViewportRule.h:
2965         * dom/Attr.h:
2966         * dom/BeforeTextInsertedEvent.h:
2967         * dom/BeforeUnloadEvent.h:
2968         * dom/CDATASection.h:
2969         * dom/CharacterData.h:
2970         * dom/ChildNodeList.h:
2971         * dom/Clipboard.cpp:
2972         * dom/ClipboardEvent.h:
2973         * dom/ContainerNode.h:
2974         * dom/DOMImplementation.cpp:
2975         * dom/DatasetDOMStringMap.h:
2976         * dom/DeviceMotionController.h:
2977         * dom/DeviceOrientationController.h:
2978         * dom/Document.h:
2979         * dom/DocumentEventQueue.cpp:
2980         * dom/DocumentEventQueue.h:
2981         * dom/DocumentFragment.h:
2982         * dom/Element.h:
2983         * dom/ErrorEvent.h:
2984         * dom/EventContext.h:
2985         * dom/EventTarget.h:
2986         * dom/FocusEvent.h:
2987         * dom/KeyboardEvent.h:
2988         * dom/LiveNodeList.h:
2989         * dom/MessagePort.h:
2990         * dom/MouseEvent.h:
2991         * dom/MutationRecord.cpp:
2992         * dom/Node.h:
2993         * dom/PageTransitionEvent.h:
2994         * dom/ProcessingInstruction.h:
2995         * dom/ProgressEvent.h:
2996         * dom/PseudoElement.h:
2997         * dom/ScriptExecutionContext.h:
2998         * dom/ShadowRoot.h:
2999         * dom/StaticNodeList.h:
3000         * dom/StyledElement.h:
3001         * dom/TagNodeList.h:
3002         * dom/TemplateContentDocumentFragment.h:
3003         * dom/Text.h:
3004         * dom/TextEvent.h:
3005         * dom/TouchEvent.h:
3006         * dom/TransitionEvent.h:
3007         * dom/UIEvent.h:
3008         * dom/WebKitAnimationEvent.h:
3009         * dom/WebKitNamedFlow.h:
3010         * dom/WebKitTransitionEvent.h:
3011         * editing/AppendNodeCommand.h:
3012         * editing/ApplyBlockElementCommand.h:
3013         * editing/ApplyStyleCommand.h:
3014         * editing/BreakBlockquoteCommand.h:
3015         * editing/CompositeEditCommand.h:
3016         * editing/DeleteButton.h:
3017         * editing/DeleteFromTextNodeCommand.h:
3018         * editing/EditCommand.h:
3019         * editing/InsertIntoTextNodeCommand.h:
3020         * editing/InsertNodeBeforeCommand.h:
3021         * editing/InsertTextCommand.h:
3022         * editing/MergeIdenticalElementsCommand.h:
3023         * editing/RemoveCSSPropertyCommand.h:
3024         * editing/RemoveNodeCommand.h:
3025         * editing/ReplaceNodeWithSpanCommand.h:
3026         * editing/SetNodeAttributeCommand.h:
3027         * editing/SetSelectionCommand.h:
3028         * editing/SpellChecker.h:
3029         * editing/SpellingCorrectionCommand.cpp:
3030         * editing/SpellingCorrectionCommand.h:
3031         * editing/SplitElementCommand.h:
3032         * editing/SplitTextNodeCommand.h:
3033         * editing/WrapContentsInDummySpanCommand.h:
3034         * editing/ios/EditorIOS.mm:
3035         * editing/markup.cpp:
3036         * fileapi/Blob.cpp:
3037         * fileapi/Blob.h:
3038         * fileapi/File.h:
3039         * fileapi/FileReader.h:
3040         * fileapi/FileThreadTask.h:
3041         * history/BackForwardList.h:
3042         * html/BaseButtonInputType.h:
3043         * html/BaseCheckableInputType.h:
3044         * html/BaseChooserOnlyDateAndTimeInputType.h:
3045         * html/BaseClickableWithKeyInputType.h:
3046         * html/BaseDateAndTimeInputType.h:
3047         * html/BaseTextInputType.h:
3048         * html/ButtonInputType.h:
3049         * html/CheckboxInputType.h:
3050         * html/ClassList.h:
3051         * html/ColorInputType.h:
3052         * html/DOMSettableTokenList.h:
3053         * html/DateInputType.h:
3054         * html/DateTimeInputType.h:
3055         * html/DateTimeLocalInputType.h:
3056         * html/EmailInputType.h:
3057         * html/FTPDirectoryDocument.cpp:
3058         * html/FileInputType.h:
3059         * html/FormAssociatedElement.cpp:
3060         * html/FormAssociatedElement.h:
3061         * html/HTMLAnchorElement.h:
3062         * html/HTMLAppletElement.h:
3063         * html/HTMLAreaElement.h:
3064         * html/HTMLBRElement.h:
3065         * html/HTMLBaseElement.h:
3066         * html/HTMLBodyElement.h:
3067         * html/HTMLButtonElement.h:
3068         * html/HTMLCanvasElement.h:
3069         * html/HTMLDetailsElement.cpp:
3070         * html/HTMLDetailsElement.h:
3071         * html/HTMLDivElement.h:
3072         * html/HTMLDocument.h:
3073         * html/HTMLElement.h:
3074         * html/HTMLEmbedElement.h:
3075         * html/HTMLFieldSetElement.h:
3076         * html/HTMLFontElement.h:
3077         * html/HTMLFormControlElement.h:
3078         * html/HTMLFormControlElementWithState.h:
3079         * html/HTMLFormControlsCollection.h:
3080         * html/HTMLFormElement.h:
3081         * html/HTMLFrameElement.h:
3082         * html/HTMLFrameElementBase.h:
3083         * html/HTMLFrameOwnerElement.h:
3084         * html/HTMLFrameSetElement.h:
3085         * html/HTMLHRElement.h:
3086         * html/HTMLHtmlElement.h:
3087         * html/HTMLIFrameElement.h:
3088         * html/HTMLImageElement.h:
3089         * html/HTMLImageLoader.h:
3090         * html/HTMLInputElement.cpp:
3091         * html/HTMLInputElement.h:
3092         * html/HTMLKeygenElement.h:
3093         * html/HTMLLIElement.h:
3094         * html/HTMLLabelElement.h:
3095         * html/HTMLLegendElement.h:
3096         * html/HTMLLinkElement.h:
3097         * html/HTMLMapElement.h:
3098         * html/HTMLMarqueeElement.h:
3099         * html/HTMLMediaElement.h:
3100         * html/HTMLMediaSession.h:
3101         * html/HTMLMediaSource.h:
3102         * html/HTMLMetaElement.h:
3103         * html/HTMLMeterElement.h:
3104         * html/HTMLModElement.h:
3105         * html/HTMLOListElement.h:
3106         * html/HTMLObjectElement.h:
3107         * html/HTMLOptGroupElement.h:
3108         * html/HTMLOptionElement.h:
3109         * html/HTMLOutputElement.h:
3110         * html/HTMLParagraphElement.h:
3111         * html/HTMLParamElement.h:
3112         * html/HTMLPlugInElement.h:
3113         * html/HTMLPlugInImageElement.h:
3114         * html/HTMLPreElement.h:
3115         * html/HTMLProgressElement.h:
3116         * html/HTMLQuoteElement.h:
3117         * html/HTMLScriptElement.h:
3118         * html/HTMLSelectElement.h:
3119         * html/HTMLSourceElement.h:
3120         * html/HTMLStyleElement.h:
3121         * html/HTMLSummaryElement.h:
3122         * html/HTMLTableCaptionElement.h:
3123         * html/HTMLTableCellElement.h:
3124         * html/HTMLTableColElement.h:
3125         * html/HTMLTableElement.h:
3126         * html/HTMLTablePartElement.h:
3127         * html/HTMLTableRowsCollection.h:
3128         * html/HTMLTableSectionElement.h:
3129         * html/HTMLTemplateElement.h:
3130         * html/HTMLTextAreaElement.h:
3131         * html/HTMLTextFormControlElement.h:
3132         * html/HTMLTitleElement.h:
3133         * html/HTMLTrackElement.h:
3134         * html/HTMLUListElement.h:
3135         * html/HTMLUnknownElement.h:
3136         * html/HTMLVideoElement.h:
3137         * html/HiddenInputType.h:
3138         * html/ImageDocument.cpp:
3139         * html/ImageInputType.h:
3140         * html/LabelableElement.h:
3141         * html/LabelsNodeList.h:
3142         * html/MediaController.h:
3143         * html/MonthInputType.h:
3144         * html/NumberInputType.h:
3145         * html/PasswordInputType.h:
3146         * html/PluginDocument.h:
3147         * html/RadioInputType.h:
3148         * html/RangeInputType.h:
3149         * html/ResetInputType.h:
3150         * html/SearchInputType.h:
3151         * html/SubmitInputType.h:
3152         * html/TelephoneInputType.h:
3153         * html/TextFieldInputType.h:
3154         * html/TextInputType.h:
3155         * html/TimeInputType.h:
3156         * html/URLInputType.h:
3157         * html/WeekInputType.h:
3158         * html/canvas/CanvasRenderingContext2D.cpp:
3159         * html/canvas/CanvasRenderingContext2D.h:
3160         * html/canvas/WebGLRenderingContext.h:
3161         * html/parser/HTMLDocumentParser.h:
3162         * html/parser/TextDocumentParser.h:
3163         * html/shadow/DetailsMarkerControl.h:
3164         * html/shadow/InsertionPoint.h:
3165         * html/shadow/MediaControlElementTypes.h:
3166         * html/shadow/MediaControlElements.h:
3167         * html/shadow/MediaControls.h:
3168         * html/shadow/MediaControlsApple.h:
3169         * html/shadow/MediaControlsGtk.h:
3170         * html/shadow/MeterShadowElement.h:
3171         * html/shadow/ProgressShadowElement.h:
3172         * html/shadow/SliderThumbElement.cpp:
3173         * html/shadow/SliderThumbElement.h:
3174         * html/shadow/SpinButtonElement.h:
3175         * html/shadow/TextControlInnerElements.h:
3176         * html/shadow/YouTubeEmbedShadowElement.h:
3177         * html/track/AudioTrack.h:
3178         * html/track/AudioTrackList.h:
3179         * html/track/InbandGenericTextTrack.h:
3180         * html/track/InbandTextTrack.h:
3181         * html/track/InbandWebVTTTextTrack.h:
3182         * html/track/LoadableTextTrack.h:
3183         * html/track/TextTrack.h:
3184         * html/track/TextTrackCue.h:
3185         * html/track/TextTrackCueGeneric.cpp:
3186         * html/track/TextTrackCueGeneric.h:
3187         * html/track/TextTrackList.h:
3188         * html/track/TrackListBase.h:
3189         * html/track/VideoTrack.h:
3190         * html/track/VideoTrackList.h:
3191         * html/track/WebVTTElement.h:
3192         * inspector/CommandLineAPIModule.h:
3193         * inspector/InjectedScriptCanvasModule.h:
3194         * inspector/InspectorApplicationCacheAgent.h:
3195         * inspector/InspectorCSSAgent.h:
3196         * inspector/InspectorCanvasAgent.h:
3197         * inspector/InspectorConsoleAgent.cpp:
3198         * inspector/InspectorConsoleAgent.h:
3199         * inspector/InspectorController.h:
3200         * inspector/InspectorDOMAgent.h:
3201         * inspector/InspectorDOMDebuggerAgent.h:
3202         * inspector/InspectorDOMStorageAgent.h:
3203         * inspector/InspectorDatabaseAgent.h:
3204         * inspector/InspectorDebuggerAgent.h:
3205         * inspector/InspectorHeapProfilerAgent.h:
3206         * inspector/InspectorIndexedDBAgent.cpp:
3207         * inspector/InspectorIndexedDBAgent.h:
3208         * inspector/InspectorInputAgent.h:
3209         * inspector/InspectorLayerTreeAgent.h:
3210         * inspector/InspectorMemoryAgent.h:
3211         * inspector/InspectorPageAgent.h:
3212         * inspector/InspectorProfilerAgent.h:
3213         * inspector/InspectorResourceAgent.h:
3214         * inspector/InspectorTimelineAgent.h:
3215         * inspector/InspectorWorkerAgent.h:
3216         * inspector/PageConsoleAgent.cpp:
3217         * inspector/PageConsoleAgent.h:
3218         * inspector/PageInjectedScriptHost.h:
3219         * inspector/PageInjectedScriptManager.h:
3220         * inspector/PageRuntimeAgent.h:
3221         * inspector/WorkerConsoleAgent.h:
3222         * inspector/WorkerDebuggerAgent.h:
3223         * inspector/WorkerInspectorController.h:
3224         * inspector/WorkerRuntimeAgent.h:
3225         * loader/DocumentLoader.h:
3226         * loader/EmptyClients.h:
3227         * loader/FrameNetworkingContext.h:
3228         * loader/ImageLoader.h:
3229         * loader/NavigationScheduler.cpp:
3230         * loader/NetscapePlugInStreamLoader.h:
3231         * loader/PingLoader.h:
3232         * loader/ResourceLoader.h:
3233         * loader/SubresourceLoader.h:
3234         * loader/WorkerThreadableLoader.h:
3235         * loader/appcache/ApplicationCacheGroup.cpp:
3236         * loader/appcache/ApplicationCacheGroup.h:
3237         * loader/appcache/DOMApplicationCache.h:
3238         * loader/archive/cf/LegacyWebArchive.h:
3239         * loader/cache/CachedCSSStyleSheet.h:
3240         * loader/cache/CachedFont.h:
3241         * loader/cache/CachedFontClient.h:
3242         * loader/cache/CachedImage.h:
3243         * loader/cache/CachedImageClient.h:
3244         * loader/cache/CachedRawResource.h:
3245         * loader/cache/CachedRawResourceClient.h:
3246         * loader/cache/CachedSVGDocument.h:
3247         * loader/cache/CachedSVGDocumentClient.h:
3248         * loader/cache/CachedScript.h:
3249         * loader/cache/CachedShader.h:
3250         * loader/cache/CachedStyleSheetClient.h:
3251         * loader/cache/CachedTextTrack.h:
3252         * loader/cache/CachedXSLStyleSheet.h:
3253         * loader/icon/IconLoader.h:
3254         * mathml/MathMLElement.h:
3255         * mathml/MathMLInlineContainerElement.h:
3256         * mathml/MathMLMathElement.h:
3257         * mathml/MathMLSelectElement.h:
3258         * mathml/MathMLTextElement.h:
3259         * page/CaptionUserPreferencesMediaAF.h:
3260         * page/Chrome.h:
3261         * page/DOMTimer.h:
3262         * page/DOMWindow.h:
3263         * page/DOMWindowExtension.h:
3264         * page/EventSource.h:
3265         * page/Frame.h:
3266         * page/FrameView.h:
3267         * page/PageDebuggable.h:
3268         * page/PageSerializer.cpp:
3269         * page/Performance.h:
3270         * page/SuspendableTimer.h:
3271         * page/animation/ImplicitAnimation.h:
3272         * page/animation/KeyframeAnimation.h:
3273         * page/scrolling/AsyncScrollingCoordinator.h:
3274         * page/scrolling/ScrollingConstraints.h:
3275         * page/scrolling/ScrollingStateFixedNode.h:
3276         * page/scrolling/ScrollingStateScrollingNode.h:
3277         * page/scrolling/ScrollingStateStickyNode.h:
3278         * page/scrolling/ScrollingTreeScrollingNode.h:
3279         * page/scrolling/ThreadedScrollingTree.h:
3280         * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
3281         * page/scrolling/ios/ScrollingCoordinatorIOS.h:
3282         * page/scrolling/ios/ScrollingTreeIOS.h:
3283         * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
3284         * page/scrolling/mac/ScrollingCoordinatorMac.h:
3285         * page/scrolling/mac/ScrollingTreeFixedNode.h:
3286         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
3287         * page/scrolling/mac/ScrollingTreeStickyNode.h:
3288         * pdf/ios/PDFDocument.cpp:
3289         * pdf/ios/PDFDocument.h:
3290         * platform/CalculationValue.h:
3291         * platform/ClockGeneric.h:
3292         * platform/MainThreadTask.h:
3293         * platform/PODIntervalTree.h:
3294         * platform/PODRedBlackTree.h:
3295         * platform/RefCountedSupplement.h:
3296         * platform/ScrollView.h:
3297         * platform/Scrollbar.h:
3298         * platform/Timer.h:
3299         * platform/animation/TimingFunction.h:
3300         * platform/audio/AudioDSPKernelProcessor.h:
3301         * platform/audio/EqualPowerPanner.h:
3302         * platform/audio/HRTFPanner.h:
3303         * platform/audio/ios/AudioDestinationIOS.h:
3304         * platform/audio/mac/AudioDestinationMac.h:
3305         * platform/audio/nix/AudioDestinationNix.h:
3306         * platform/efl/RenderThemeEfl.h:
3307         * platform/efl/ScrollbarEfl.h:
3308         * platform/efl/ScrollbarThemeEfl.h:
3309         * platform/graphics/AudioTrackPrivate.h:
3310         * platform/graphics/BitmapImage.h:
3311         * platform/graphics/CrossfadeGeneratedImage.h:
3312         * platform/graphics/FloatPolygon.h:
3313         * platform/graphics/GeneratedImage.h:
3314         * platform/graphics/GradientImage.h:
3315         * platform/graphics/GraphicsLayer.h:
3316         * platform/graphics/InbandTextTrackPrivate.h:
3317         * platform/graphics/MediaPlayer.cpp:
3318         * platform/graphics/SimpleFontData.h:
3319         * platform/graphics/VideoTrackPrivate.h:
3320         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
3321         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
3322         * platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
3323         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
3324         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
3325         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
3326         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
3327         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
3328         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
3329         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
3330         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
3331         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
3332         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
3333         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
3334         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
3335         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
3336         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
3337         * platform/graphics/ca/GraphicsLayerCA.h:
3338         * platform/graphics/ca/mac/PlatformCALayerMac.h:
3339         * platform/graphics/ca/mac/TileController.h:
3340         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
3341         * platform/graphics/ca/win/PlatformCALayerWin.h:
3342         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
3343         * platform/graphics/cg/PDFDocumentImage.h:
3344         * platform/graphics/efl/GraphicsContext3DPrivate.h:
3345         * platform/graphics/egl/GLContextFromCurrentEGL.h:
3346         * platform/graphics/filters/DistantLightSource.h:
3347         * platform/graphics/filters/FEComposite.h:
3348         * platform/graphics/filters/FEDisplacementMap.h:
3349         * platform/graphics/filters/FEFlood.h:
3350         * platform/graphics/filters/FilterOperation.h:
3351         * platform/graphics/filters/PointLightSource.h:
3352         * platform/graphics/filters/SpotLightSource.h:
3353         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
3354         * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
3355         * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
3356         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
3357         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
3358         * platform/graphics/ios/MediaPlayerPrivateIOS.h:
3359         * platform/graphics/ios/TextTrackRepresentationIOS.h:
3360         * platform/graphics/surfaces/GLTransportSurface.h:
3361         * platform/graphics/surfaces/egl/EGLContext.h:
3362         * platform/graphics/surfaces/egl/EGLSurface.h:
3363         * platform/graphics/surfaces/egl/EGLXSurface.h:
3364         * platform/graphics/surfaces/glx/GLXContext.h:
3365         * platform/graphics/surfaces/glx/GLXSurface.h:
3366         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
3367         * platform/graphics/texmap/TextureMapperGL.h:
3368         * platform/graphics/texmap/TextureMapperImageBuffer.h:
3369         * platform/graphics/texmap/TextureMapperLayer.h:
3370         * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
3371         * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
3372         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
3373         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h:
3374         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
3375         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
3376         * platform/graphics/texmap/coordinated/CoordinatedTile.h:
3377         * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
3378         * platform/gtk/RenderThemeGtk.h:
3379         * platform/ios/DeviceMotionClientIOS.h:
3380         * platform/ios/DeviceOrientationClientIOS.h:
3381         * platform/ios/ScrollAnimatorIOS.h:
3382         * platform/ios/ScrollbarThemeIOS.h:
3383         * platform/ios/WebSafeGCActivityCallbackIOS.h:
3384         * platform/ios/WebSafeIncrementalSweeperIOS.h:
3385         * platform/mac/PlatformClockCA.h:
3386         * platform/mac/PlatformClockCM.h:
3387         * platform/mac/ScrollAnimatorMac.h:
3388         * platform/mac/ScrollbarThemeMac.h:
3389         * platform/mediastream/MediaStreamTrackPrivate.h:
3390         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
3391         * platform/mediastream/mac/AVAudioCaptureSource.h:
3392         * platform/mediastream/mac/AVMediaCaptureSource.h:
3393         * platform/mediastream/mac/AVVideoCaptureSource.h:
3394         * platform/mediastream/mac/MediaStreamCenterMac.h:
3395         * platform/mock/DeviceMotionClientMock.h:
3396         * platform/mock/DeviceOrientationClientMock.h:
3397         * platform/mock/MockMediaStreamCenter.h:
3398         * platform/mock/RTCDataChannelHandlerMock.h:
3399         * platform/mock/RTCNotifiersMock.h:
3400         * platform/mock/RTCPeerConnectionHandlerMock.h:
3401         * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
3402         * platform/mock/mediasource/MockMediaSourcePrivate.h:
3403         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
3404         * platform/mock/mediasource/MockSourceBufferPrivate.h:
3405         * platform/network/BlobRegistryImpl.h:
3406         * platform/network/BlobResourceHandle.cpp:
3407         * platform/network/BlobResourceHandle.h:
3408         * platform/network/ResourceHandle.h:
3409         * platform/network/SynchronousLoaderClient.h:
3410         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
3411         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
3412         * platform/nix/RenderThemeNix.h:
3413         * platform/nix/ScrollbarThemeNix.h:
3414         * platform/text/LocaleICU.h:
3415         * platform/text/LocaleNone.cpp:
3416         * platform/text/PlatformLocale.cpp:
3417         * platform/text/mac/LocaleMac.h:
3418         * platform/text/win/LocaleWin.h:
3419         * platform/win/PopupMenuWin.h:
3420         * plugins/PluginView.h:
3421         * rendering/AutoTableLayout.h:
3422         * rendering/ClipPathOperation.h:
3423         * rendering/EllipsisBox.h:
3424         * rendering/FilterEffectRenderer.h:
3425         * rendering/FixedTableLayout.h:
3426         * rendering/InlineElementBox.h:
3427         * rendering/InlineFlowBox.h:
3428         * rendering/InlineTextBox.h:
3429         * rendering/RenderBlock.h:
3430         * rendering/RenderBlockFlow.h:
3431         * rendering/RenderBox.h:
3432         * rendering/RenderBoxModelObject.h:
3433         * rendering/RenderButton.h:
3434         * rendering/RenderCombineText.h:
3435         * rendering/RenderCounter.h:
3436         * rendering/RenderDeprecatedFlexibleBox.h:
3437         * rendering/RenderDetailsMarker.h:
3438         * rendering/RenderElement.h:
3439         * rendering/RenderEmbeddedObject.h:
3440         * rendering/RenderFieldset.h:
3441         * rendering/RenderFileUploadControl.h:
3442         * rendering/RenderFlexibleBox.h:
3443         * rendering/RenderFlowThread.h:
3444         * rendering/RenderFrame.h:
3445         * rendering/RenderFrameSet.h:
3446         * rendering/RenderFullScreen.h:
3447         * rendering/RenderGrid.h:
3448         * rendering/RenderHTMLCanvas.h:
3449         * rendering/RenderIFrame.h:
3450         * rendering/RenderImage.h:
3451         * rendering/RenderImageResourceStyleImage.h:
3452         * rendering/RenderInline.h:
3453         * rendering/RenderLayer.h:
3454         * rendering/RenderLayerBacking.h:
3455         * rendering/RenderLayerCompositor.h:
3456         * rendering/RenderLayerFilterInfo.h:
3457         * rendering/RenderLayerModelObject.h:
3458         * rendering/RenderLineBreak.h:
3459         * rendering/RenderListBox.h:
3460         * rendering/RenderListItem.h:
3461         * rendering/RenderListMarker.h:
3462         * rendering/RenderMedia.h:
3463         * rendering/RenderMenuList.h:
3464         * rendering/RenderMeter.h:
3465         * rendering/RenderMultiColumnBlock.h:
3466         * rendering/RenderMultiColumnFlowThread.h:
3467         * rendering/RenderMultiColumnSet.h:
3468         * rendering/RenderNamedFlowFragment.h:
3469         * rendering/RenderNamedFlowThread.h:
3470         * rendering/RenderObject.h:
3471         * rendering/RenderProgress.h:
3472         * rendering/RenderQuote.h:
3473         * rendering/RenderRegion.h:
3474         * rendering/RenderRegionSet.h:
3475         * rendering/RenderReplaced.h:
3476         * rendering/RenderReplica.h:
3477         * rendering/RenderRuby.h:
3478         * rendering/RenderRubyRun.h:
3479         * rendering/RenderRubyText.h:
3480         * rendering/RenderScrollbar.h:
3481         * rendering/RenderScrollbarPart.h:
3482         * rendering/RenderScrollbarTheme.h:
34