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