d4c4b24af5578890d5bd0e5aed49a3805ff84730
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2016-01-04  Sergio Villar Senin  <svillar@igalia.com>
2
3         REGRESSION(r194143): Float width incorrectly calculated on Wikipedia
4         https://bugs.webkit.org/show_bug.cgi?id=152644
5
6         Reviewed by Myles C. Maxfield.
7
8         The min/max-content contribution computation for non replaced
9         blocks changed in r194143. The implementation was actually
10         more complex than it should be and actually incomplete as it
11         was not considering the case of out of flow elements (because
12         it was directly calling computeLogicalWidthInRegion()).
13
14         This new implementation simplifies a lot the code and makes it
15         more complete as it relies on min|maxPreferredLogicalWidth()
16         calls which already consider all the different types of boxes.
17
18         Test: fast/css-intrinsic-dimensions/inlinesize-contribution-floats.html
19
20         * rendering/RenderBlock.cpp:
21         (WebCore::RenderBlock::computeBlockPreferredLogicalWidths):
22
23 2016-01-04  David Hyatt  <hyatt@apple.com>
24
25         word-wrap: break-word broken inside a flexbox
26         https://bugs.webkit.org/show_bug.cgi?id=152321
27
28         Reviewed by Simon Fraser.
29
30         Added fast/text/word-break-on-flexbox-child.html
31
32         * rendering/RenderText.cpp:
33         (WebCore::RenderText::computePreferredLogicalWidths):
34
35         At some point word-wrap:break-word was mapped to CSS overflow-wrap, but the code
36         in RenderText was never updated to use the breakWords() RenderStyle function that
37         checks overflow-wrap's value.
38
39         This means all uses of word-wrap:break-word were broken when measuring the
40         intrinsic width of a RenderText.
41
42 2016-01-04  John Wilander  <wilander@apple.com>
43
44         webkitGetUserMedia built-in should use @then and not then
45         https://bugs.webkit.org/show_bug.cgi?id=152296
46
47         Reviewed by Brent Fulgham.
48
49         Test: streams/webkitGetUserMedia-shadowing-then.html
50
51         * Modules/mediastream/NavigatorUserMedia.js:
52         (webkitGetUserMedia): Modified to use @then syntax.
53
54 2016-01-04  Myles C. Maxfield  <mmaxfield@apple.com>
55
56         Post-commit update for r193484.
57         https://bugs.webkit.org/show_bug.cgi?id=151884
58
59         Unreviwed.
60
61         The same null check needs to be applied in fontHasVerticalGlyphs() as well.
62
63         * platform/graphics/cocoa/FontCocoa.mm:
64         (WebCore::fontHasVerticalGlyphs):
65
66 2016-01-04  David Hyatt  <hyatt@apple.com>
67
68         Video/audio-related cleanup after changes to the source element for picture support.
69         https://bugs.webkit.org/show_bug.cgi?id=152090
70
71         Reviewed by Darin Adler.
72
73          * html/HTMLMediaElement.cpp:
74         (WebCore::HTMLMediaElement::selectNextSourceChild):
75         Use the parsed MediaQueryList for video/audio, since we now cache that on the source elements for picture.
76
77         * html/HTMLSourceElement.cpp:
78         (WebCore::HTMLSourceElement::insertedInto):
79         (WebCore::HTMLSourceElement::removedFrom):
80         Add guards to fix the build when video is not enabled.
81
82 2016-01-04  Brent Fulgham  <bfulgham@apple.com>
83
84         [Win] Clean up some Windows WebCore files
85         https://bugs.webkit.org/show_bug.cgi?id=148275
86
87         Reviewed by Dean Jackson.
88
89         No new tests because there is no behavior change.
90
91         Update a handful of Windows-specific WebCore files to use
92         the proper method signatures for our updated interfaces,
93         get rid of cruft in the COM bindings, and use proper C++14
94         initializers.
95
96         * accessibility/win/AccessibilityObjectWrapperWin.h:
97         * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
98         * platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
99         * platform/win/PopupMenuWin.cpp:
100         * platform/win/PopupMenuWin.h:
101         * platform/win/WCDataObject.cpp:
102         * platform/win/WCDataObject.h:
103
104 2016-01-04  Andreas Kling  <akling@apple.com>
105
106         Simplify the CachedScript ASCII optimization.
107         <https://webkit.org/b/152596>
108
109         Reviewed by Antti Koivisto.
110
111         There's actually no need to keep a non-copying StringImpl around for the
112         CachedScript's internal SharedBuffer. Get rid of that so we don't need
113         to fidget with that string when the SharedBuffer changes underneath.
114
115         Renamed CachedScript::ASCIIOptimizationState to DecodingState to better
116         reflect what it's used for. Also added explicit caching of the string
117         hash since we can't rely on a StringImpl to keep that around now.
118
119         Bonus: Implement Darin's suggestion to let TextEncoding answer whether
120         an encoding is byte-based and thus eligible for the ASCII optimization.
121
122         * loader/cache/CachedResource.cpp:
123         (WebCore::CachedResource::tryReplaceEncodedData): Deleted.
124         * loader/cache/CachedResource.h:
125         (WebCore::CachedResource::didReplaceSharedBufferContents): Deleted.
126         * loader/cache/CachedScript.cpp:
127         (WebCore::CachedScript::script):
128         (WebCore::CachedScript::scriptHash):
129         (WebCore::encodingMayBeAllASCII): Deleted.
130         (WebCore::CachedScript::didReplaceSharedBufferContents): Deleted.
131         * loader/cache/CachedScript.h:
132         * platform/text/TextEncoding.h:
133         (WebCore::TextEncoding::isByteBasedEncoding):
134
135 2016-01-04  Philippe Normand  <pnormand@igalia.com>
136
137         [GStreamer] A video element isn't drawn onto the canvas.
138         https://bugs.webkit.org/show_bug.cgi?id=132671
139
140         Reviewed by Michael Catanzaro.
141
142         When both cairo-gl and gst-gl are available the texture coming
143         from glimagesink can be used to create a cairo-gl surface that can
144         be used for video rendering within a canvas element.
145
146         * html/canvas/CanvasRenderingContext2D.cpp:
147         (WebCore::CanvasRenderingContext2D::drawImage): Use NativeImage
148         drawing if both cairo-gl and gst-gl are available.
149         * platform/graphics/GraphicsContext.h: Implement drawNativeImage
150         for Cairo GraphicsContext.
151         * platform/graphics/cairo/GraphicsContextCairo.cpp:
152         (WebCore::GraphicsContext::drawNativeImage): Ditto.
153         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
154         Implement nativeImageForCurrentTime(), this method is used by the
155         canvas rendering context.
156         (WebCore::MediaPlayerPrivateGStreamerBase::nativeImageForCurrentTime):
157         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
158
159 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
160
161         [GTK] Fix -Wpessimizing-move warnings after switch to WTFMove
162         https://bugs.webkit.org/show_bug.cgi?id=152677
163
164         Reviewed by Andy Estes.
165
166         * platform/glib/KeyedDecoderGlib.cpp:
167         (WebCore::KeyedDecoderGlib::dictionaryFromGVariant):
168         * platform/graphics/egl/GLContextEGL.cpp:
169         (WebCore::GLContextEGL::createContext):
170         * platform/graphics/glx/GLContextGLX.cpp:
171         (WebCore::GLContextGLX::createContext):
172
173 2016-01-03  David Kilzer  <ddkilzer@apple.com>
174
175         -[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:] is missing an m_handle->client() NULL check
176         <https://webkit.org/b/152673>
177         <rdar://problem/23560530>
178
179         Reviewed by Daniel Bates.
180
181         * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm:
182         (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]):
183         Add NULL check for m_handle->client() so we don't crash due to a
184         NULL dereference inside the dispatch_async() block.
185
186 2016-01-03  Michael Catanzaro  <mcatanzaro@igalia.com>
187
188         Unreviewed, turn off temporary scrolling logging on GTK
189         https://bugs.webkit.org/show_bug.cgi?id=152649
190
191         * platform/Logging.cpp:
192         (WebCore::initializeLoggingChannelsIfNecessary): Deleted.
193
194 2016-01-03  Simon Fraser  <simon.fraser@apple.com>
195
196         Fix Windows build after r194515.
197
198         * platform/win/PopupMenuWin.cpp:
199         (WebCore::PopupMenuWin::scrollOffset):
200         (WebCore::PopupMenuWin::scrollPosition): Renamed.
201         * platform/win/PopupMenuWin.h:
202
203 2016-01-03  Khem Raj  <raj.khem@gmail.com>
204
205         WebKit fails to build with musl libc library
206         https://bugs.webkit.org/show_bug.cgi?id=152625
207
208         Reviewed by Daniel Bates and Alexey Proskuryakov.
209
210         malloc_trim is glibc specific API so guard it with __GLIBC__.
211
212         * platform/linux/MemoryPressureHandlerLinux.cpp:
213         (MemoryPressureHandler::platformReleaseMemory): Guard malloc_trim()
214         call with __GLIBC_.
215
216 2016-01-03  Simon Fraser  <simon.fraser@apple.com>
217
218         Minor cleanup in ScrollAnimator
219         https://bugs.webkit.org/show_bug.cgi?id=152656
220
221         Reviewed by Dan Bernstein.
222
223         Hide the fact that ScrollAnimator's m_currentPosX/m_currentPosY is not a FloatPoint
224         as much as possible.
225         
226         Do offset -> position conversion in ScrollAnimator::scrollToOffsetWithoutAnimation().
227         This is a behavior change, but I could never hit this code on Mac.
228
229         * platform/ScrollAnimator.cpp:
230         (WebCore::ScrollAnimator::scroll):
231         (WebCore::ScrollAnimator::scrollToOffsetWithoutAnimation):
232         (WebCore::ScrollAnimator::setCurrentPosition):
233         (WebCore::ScrollAnimator::updateActiveScrollSnapIndexForOffset):
234         (WebCore::ScrollAnimator::notifyPositionChanged):
235         (WebCore::ScrollAnimator::immediateScrollOnAxis):
236         (WebCore::ScrollAnimator::ScrollAnimator): Deleted.
237         (WebCore::ScrollAnimator::currentPosition): Deleted.
238         * platform/ScrollAnimator.h:
239         (WebCore::ScrollAnimator::ScrollAnimator::currentPosition):
240         (WebCore::ScrollAnimator::ScrollAnimator::setCurrentPositionInternal):
241         * platform/mac/ScrollAnimatorMac.mm:
242         (WebCore::ScrollAnimatorMac::scroll):
243         (WebCore::ScrollAnimatorMac::immediateScrollToPosition):
244         (WebCore::ScrollAnimatorMac::immediateScrollBy):
245
246 2016-01-03  Simon Fraser  <simon.fraser@apple.com>
247
248         Rename scrollPosition(Scrollbar*) to scrollOffset(ScrollbarOrientation)
249         https://bugs.webkit.org/show_bug.cgi?id=152666
250
251         Reviewed by Dan Bernstein.
252
253         Scrollbar values take offsets (zero-based), so rename the accessor used
254         by scrollbars to set their value, and pass in an orientation, rather than
255         a pointer to the scrollbar.
256
257         * platform/ScrollView.cpp:
258         (WebCore::ScrollView::scrollOffset): Use scrollOffsetFromPosition rather than
259         manually adding scrollOrigin.
260         (WebCore::ScrollView::scrollPosition): Renamed.
261         * platform/ScrollView.h:
262         (WebCore::ScrollView::cachedScrollPosition):
263         * platform/ScrollableArea.h:
264         * platform/Scrollbar.cpp:
265         (WebCore::Scrollbar::Scrollbar):
266         (WebCore::Scrollbar::offsetDidChange):
267         * rendering/RenderLayer.cpp:
268         (WebCore::RenderLayer::scrollOffset):
269         (WebCore::RenderLayer::scrollPosition): Renamed.
270         * rendering/RenderLayer.h:
271         * rendering/RenderListBox.cpp:
272         (WebCore::RenderListBox::scrollOffset):
273         (WebCore::RenderListBox::scrollPosition): Renamed.
274         * rendering/RenderListBox.h:
275
276 2016-01-03  Simon Fraser  <simon.fraser@apple.com>
277
278         scrollLeft returns different values for viewport and non-viewport scrolling with rtl
279         https://bugs.webkit.org/show_bug.cgi?id=94405
280         rdar://problem/21829754
281
282         Reviewed by Zalan Bujtas.
283         
284         Use scrollPosition for DOM-exposed scroll* values on overflow scroll elements,
285         matching the CSS OM View spec, and Gecko behavior.
286
287         Test: fast/scrolling/programmatic-overflow-rtl-scrollIntoView.html
288
289         * rendering/RenderBox.cpp:
290         (WebCore::RenderBox::scrollLeft):
291         (WebCore::RenderBox::scrollTop):
292         (WebCore::RenderBox::setScrollLeft):
293         (WebCore::RenderBox::setScrollTop):
294         * rendering/RenderLayer.cpp:
295         (WebCore::RenderLayer::scrollToXPosition):
296         (WebCore::RenderLayer::scrollToYPosition):
297         * rendering/RenderLayer.h:
298
299 2016-01-03  Simon Fraser  <simon.fraser@apple.com>
300
301         Some cleanup in ScrollAnimator
302         https://bugs.webkit.org/show_bug.cgi?id=152649
303
304         Try to fix GTK scroll position errors in RTL.
305         
306         ScrollAnimatorNone::scrollToOffsetWithoutAnimation() was failing to map from
307         offset to position.
308         
309         Also add logging in ScrollableArea::scrollToOffsetWithoutAnimation().
310
311         * platform/ScrollAnimatorNone.cpp:
312         (WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation):
313         * platform/ScrollableArea.cpp:
314         (WebCore::ScrollableArea::scrollToOffsetWithoutAnimation):
315
316 2016-01-02  Simon Fraser  <simon.fraser@apple.com>
317
318         Temporarily turn on Scrolling logging on GTK, to investigate
319         GTK failures from https://bugs.webkit.org/show_bug.cgi?id=152649.
320         
321         * platform/Logging.cpp:
322         (WebCore::initializeLoggingChannelsIfNecessary):
323
324 2016-01-02  Simon Fraser  <simon.fraser@apple.com>
325
326         Some cleanup in ScrollAnimator
327         https://bugs.webkit.org/show_bug.cgi?id=152649
328
329         Try to fix GTK test failures. ScrollAnimatorNone needs to map correctly between
330         min and max scroll positions.
331
332         * platform/ScrollAnimatorNone.cpp:
333         (WebCore::ScrollAnimatorNone::PerAxisData::updateDataFromParameters):
334         (WebCore::ScrollAnimatorNone::scroll):
335         * platform/ScrollAnimatorNone.h:
336
337 2016-01-02  Max Stepin  <maxstepin@gmail.com>
338
339         APNG decoder: only decode the frames up to haltAtFrame
340         https://bugs.webkit.org/show_bug.cgi?id=146205
341
342         Reviewed by Michael Catanzaro.
343
344         No new tests, already covered by existing tests.
345
346         * platform/image-decoders/png/PNGImageDecoder.cpp:
347         (WebCore::PNGImageReader::close):
348         (WebCore::PNGImageReader::decode):
349         (WebCore::PNGImageDecoder::isSizeAvailable):
350         (WebCore::PNGImageDecoder::frameBufferAtIndex):
351         (WebCore::PNGImageDecoder::pngComplete):
352         (WebCore::PNGImageDecoder::decode):
353         * platform/image-decoders/png/PNGImageDecoder.h:
354         (WebCore::PNGImageDecoder::isComplete):
355         (WebCore::PNGImageDecoder::isCompleteAtIndex):
356
357 2016-01-02  Simon Fraser  <simon.fraser@apple.com>
358
359         Some cleanup in ScrollAnimator
360         https://bugs.webkit.org/show_bug.cgi?id=152649
361
362         Reviewed by Zalan Bujtas.
363
364         Change ScrollAnimatorMac::adjustScrollPositionIfNecessary() and similar code in
365         ScrollingTreeFrameScrollingNodeMac::adjustScrollPositionToBoundsIfNecessary() to
366         constrain between minimumScrollPosition() and maximumScrollPosition(), rather than
367         rolling their own code.
368         
369         This revealed several issues. First, RenderLayer::maximumScrollPosition() is
370         wrong when the layer has borders, because RenderLayer::visibleContentRectInternal()
371         seems to have incorrect logic. However, we can just remove it, and use the ScrollableArea
372         implementation.
373         
374         Second, ScrollAnimatorMac::scrollToOffsetWithoutAnimation() was failing to do a
375         position/offset conversion, so do one. We're converting too much, and should probably
376         just change ScrollAnimator to do everything in terms of positions.
377         
378         Third, ScrollAnimator::scroll() was clamping a scroll position as an offset
379         (detected by scrollbars/scroll-rtl-or-bt-layer.html), so fix that.
380         
381         Remove ScrollController::absoluteScrollPosition() and overrides, since this was
382         confusingly named, and could just be removed.
383         
384         Remove ScrollController::m_origOrigin which was assigned to, but never read.
385
386         Test: fast/scrolling/arrow-key-scroll-in-rtl-document.html: new
387               fast/dom/horizontal-scrollbar-in-rtl.html: progressed with these changes.
388
389         * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
390         * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
391         (WebCore::ScrollingTreeFrameScrollingNodeMac::adjustScrollPositionToBoundsIfNecessary):
392         (WebCore::ScrollingTreeFrameScrollingNodeMac::absoluteScrollPosition): Deleted.
393         * platform/ScrollAnimator.cpp:
394         (WebCore::ScrollAnimator::scroll):
395         (WebCore::ScrollAnimator::notifyPositionChanged):
396         * platform/ScrollableArea.h:
397         (WebCore::ScrollableArea::constrainScrollPosition):
398         * platform/cocoa/ScrollController.h:
399         * platform/cocoa/ScrollController.mm:
400         (WebCore::ScrollController::snapRubberBandTimerFired): Deleted.
401         (WebCore::ScrollController::snapRubberBand): Deleted.
402         * platform/mac/ScrollAnimatorMac.h:
403         * platform/mac/ScrollAnimatorMac.mm:
404         (-[WebScrollAnimationHelperDelegate _immediateScrollToPoint:]):
405         (WebCore::ScrollAnimatorMac::scroll):
406         (WebCore::ScrollAnimatorMac::scrollToOffsetWithoutAnimation):
407         (WebCore::ScrollAnimatorMac::adjustScrollPositionIfNecessary):
408         (WebCore::ScrollAnimatorMac::adjustScrollPositionToBoundsIfNecessary):
409         (WebCore::ScrollAnimatorMac::immediateScrollToPosition):
410         (WebCore::ScrollAnimatorMac::immediateScrollToPositionForScrollAnimation):
411         (WebCore::ScrollAnimatorMac::immediateScrollTo): Deleted.
412         (WebCore::ScrollAnimatorMac::immediateScrollToPointForScrollAnimation): Deleted.
413         (WebCore::ScrollAnimatorMac::absoluteScrollPosition): Deleted.
414         * rendering/RenderLayer.cpp:
415         (WebCore::RenderLayer::visibleContentRectInternal):
416         (WebCore::RenderLayer::overhangAmount):
417         (WebCore::RenderLayer::maximumScrollPosition): Deleted.
418         * rendering/RenderLayer.h:
419         * rendering/RenderListBox.cpp:
420         (WebCore::RenderListBox::minimumScrollPosition):
421         (WebCore::RenderListBox::maximumScrollPosition): RenderListBox scrolls by lines,
422         so it needs a custom implementation of this.
423         * rendering/RenderListBox.h:
424
425 2016-01-02  Zalan Bujtas  <zalan@apple.com>
426
427         Simple line layout:: Add text-decoration support.
428         https://bugs.webkit.org/show_bug.cgi?id=152623
429
430         Reviewed by Antti Koivisto.
431
432         This patch enables text-decoration for simple line layout.
433         -webkit-text-underline-position: under requires normal line layout context, skip it for now.
434
435         Test: fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration.html
436
437         * rendering/SimpleLineLayout.cpp:
438         (WebCore::SimpleLineLayout::canUseForStyle):
439         (WebCore::SimpleLineLayout::printReason):
440         * rendering/SimpleLineLayoutFunctions.cpp:
441         (WebCore::SimpleLineLayout::paintFlow): In case of multiple RenderText renderers (long text), it's ok
442         to pass the first text renderer as they all share the same set of decorations. 
443
444 2015-12-31  Andy Estes  <aestes@apple.com>
445
446         Replace WTF::move with WTFMove
447         https://bugs.webkit.org/show_bug.cgi?id=152601
448
449         Reviewed by Brady Eidson.
450
451         * Modules/battery/NavigatorBattery.cpp:
452         (WebCore::NavigatorBattery::from):
453         * Modules/encryptedmedia/CDMSessionClearKey.cpp:
454         (WebCore::CDMSessionClearKey::update):
455         * Modules/encryptedmedia/MediaKeys.cpp:
456         (WebCore::MediaKeys::create):
457         (WebCore::MediaKeys::MediaKeys):
458         * Modules/gamepad/NavigatorGamepad.cpp:
459         (WebCore::NavigatorGamepad::from):
460         * Modules/gamepad/deprecated/NavigatorGamepad.cpp:
461         (WebCore::NavigatorGamepad::from):
462         * Modules/geolocation/GeoNotifier.cpp:
463         (WebCore::GeoNotifier::GeoNotifier):
464         (WebCore::GeoNotifier::setFatalError):
465         * Modules/geolocation/GeoNotifier.h:
466         (WebCore::GeoNotifier::create):
467         * Modules/geolocation/Geolocation.cpp:
468         (WebCore::Geolocation::Watchers::add):
469         (WebCore::Geolocation::getCurrentPosition):
470         (WebCore::Geolocation::watchPosition):
471         * Modules/geolocation/GeolocationController.cpp:
472         (WebCore::GeolocationController::viewStateDidChange):
473         * Modules/geolocation/Geoposition.h:
474         (WebCore::Geoposition::create):
475         (WebCore::Geoposition::Geoposition):
476         * Modules/geolocation/NavigatorGeolocation.cpp:
477         (WebCore::NavigatorGeolocation::from):
478         * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
479         (WebCore::DOMWindowIndexedDatabase::from):
480         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp:
481         (WebCore::WorkerGlobalScopeIndexedDatabase::from):
482         * Modules/indexeddb/client/IDBAnyImpl.cpp:
483         (WebCore::IDBClient::IDBAny::IDBAny):
484         * Modules/indexeddb/client/IDBAnyImpl.h:
485         (WebCore::IDBClient::IDBAny::create):
486         * Modules/indexeddb/client/IDBDatabaseImpl.cpp:
487         (WebCore::IDBClient::IDBDatabase::willCommitTransaction):
488         (WebCore::IDBClient::IDBDatabase::willAbortTransaction):
489         (WebCore::IDBClient::IDBDatabase::fireVersionChangeEvent):
490         * Modules/indexeddb/client/IDBIndexImpl.cpp:
491         (WebCore::IDBClient::IDBIndex::openCursor):
492         (WebCore::IDBClient::IDBIndex::openKeyCursor):
493         * Modules/indexeddb/client/IDBObjectStoreImpl.cpp:
494         (WebCore::IDBClient::IDBObjectStore::openCursor):
495         (WebCore::IDBClient::IDBObjectStore::get):
496         (WebCore::IDBClient::IDBObjectStore::deleteFunction):
497         (WebCore::IDBClient::IDBObjectStore::createIndex):
498         (WebCore::IDBClient::IDBObjectStore::index):
499         * Modules/indexeddb/client/IDBOpenDBRequestImpl.cpp:
500         (WebCore::IDBClient::IDBOpenDBRequest::onSuccess):
501         (WebCore::IDBClient::IDBOpenDBRequest::onUpgradeNeeded):
502         * Modules/indexeddb/client/IDBRequestImpl.cpp:
503         (WebCore::IDBClient::IDBRequest::enqueueEvent):
504         (WebCore::IDBClient::IDBRequest::setResult):
505         (WebCore::IDBClient::IDBRequest::setResultToStructuredClone):
506         * Modules/indexeddb/client/IDBTransactionImpl.cpp:
507         (WebCore::IDBClient::IDBTransaction::abort):
508         (WebCore::IDBClient::IDBTransaction::scheduleOperation):
509         (WebCore::IDBClient::IDBTransaction::commit):
510         (WebCore::IDBClient::IDBTransaction::enqueueEvent):
511         (WebCore::IDBClient::IDBTransaction::createObjectStore):
512         (WebCore::IDBClient::IDBTransaction::createIndex):
513         (WebCore::IDBClient::IDBTransaction::doRequestOpenCursor):
514         (WebCore::IDBClient::IDBTransaction::iterateCursor):
515         (WebCore::IDBClient::IDBTransaction::requestGetRecord):
516         (WebCore::IDBClient::IDBTransaction::requestIndexRecord):
517         (WebCore::IDBClient::IDBTransaction::requestClearObjectStore):
518         (WebCore::IDBClient::IDBTransaction::requestPutOrAdd):
519         (WebCore::IDBClient::IDBTransaction::deleteObjectStore):
520         (WebCore::IDBClient::IDBTransaction::deleteIndex):
521         * Modules/indexeddb/legacy/IDBDatabaseBackend.cpp:
522         (WebCore::IDBDatabaseBackend::processPendingOpenCalls):
523         * Modules/indexeddb/legacy/IDBDatabaseBackend.h:
524         (WebCore::IDBDatabaseBackend::setPendingSecondHalfOpen):
525         * Modules/indexeddb/legacy/LegacyAny.h:
526         (WebCore::LegacyAny::create):
527         * Modules/indexeddb/legacy/LegacyDatabase.cpp:
528         (WebCore::LegacyDatabase::enqueueEvent):
529         * Modules/indexeddb/legacy/LegacyRequest.cpp:
530         (WebCore::LegacyRequest::enqueueEvent):
531         * Modules/indexeddb/legacy/LegacyTransaction.cpp:
532         (WebCore::LegacyTransaction::enqueueEvent):
533         * Modules/indexeddb/server/IDBServer.cpp:
534         (WebCore::IDBServer::IDBServer::postDatabaseTask):
535         (WebCore::IDBServer::IDBServer::postDatabaseTaskReply):
536         * Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp:
537         (WebCore::IDBServer::MemoryBackingStoreTransaction::indexDeleted):
538         (WebCore::IDBServer::MemoryBackingStoreTransaction::objectStoreDeleted):
539         (WebCore::IDBServer::MemoryBackingStoreTransaction::objectStoreCleared):
540         (WebCore::IDBServer::MemoryBackingStoreTransaction::indexCleared):
541         (WebCore::IDBServer::MemoryBackingStoreTransaction::abort):
542         * Modules/indexeddb/server/MemoryIDBBackingStore.cpp:
543         (WebCore::IDBServer::MemoryIDBBackingStore::beginTransaction):
544         (WebCore::IDBServer::MemoryIDBBackingStore::createObjectStore):
545         (WebCore::IDBServer::MemoryIDBBackingStore::deleteObjectStore):
546         (WebCore::IDBServer::MemoryIDBBackingStore::restoreObjectStoreForVersionChangeAbort):
547         (WebCore::IDBServer::MemoryIDBBackingStore::registerObjectStore):
548         * Modules/indexeddb/server/MemoryIndex.cpp:
549         (WebCore::IDBServer::MemoryIndex::objectStoreCleared):
550         (WebCore::IDBServer::MemoryIndex::replaceIndexValueStore):
551         * Modules/indexeddb/server/MemoryObjectStore.cpp:
552         (WebCore::IDBServer::MemoryObjectStore::createIndex):
553         (WebCore::IDBServer::MemoryObjectStore::maybeRestoreDeletedIndex):
554         (WebCore::IDBServer::MemoryObjectStore::deleteIndex):
555         (WebCore::IDBServer::MemoryObjectStore::clear):
556         (WebCore::IDBServer::MemoryObjectStore::replaceKeyValueStore):
557         (WebCore::IDBServer::MemoryObjectStore::registerIndex):
558         * Modules/indexeddb/server/ServerOpenDBRequest.cpp:
559         (WebCore::IDBServer::ServerOpenDBRequest::notifiedConnectionsOfVersionChange):
560         * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
561         (WebCore::IDBServer::UniqueIDBDatabase::openDatabaseConnection):
562         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
563         (WebCore::IDBServer::UniqueIDBDatabase::startVersionChangeTransaction):
564         (WebCore::IDBServer::UniqueIDBDatabase::maybeNotifyConnectionsOfVersionChange):
565         (WebCore::IDBServer::UniqueIDBDatabase::connectionClosedFromClient):
566         (WebCore::IDBServer::UniqueIDBDatabase::enqueueTransaction):
567         (WebCore::IDBServer::UniqueIDBDatabase::takeNextRunnableTransaction):
568         * Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp:
569         (WebCore::IDBServer::UniqueIDBDatabaseConnection::establishTransaction):
570         * Modules/indexeddb/shared/IndexKey.cpp:
571         (WebCore::IndexKey::isolatedCopy):
572         * Modules/mediasession/WebMediaSessionManager.cpp:
573         (WebCore::WebMediaSessionManager::setPlaybackTarget):
574         * Modules/mediasource/MediaSource.cpp:
575         (WebCore::MediaSource::setPrivateAndOpen):
576         * Modules/mediasource/SourceBuffer.cpp:
577         (WebCore::SourceBuffer::create):
578         (WebCore::SourceBuffer::SourceBuffer):
579         * Modules/mediastream/MediaDevices.cpp:
580         (WebCore::MediaDevices::getUserMedia):
581         (WebCore::MediaDevices::enumerateDevices):
582         * Modules/mediastream/MediaDevicesRequest.cpp:
583         (WebCore::MediaDevicesRequest::create):
584         (WebCore::MediaDevicesRequest::MediaDevicesRequest):
585         * Modules/mediastream/MediaStream.cpp:
586         (WebCore::MediaStream::create):
587         (WebCore::MediaStream::MediaStream):
588         (WebCore::MediaStream::addTrack):
589         (WebCore::MediaStream::didRemoveTrack):
590         (WebCore::MediaStream::internalAddTrack):
591         (WebCore::MediaStream::internalRemoveTrack):
592         * Modules/mediastream/NavigatorMediaDevices.cpp:
593         (WebCore::NavigatorMediaDevices::from):
594         * Modules/mediastream/RTCConfiguration.cpp:
595         (WebCore::RTCConfiguration::initialize):
596         * Modules/mediastream/RTCDTMFSender.cpp:
597         (WebCore::RTCDTMFSender::create):
598         (WebCore::RTCDTMFSender::RTCDTMFSender):
599         (WebCore::RTCDTMFSender::scheduleDispatchEvent):
600         * Modules/mediastream/RTCDataChannel.cpp:
601         (WebCore::RTCDataChannel::create):
602         (WebCore::RTCDataChannel::RTCDataChannel):
603         (WebCore::RTCDataChannel::scheduleDispatchEvent):
604         * Modules/mediastream/RTCIceCandidateEvent.cpp:
605         (WebCore::RTCIceCandidateEvent::create):
606         (WebCore::RTCIceCandidateEvent::RTCIceCandidateEvent):
607         * Modules/mediastream/RTCPeerConnection.cpp:
608         (WebCore::RTCPeerConnection::create):
609         (WebCore::RTCPeerConnection::RTCPeerConnection):
610         (WebCore::RTCPeerConnection::addTrack):
611         (WebCore::RTCPeerConnection::queuedCreateOffer):
612         (WebCore::RTCPeerConnection::queuedCreateAnswer):
613         (WebCore::RTCPeerConnection::queuedSetLocalDescription):
614         (WebCore::RTCPeerConnection::queuedSetRemoteDescription):
615         (WebCore::RTCPeerConnection::queuedAddIceCandidate):
616         (WebCore::RTCPeerConnection::setConfiguration):
617         (WebCore::RTCPeerConnection::privateGetStats):
618         * Modules/mediastream/RTCRtpReceiver.cpp:
619         (WebCore::RTCRtpReceiver::RTCRtpReceiver):
620         * Modules/mediastream/RTCRtpReceiver.h:
621         (WebCore::RTCRtpReceiver::create):
622         * Modules/mediastream/RTCRtpSender.cpp:
623         (WebCore::RTCRtpSender::RTCRtpSender):
624         * Modules/mediastream/RTCRtpSender.h:
625         (WebCore::RTCRtpSender::create):
626         * Modules/mediastream/RTCTrackEvent.cpp:
627         (WebCore::RTCTrackEvent::create):
628         * Modules/mediastream/UserMediaRequest.cpp:
629         (WebCore::UserMediaRequest::start):
630         (WebCore::UserMediaRequest::UserMediaRequest):
631         * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
632         (WebCore::provideNavigatorContentUtilsTo):
633         * Modules/navigatorcontentutils/NavigatorContentUtils.h:
634         * Modules/notifications/DOMWindowNotifications.cpp:
635         (WebCore::DOMWindowNotifications::from):
636         * Modules/notifications/NotificationCenter.cpp:
637         (WebCore::NotificationCenter::timerFired):
638         * Modules/notifications/WorkerGlobalScopeNotifications.cpp:
639         (WebCore::WorkerGlobalScopeNotifications::from):
640         * Modules/plugins/QuickTimePluginReplacement.mm:
641         (WebCore::QuickTimePluginReplacement::createElementRenderer):
642         * Modules/plugins/YouTubePluginReplacement.cpp:
643         (WebCore::YouTubePluginReplacement::createElementRenderer):
644         (WebCore::YouTubePluginReplacement::installReplacement):
645         * Modules/quota/DOMWindowQuota.cpp:
646         (WebCore::DOMWindowQuota::from):
647         * Modules/quota/NavigatorStorageQuota.cpp:
648         (WebCore::NavigatorStorageQuota::from):
649         * Modules/quota/WorkerNavigatorStorageQuota.cpp:
650         (WebCore::WorkerNavigatorStorageQuota::from):
651         * Modules/speech/DOMWindowSpeechSynthesis.cpp:
652         (WebCore::DOMWindowSpeechSynthesis::from):
653         * Modules/speech/SpeechSynthesis.cpp:
654         (WebCore::SpeechSynthesis::setPlatformSynthesizer):
655         * Modules/webaudio/AsyncAudioDecoder.cpp:
656         (WebCore::AsyncAudioDecoder::decodeAsync):
657         * Modules/webaudio/AudioContext.cpp:
658         (WebCore::AudioContext::addReaction):
659         (WebCore::AudioContext::suspend):
660         (WebCore::AudioContext::resume):
661         (WebCore::AudioContext::close):
662         * Modules/webaudio/AudioNode.cpp:
663         (WebCore::AudioNode::addInput):
664         (WebCore::AudioNode::addOutput):
665         * Modules/webaudio/AudioScheduledSourceNode.cpp:
666         (WebCore::AudioScheduledSourceNode::addEventListener):
667         * Modules/webaudio/ConvolverNode.cpp:
668         (WebCore::ConvolverNode::setBuffer):
669         * Modules/webaudio/MediaStreamAudioDestinationNode.cpp:
670         (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode):
671         * Modules/webaudio/ScriptProcessorNode.cpp:
672         (WebCore::ScriptProcessorNode::addEventListener):
673         * Modules/webdatabase/Database.cpp:
674         (WebCore::Database::openAndVerifyVersion):
675         (WebCore::Database::scheduleTransaction):
676         (WebCore::Database::scheduleTransactionStep):
677         (WebCore::Database::markAsDeletedAndClose):
678         (WebCore::Database::runTransaction):
679         (WebCore::Database::tableNames):
680         * Modules/webdatabase/DatabaseThread.cpp:
681         (WebCore::DatabaseThread::scheduleTask):
682         (WebCore::DatabaseThread::scheduleImmediateTask):
683         * Modules/webdatabase/SQLTransaction.cpp:
684         (WebCore::SQLTransaction::create):
685         (WebCore::SQLTransaction::SQLTransaction):
686         (WebCore::SQLTransaction::executeSQL):
687         * Modules/webdatabase/SQLTransactionBackend.cpp:
688         (WebCore::SQLTransactionBackend::enqueueStatementBackend):
689         (WebCore::SQLTransactionBackend::executeSQL):
690         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
691         (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
692         (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
693         * Modules/websockets/WebSocket.cpp:
694         (WebCore::WebSocket::didReceiveBinaryData):
695         (WebCore::WebSocket::dispatchOrQueueEvent):
696         * Modules/websockets/WebSocketChannel.cpp:
697         (WebCore::WebSocketChannel::processFrame):
698         * Modules/websockets/WebSocketExtensionDispatcher.cpp:
699         (WebCore::WebSocketExtensionDispatcher::addProcessor):
700         * Modules/websockets/WebSocketHandshake.cpp:
701         (WebCore::WebSocketHandshake::addExtensionProcessor):
702         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
703         (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
704         * accessibility/AXObjectCache.cpp:
705         (WebCore::AXObjectCache::notificationPostTimerFired):
706         (WebCore::AXObjectCache::passwordNotificationPostTimerFired):
707         * accessibility/AccessibilityNodeObject.cpp:
708         (WebCore::AccessibilityNodeObject::ariaLabeledByText):
709         * accessibility/AccessibilityObject.cpp:
710         (WebCore::AccessibilityObject::selectText):
711         * accessibility/AccessibilityObject.h:
712         (WebCore::AccessibilityText::AccessibilityText):
713         * bindings/gobject/DOMObjectCache.cpp:
714         * bindings/js/IDBBindingUtilities.cpp:
715         (WebCore::maybeCreateIDBKeyFromScriptValueAndKeyPath):
716         (WebCore::generateIndexKeyForValue):
717         * bindings/js/JSCryptoAlgorithmDictionary.cpp:
718         (WebCore::createAesCbcParams):
719         (WebCore::createAesKeyGenParams):
720         (WebCore::createHmacParams):
721         (WebCore::createHmacKeyParams):
722         (WebCore::createRsaKeyGenParams):
723         (WebCore::createRsaOaepParams):
724         (WebCore::createRsaSsaParams):
725         * bindings/js/JSCryptoKeySerializationJWK.cpp:
726         (WebCore::createHMACParameters):
727         (WebCore::createRSAKeyParametersWithHash):
728         (WebCore::JSCryptoKeySerializationJWK::reconcileAlgorithm):
729         * bindings/js/JSDOMPromise.h:
730         (WebCore::DOMPromise::DOMPromise):
731         * bindings/js/JSDOMWindowBase.cpp:
732         (WebCore::JSDOMWindowBase::queueTaskToEventLoop):
733         * bindings/js/JSDOMWindowCustom.cpp:
734         (WebCore::JSDOMWindow::setTimeout):
735         (WebCore::JSDOMWindow::setInterval):
736         * bindings/js/JSDOMWrapper.h:
737         (WebCore::JSDOMWrapper::JSDOMWrapper):
738         * bindings/js/JSMessageEventCustom.cpp:
739         (WebCore::handleInitMessageEvent):
740         * bindings/js/JSSubtleCryptoCustom.cpp:
741         (WebCore::JSSubtleCrypto::encrypt):
742         (WebCore::JSSubtleCrypto::decrypt):
743         (WebCore::JSSubtleCrypto::sign):
744         (WebCore::JSSubtleCrypto::verify):
745         (WebCore::JSSubtleCrypto::digest):
746         (WebCore::JSSubtleCrypto::generateKey):
747         (WebCore::importKey):
748         (WebCore::JSSubtleCrypto::importKey):
749         (WebCore::JSSubtleCrypto::exportKey):
750         (WebCore::JSSubtleCrypto::wrapKey):
751         (WebCore::JSSubtleCrypto::unwrapKey):
752         * bindings/js/JSWorkerGlobalScopeCustom.cpp:
753         (WebCore::JSWorkerGlobalScope::setTimeout):
754         (WebCore::JSWorkerGlobalScope::setInterval):
755         * bindings/js/SerializedScriptValue.cpp:
756         (WebCore::CloneDeserializer::readRSAKey):
757         (WebCore::CloneDeserializer::readTerminal):
758         (WebCore::SerializedScriptValue::SerializedScriptValue):
759         (WebCore::SerializedScriptValue::create):
760         * bindings/scripts/CodeGeneratorJS.pm:
761         (GenerateHeader):
762         (GenerateImplementation):
763         * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
764         (WebCore::JSTestActiveDOMObject::JSTestActiveDOMObject):
765         * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
766         (WebCore::JSTestActiveDOMObject::create):
767         * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
768         (WebCore::JSTestClassWithJSBuiltinConstructor::JSTestClassWithJSBuiltinConstructor):
769         * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h:
770         (WebCore::JSTestClassWithJSBuiltinConstructor::create):
771         * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
772         (WebCore::JSTestCustomConstructorWithNoInterfaceObject::JSTestCustomConstructorWithNoInterfaceObject):
773         * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.h:
774         (WebCore::JSTestCustomConstructorWithNoInterfaceObject::create):
775         * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
776         (WebCore::JSTestCustomNamedGetter::JSTestCustomNamedGetter):
777         * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
778         (WebCore::JSTestCustomNamedGetter::create):
779         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
780         (WebCore::JSTestEventConstructor::JSTestEventConstructor):
781         * bindings/scripts/test/JS/JSTestEventConstructor.h:
782         (WebCore::JSTestEventConstructor::create):
783         * bindings/scripts/test/JS/JSTestEventTarget.cpp:
784         (WebCore::JSTestEventTarget::JSTestEventTarget):
785         * bindings/scripts/test/JS/JSTestEventTarget.h:
786         (WebCore::JSTestEventTarget::create):
787         * bindings/scripts/test/JS/JSTestException.cpp:
788         (WebCore::JSTestException::JSTestException):
789         * bindings/scripts/test/JS/JSTestException.h:
790         (WebCore::JSTestException::create):
791         * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
792         (WebCore::JSTestGenerateIsReachable::JSTestGenerateIsReachable):
793         * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
794         (WebCore::JSTestGenerateIsReachable::create):
795         * bindings/scripts/test/JS/JSTestInterface.cpp:
796         (WebCore::JSTestInterface::JSTestInterface):
797         * bindings/scripts/test/JS/JSTestInterface.h:
798         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
799         (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
800         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
801         (WebCore::JSTestMediaQueryListListener::create):
802         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
803         (WebCore::JSTestNamedConstructor::JSTestNamedConstructor):
804         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
805         (WebCore::JSTestNamedConstructor::create):
806         * bindings/scripts/test/JS/JSTestNode.cpp:
807         (WebCore::JSTestNode::JSTestNode):
808         * bindings/scripts/test/JS/JSTestNode.h:
809         * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
810         (WebCore::JSTestNondeterministic::JSTestNondeterministic):
811         * bindings/scripts/test/JS/JSTestNondeterministic.h:
812         (WebCore::JSTestNondeterministic::create):
813         * bindings/scripts/test/JS/JSTestObj.cpp:
814         (WebCore::JSTestObj::JSTestObj):
815         * bindings/scripts/test/JS/JSTestObj.h:
816         (WebCore::JSTestObj::create):
817         * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
818         (WebCore::JSTestOverloadedConstructors::JSTestOverloadedConstructors):
819         * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
820         (WebCore::JSTestOverloadedConstructors::create):
821         * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
822         (WebCore::JSTestOverrideBuiltins::JSTestOverrideBuiltins):
823         * bindings/scripts/test/JS/JSTestOverrideBuiltins.h:
824         (WebCore::JSTestOverrideBuiltins::create):
825         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
826         (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
827         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
828         (WebCore::JSTestSerializedScriptValueInterface::create):
829         * bindings/scripts/test/JS/JSTestTypedefs.cpp:
830         (WebCore::JSTestTypedefs::JSTestTypedefs):
831         * bindings/scripts/test/JS/JSTestTypedefs.h:
832         (WebCore::JSTestTypedefs::create):
833         * bindings/scripts/test/JS/JSattribute.cpp:
834         (WebCore::JSattribute::JSattribute):
835         * bindings/scripts/test/JS/JSattribute.h:
836         (WebCore::JSattribute::create):
837         * bindings/scripts/test/JS/JSreadonly.cpp:
838         (WebCore::JSreadonly::JSreadonly):
839         * bindings/scripts/test/JS/JSreadonly.h:
840         (WebCore::JSreadonly::create):
841         * bridge/c/CRuntimeObject.cpp:
842         (JSC::Bindings::CRuntimeObject::CRuntimeObject):
843         * bridge/c/CRuntimeObject.h:
844         (JSC::Bindings::CRuntimeObject::create):
845         * bridge/c/c_class.cpp:
846         (JSC::Bindings::CClass::methodNamed):
847         (JSC::Bindings::CClass::fieldNamed):
848         * bridge/c/c_instance.cpp:
849         (JSC::Bindings::CInstance::CInstance):
850         * bridge/c/c_instance.h:
851         (JSC::Bindings::CInstance::create):
852         * bridge/jsc/BridgeJSC.cpp:
853         (JSC::Bindings::Array::Array):
854         (JSC::Bindings::Instance::Instance):
855         * bridge/objc/ObjCRuntimeObject.h:
856         (JSC::Bindings::ObjCRuntimeObject::create):
857         * bridge/objc/objc_class.mm:
858         (JSC::Bindings::ObjcClass::methodNamed):
859         (JSC::Bindings::ObjcClass::fieldNamed):
860         * bridge/objc/objc_instance.mm:
861         (ObjcInstance::ObjcInstance):
862         (ObjcInstance::create):
863         * bridge/objc/objc_runtime.mm:
864         (JSC::Bindings::ObjcArray::ObjcArray):
865         * bridge/runtime_object.cpp:
866         (JSC::Bindings::RuntimeObject::RuntimeObject):
867         * bridge/runtime_object.h:
868         * contentextensions/CombinedFiltersAlphabet.cpp:
869         (WebCore::ContentExtensions::TermCreatorTranslator::translate):
870         * contentextensions/CombinedURLFilters.cpp:
871         (WebCore::ContentExtensions::ActiveSubtree::ActiveSubtree):
872         (WebCore::ContentExtensions::generateSuffixWithReverseSuffixTree):
873         (WebCore::ContentExtensions::generateNFAForSubtree):
874         (WebCore::ContentExtensions::CombinedURLFilters::processNFAs):
875         * contentextensions/ContentExtension.cpp:
876         (WebCore::ContentExtensions::ContentExtension::create):
877         (WebCore::ContentExtensions::ContentExtension::ContentExtension):
878         * contentextensions/ContentExtensionCompiler.cpp:
879         (WebCore::ContentExtensions::compileRuleList):
880         * contentextensions/ContentExtensionParser.cpp:
881         (WebCore::ContentExtensions::loadEncodedRules):
882         * contentextensions/ContentExtensionsBackend.cpp:
883         (WebCore::ContentExtensions::ContentExtensionsBackend::addContentExtension):
884         * contentextensions/DFACombiner.cpp:
885         (WebCore::ContentExtensions::DFACombiner::combineDFAs):
886         * contentextensions/DFACombiner.h:
887         (WebCore::ContentExtensions::DFACombiner::addDFA):
888         * contentextensions/ImmutableNFANodeBuilder.h:
889         (WebCore::ContentExtensions::ImmutableNFANodeBuilder::ImmutableNFANodeBuilder):
890         (WebCore::ContentExtensions::ImmutableNFANodeBuilder::operator=):
891         * contentextensions/MutableRange.h:
892         (WebCore::ContentExtensions::MutableRange::MutableRange):
893         (WebCore::ContentExtensions::MutableRange::operator=):
894         * contentextensions/MutableRangeList.h:
895         (WebCore::ContentExtensions::MutableRangeList::extend):
896         (WebCore::ContentExtensions::MutableRangeList::insertBetween):
897         * contentextensions/Term.h:
898         (WebCore::ContentExtensions::Term::Term):
899         (WebCore::ContentExtensions::Term::operator=):
900         (WebCore::ContentExtensions::Term::generateSubgraphForAtom):
901         * crypto/CryptoAlgorithm.cpp:
902         (WebCore::CryptoAlgorithm::encryptForWrapKey):
903         (WebCore::CryptoAlgorithm::decryptForUnwrapKey):
904         * crypto/CryptoKeyPair.cpp:
905         (WebCore::CryptoKeyPair::CryptoKeyPair):
906         * crypto/CryptoKeyPair.h:
907         (WebCore::CryptoKeyPair::create):
908         * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
909         (WebCore::CryptoAlgorithmAES_CBC::encrypt):
910         (WebCore::CryptoAlgorithmAES_CBC::decrypt):
911         * crypto/algorithms/CryptoAlgorithmAES_KW.cpp:
912         (WebCore::CryptoAlgorithmAES_KW::encryptForWrapKey):
913         (WebCore::CryptoAlgorithmAES_KW::decryptForUnwrapKey):
914         * crypto/algorithms/CryptoAlgorithmHMAC.cpp:
915         (WebCore::CryptoAlgorithmHMAC::sign):
916         (WebCore::CryptoAlgorithmHMAC::verify):
917         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp:
918         (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::encrypt):
919         (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::decrypt):
920         (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::generateKey):
921         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp:
922         (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::sign):
923         (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::verify):
924         (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::generateKey):
925         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp:
926         (WebCore::CryptoAlgorithmRSA_OAEP::encrypt):
927         (WebCore::CryptoAlgorithmRSA_OAEP::decrypt):
928         (WebCore::CryptoAlgorithmRSA_OAEP::generateKey):
929         * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
930         (WebCore::CryptoAlgorithmAES_CBC::platformEncrypt):
931         (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt):
932         * crypto/mac/CryptoKeyRSAMac.cpp:
933         (WebCore::CryptoKeyRSA::generatePair):
934         * css/BasicShapeFunctions.cpp:
935         (WebCore::valueForBasicShape):
936         (WebCore::basicShapeForValue):
937         * css/CSSBasicShapes.cpp:
938         (WebCore::CSSBasicShapePath::CSSBasicShapePath):
939         * css/CSSBasicShapes.h:
940         * css/CSSBorderImage.cpp:
941         (WebCore::createBorderImageValue):
942         * css/CSSCalculationValue.cpp:
943         * css/CSSCalculationValue.h:
944         (WebCore::CSSCalcValue::CSSCalcValue):
945         * css/CSSComputedStyleDeclaration.cpp:
946         (WebCore::valueForNinePieceImageSlice):
947         (WebCore::valueForNinePieceImageQuad):
948         (WebCore::computedTransform):
949         (WebCore::ComputedStyleExtractor::valueForShadow):
950         (WebCore::ComputedStyleExtractor::valueForFilter):
951         (WebCore::valueForGridTrackList):
952         (WebCore::valueForGridPosition):
953         (WebCore::scrollSnapPoints):
954         (WebCore::scrollSnapCoordinates):
955         (WebCore::getWillChangePropertyValue):
956         (WebCore::fontVariantLigaturesPropertyValue):
957         (WebCore::fontVariantNumericPropertyValue):
958         (WebCore::fontVariantEastAsianPropertyValue):
959         (WebCore::fillRepeatToCSSValue):
960         (WebCore::fillSizeToCSSValue):
961         (WebCore::fontVariantFromStyle):
962         (WebCore::ComputedStyleExtractor::propertyValue):
963         * css/CSSCrossfadeValue.cpp:
964         (WebCore::CSSCrossfadeValue::blend):
965         * css/CSSCursorImageValue.cpp:
966         (WebCore::CSSCursorImageValue::CSSCursorImageValue):
967         * css/CSSCursorImageValue.h:
968         (WebCore::CSSCursorImageValue::create):
969         * css/CSSFilterImageValue.cpp:
970         (WebCore::CSSFilterImageValue::image):
971         * css/CSSFilterImageValue.h:
972         (WebCore::CSSFilterImageValue::create):
973         * css/CSSFontFace.cpp:
974         (WebCore::CSSFontFace::addSource):
975         * css/CSSFontFace.h:
976         (WebCore::CSSFontFace::create):
977         (WebCore::CSSFontFace::insertFeature):
978         * css/CSSFontFaceSource.cpp:
979         (WebCore::CSSFontFaceSource::font):
980         * css/CSSFontFeatureValue.cpp:
981         (WebCore::CSSFontFeatureValue::CSSFontFeatureValue):
982         * css/CSSFontFeatureValue.h:
983         (WebCore::CSSFontFeatureValue::create):
984         * css/CSSFontSelector.cpp:
985         (WebCore::createFontFace):
986         (WebCore::constructFamilyFontFaces):
987         * css/CSSGrammar.y.in:
988         * css/CSSImageValue.cpp:
989         (WebCore::CSSImageValue::cloneForCSSOM):
990         * css/CSSKeyframeRule.cpp:
991         (WebCore::StyleKeyframe::StyleKeyframe):
992         * css/CSSKeyframeRule.h:
993         (WebCore::StyleKeyframe::create):
994         * css/CSSParser.cpp:
995         (WebCore::CSSParser::parseFontFaceValue):
996         (WebCore::CSSParser::parseMediaQuery):
997         (WebCore::CSSParser::parseSizesAttribute):
998         (WebCore::CSSParser::SourceSize::SourceSize):
999         (WebCore::CSSParser::sourceSize):
1000         (WebCore::CSSParser::addFillValue):
1001         (WebCore::CSSParser::addAnimationValue):
1002         (WebCore::CSSParser::parse4ValuesFillPosition):
1003         (WebCore::CSSParser::parse3ValuesFillPosition):
1004         (WebCore::CSSParser::parseFillPosition):
1005         (WebCore::CSSParser::parseFillSize):
1006         (WebCore::CSSParser::parseDashboardRegions):
1007         (WebCore::CSSParser::parseClipShape):
1008         (WebCore::CSSParser::parseBasicShapePath):
1009         (WebCore::CSSParser::parseSystemFont):
1010         (WebCore::CSSParser::parseBorderImageRepeat):
1011         (WebCore::BorderImageSliceParseContext::commitBorderImageSlice):
1012         (WebCore::BorderImageQuadParseContext::commitBorderImageQuad):
1013         (WebCore::CSSParser::parseBuiltinFilterArguments):
1014         (WebCore::CSSParser::parseFontFeatureTag):
1015         (WebCore::CSSParser::parseFontVariantLigatures):
1016         (WebCore::CSSParser::parseFontVariantNumeric):
1017         (WebCore::CSSParser::parseFontVariantEastAsian):
1018         (WebCore::CSSParser::createKeyframesRule):
1019         (WebCore::CSSParser::rewriteSpecifiers):
1020         (WebCore::CSSParser::createPageRule):
1021         (WebCore::CSSParser::createSelectorVector):
1022         (WebCore::CSSParser::recycleSelectorVector):
1023         * css/CSSParserValues.cpp:
1024         (WebCore::CSSParserSelector::~CSSParserSelector):
1025         (WebCore::CSSParserSelector::adoptSelectorVector):
1026         (WebCore::CSSParserSelector::setLangArgumentList):
1027         (WebCore::CSSParserSelector::insertTagHistory):
1028         (WebCore::CSSParserSelector::appendTagHistory):
1029         (WebCore::CSSParserSelector::prependTagSelector):
1030         * css/CSSParserValues.h:
1031         (WebCore::CSSParserSelector::releaseSelector):
1032         (WebCore::CSSParserSelector::setTagHistory):
1033         * css/CSSPrimitiveValue.h:
1034         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1035         * css/CSSPrimitiveValueMappings.h:
1036         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1037         * css/CSSProperty.cpp:
1038         (WebCore::CSSProperty::wrapValueInCommaSeparatedList):
1039         * css/CSSSegmentedFontFace.cpp:
1040         (WebCore::CSSSegmentedFontFace::appendFontFace):
1041         (WebCore::appendFontWithInvalidUnicodeRangeIfLoading):
1042         * css/CSSSelector.cpp:
1043         (WebCore::CSSSelector::setLangArgumentList):
1044         (WebCore::CSSSelector::setSelectorList):
1045         * css/CSSStyleSheet.cpp:
1046         (WebCore::CSSStyleSheet::create):
1047         (WebCore::CSSStyleSheet::CSSStyleSheet):
1048         * css/CSSValueList.h:
1049         (WebCore::CSSValueList::append):
1050         (WebCore::CSSValueList::prepend):
1051         * css/DocumentRuleSets.cpp:
1052         (WebCore::DocumentRuleSets::initUserStyle):
1053         * css/FontLoader.cpp:
1054         (WebCore::FontLoader::scheduleEvent):
1055         * css/MediaList.cpp:
1056         (WebCore::MediaQuerySet::parse):
1057         (WebCore::MediaQuerySet::add):
1058         (WebCore::MediaQuerySet::addMediaQuery):
1059         * css/MediaQuery.cpp:
1060         (WebCore::MediaQuery::MediaQuery):
1061         * css/Pair.h:
1062         (WebCore::Pair::create):
1063         (WebCore::Pair::Pair):
1064         * css/RuleSet.cpp:
1065         (WebCore::RuleSet::addRegionRule):
1066         * css/RuleSet.h:
1067         (WebCore::RuleSet::RuleSetSelectorPair::RuleSetSelectorPair):
1068         * css/SVGCSSComputedStyleDeclaration.cpp:
1069         (WebCore::paintOrder):
1070         * css/SourceSizeList.cpp:
1071         (WebCore::match):
1072         (WebCore::parseSizesAttribute):
1073         * css/StyleBuilderCustom.h:
1074         (WebCore::StyleBuilderCustom::applyTextOrBoxShadowValue):
1075         (WebCore::StyleBuilderCustom::applyValueContent):
1076         (WebCore::StyleBuilderCustom::applyValueWillChange):
1077         * css/StyleResolver.cpp:
1078         (WebCore::StyleResolver::State::setStyle):
1079         (WebCore::StyleResolver::addToMatchedPropertiesCache):
1080         * css/StyleResolver.h:
1081         (WebCore::StyleResolver::State::setParentStyle):
1082         (WebCore::StyleResolver::State::setAuthorRollback):
1083         (WebCore::StyleResolver::State::setUserRollback):
1084         * css/StyleRule.cpp:
1085         (WebCore::StyleRule::StyleRule):
1086         (WebCore::StyleRule::create):
1087         (WebCore::StyleRulePage::StyleRulePage):
1088         (WebCore::StyleRuleFontFace::StyleRuleFontFace):
1089         (WebCore::StyleRuleGroup::wrapperInsertRule):
1090         (WebCore::StyleRuleViewport::StyleRuleViewport):
1091         * css/StyleRule.h:
1092         (WebCore::StyleRule::create):
1093         (WebCore::StyleRule::wrapperAdoptSelectorList):
1094         (WebCore::StyleRuleFontFace::create):
1095         (WebCore::StyleRulePage::create):
1096         (WebCore::StyleRulePage::wrapperAdoptSelectorList):
1097         (WebCore::StyleRuleViewport::create):
1098         * cssjit/SelectorCompiler.cpp:
1099         (WebCore::SelectorCompiler::SelectorCodeGenerator::generateSelectorChecker):
1100         (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatchesSelectorList):
1101         * dom/ActiveDOMCallbackMicrotask.cpp:
1102         (WebCore::ActiveDOMCallbackMicrotask::ActiveDOMCallbackMicrotask):
1103         * dom/Attr.cpp:
1104         (WebCore::Attr::cloneNodeInternal):
1105         * dom/ChildListMutationScope.cpp:
1106         (WebCore::ChildListMutationAccumulator::ChildListMutationAccumulator):
1107         * dom/ContainerNode.cpp:
1108         (WebCore::ContainerNode::insertBefore):
1109         (WebCore::ContainerNode::append):
1110         (WebCore::ContainerNode::prepend):
1111         * dom/DataTransfer.cpp:
1112         (WebCore::DataTransfer::DataTransfer):
1113         * dom/Document.cpp:
1114         (WebCore::Document::createNodeIterator):
1115         (WebCore::Document::createTreeWalker):
1116         (WebCore::Document::logExceptionToConsole):
1117         (WebCore::Document::cloneNodeInternal):
1118         (WebCore::Document::enqueueWindowEvent):
1119         (WebCore::Document::enqueueDocumentEvent):
1120         (WebCore::Document::enqueueOverflowEvent):
1121         (WebCore::Document::setTransformSource):
1122         (WebCore::Document::addMessage):
1123         (WebCore::Document::postTask):
1124         (WebCore::Document::pendingTasksTimerFired):
1125         (WebCore::Document::sendWillRevealEdgeEventsIfNeeded):
1126         * dom/DocumentEventQueue.cpp:
1127         (WebCore::DocumentEventQueue::enqueueOrDispatchScrollEvent):
1128         * dom/DocumentFragment.cpp:
1129         (WebCore::DocumentFragment::cloneNodeInternal):
1130         * dom/Element.cpp:
1131         (WebCore::Element::createElementRenderer):
1132         (WebCore::Element::addShadowRoot):
1133         (WebCore::Element::dispatchFocusInEvent):
1134         (WebCore::Element::dispatchFocusOutEvent):
1135         (WebCore::Element::dispatchFocusEvent):
1136         (WebCore::Element::dispatchBlurEvent):
1137         (WebCore::Element::resolveComputedStyle):
1138         (WebCore::Element::setBeforePseudoElement):
1139         (WebCore::Element::setAfterPseudoElement):
1140         * dom/ElementRareData.h:
1141         (WebCore::ElementRareData::setShadowRoot):
1142         (WebCore::ElementRareData::setAttributeMap):
1143         (WebCore::ElementRareData::setComputedStyle):
1144         (WebCore::ElementRareData::setClassList):
1145         (WebCore::ElementRareData::setDataset):
1146         (WebCore::ElementRareData::setBeforePseudoElement):
1147         (WebCore::ElementRareData::setAfterPseudoElement):
1148         * dom/Event.cpp:
1149         (WebCore::Event::setTarget):
1150         * dom/EventTarget.cpp:
1151         (WebCore::EventTarget::addEventListener):
1152         * dom/ExtensionStyleSheets.cpp:
1153         (WebCore::ExtensionStyleSheets::addUserStyleSheet):
1154         (WebCore::ExtensionStyleSheets::addAuthorStyleSheetForTesting):
1155         * dom/FocusEvent.cpp:
1156         (WebCore::FocusEvent::FocusEvent):
1157         * dom/FocusEvent.h:
1158         * dom/MessageEvent.cpp:
1159         (WebCore::MessageEvent::MessageEvent):
1160         (WebCore::MessageEvent::initMessageEvent):
1161         * dom/MessageEvent.h:
1162         * dom/MessagePort.cpp:
1163         (WebCore::MessagePort::postMessage):
1164         (WebCore::MessagePort::disentangle):
1165         (WebCore::MessagePort::entangle):
1166         (WebCore::MessagePort::dispatchMessages):
1167         (WebCore::MessagePort::disentanglePorts):
1168         (WebCore::MessagePort::entanglePorts):
1169         (WebCore::MessagePort::addEventListener):
1170         * dom/Microtasks.cpp:
1171         (WebCore::MicrotaskQueue::append):
1172         (WebCore::MicrotaskQueue::performMicrotaskCheckpoint):
1173         * dom/MutationObserver.cpp:
1174         (WebCore::queueMutationObserverCompoundMicrotask):
1175         * dom/NativeNodeFilter.h:
1176         * dom/Node.cpp:
1177         (WebCore::Node::before):
1178         (WebCore::Node::after):
1179         (WebCore::Node::replaceWith):
1180         (WebCore::Document::invalidateNodeListAndCollectionCaches):
1181         (WebCore::tryAddEventListener):
1182         (WebCore::Node::addEventListener):
1183         * dom/NodeIterator.cpp:
1184         (WebCore::NodeIterator::NodeIterator):
1185         * dom/NodeIterator.h:
1186         (WebCore::NodeIterator::create):
1187         * dom/ProcessingInstruction.cpp:
1188         (WebCore::ProcessingInstruction::setCSSStyleSheet):
1189         * dom/PseudoElement.cpp:
1190         (WebCore::PseudoElement::didRecalcStyle):
1191         * dom/ScopedEventQueue.cpp:
1192         (WebCore::ScopedEventQueue::enqueueEvent):
1193         (WebCore::ScopedEventQueue::dispatchAllEvents):
1194         * dom/ScriptExecutionContext.cpp:
1195         (WebCore::ScriptExecutionContext::reportException):
1196         * dom/ScriptExecutionContext.h:
1197         (WebCore::ScriptExecutionContext::Task::Task):
1198         * dom/SecurityContext.cpp:
1199         (WebCore::SecurityContext::setSecurityOriginPolicy):
1200         (WebCore::SecurityContext::setContentSecurityPolicy):
1201         * dom/SecurityOriginPolicy.cpp:
1202         (WebCore::SecurityOriginPolicy::create):
1203         (WebCore::SecurityOriginPolicy::SecurityOriginPolicy):
1204         * dom/SelectorQuery.cpp:
1205         (WebCore::SelectorQuery::SelectorQuery):
1206         (WebCore::SelectorQueryCache::add):
1207         * dom/ShadowRoot.cpp:
1208         (WebCore::ShadowRoot::ShadowRoot):
1209         * dom/ShadowRoot.h:
1210         * dom/SlotAssignment.cpp:
1211         (WebCore::SlotAssignment::SlotAssignment):
1212         * dom/StyledElement.cpp:
1213         (WebCore::StyledElement::rebuildPresentationAttributeStyle):
1214         * dom/Text.cpp:
1215         (WebCore::Text::splitText):
1216         (WebCore::Text::replaceWholeText):
1217         * dom/Traversal.cpp:
1218         (WebCore::NodeIteratorBase::NodeIteratorBase):
1219         * dom/TreeWalker.cpp:
1220         (WebCore::TreeWalker::TreeWalker):
1221         (WebCore::TreeWalker::traverseSiblings):
1222         * dom/TreeWalker.h:
1223         (WebCore::TreeWalker::create):
1224         * dom/TypedElementDescendantIterator.h:
1225         (WebCore::DoubleTypedElementDescendantIteratorAdapter<ElementType>::DoubleTypedElementDescendantIteratorAdapter):
1226         (WebCore::DoubleTypedElementDescendantIterator<ElementType>::DoubleTypedElementDescendantIterator):
1227         * dom/default/PlatformMessagePortChannel.cpp:
1228         (WebCore::PlatformMessagePortChannel::EventData::EventData):
1229         (WebCore::MessagePortChannel::createChannel):
1230         (WebCore::MessagePortChannel::postMessageToRemote):
1231         * dom/default/PlatformMessagePortChannel.h:
1232         (WebCore::PlatformMessagePortChannel::EventData::channels):
1233         (WebCore::PlatformMessagePortChannel::MessagePortQueue::appendAndCheckEmpty):
1234         * editing/AppendNodeCommand.cpp:
1235         (WebCore::AppendNodeCommand::AppendNodeCommand):
1236         * editing/AppendNodeCommand.h:
1237         (WebCore::AppendNodeCommand::create):
1238         * editing/CompositeEditCommand.cpp:
1239         (WebCore::CompositeEditCommand::replaceTextInNode):
1240         (WebCore::CompositeEditCommand::moveParagraphs):
1241         * editing/DeleteFromTextNodeCommand.h:
1242         (WebCore::DeleteFromTextNodeCommand::create):
1243         * editing/EditingStyle.cpp:
1244         (WebCore::applyTextDecorationChangeToValueList):
1245         (WebCore::EditingStyle::overrideTypingStyleAt):
1246         (WebCore::EditingStyle::conflictsWithInlineStyleOfElement):
1247         (WebCore::mergeTextDecorationValues):
1248         (WebCore::StyleChange::StyleChange):
1249         * editing/Editor.cpp:
1250         (WebCore::Editor::insertDictationPhrases):
1251         (WebCore::Editor::setTextAsChildOfElement):
1252         (WebCore::Editor::applyStyleToSelection):
1253         * editing/EditorCommand.cpp:
1254         (WebCore::applyCommandToFrame):
1255         (WebCore::executeInsertNode):
1256         (WebCore::executeInsertHorizontalRule):
1257         (WebCore::executeInsertImage):
1258         (WebCore::executeStrikethrough):
1259         (WebCore::executeUnderline):
1260         * editing/InsertIntoTextNodeCommand.h:
1261         (WebCore::InsertIntoTextNodeCommand::create):
1262         * editing/InsertNodeBeforeCommand.h:
1263         (WebCore::InsertNodeBeforeCommand::create):
1264         * editing/MergeIdenticalElementsCommand.cpp:
1265         (WebCore::MergeIdenticalElementsCommand::doApply):
1266         (WebCore::MergeIdenticalElementsCommand::doUnapply):
1267         * editing/MoveSelectionCommand.cpp:
1268         (WebCore::MoveSelectionCommand::doApply):
1269         * editing/RemoveNodeCommand.cpp:
1270         (WebCore::RemoveNodeCommand::RemoveNodeCommand):
1271         * editing/RemoveNodeCommand.h:
1272         (WebCore::RemoveNodeCommand::create):
1273         * editing/ReplaceDeleteFromTextNodeCommand.cpp:
1274         (WebCore::ReplaceDeleteFromTextNodeCommand::ReplaceDeleteFromTextNodeCommand):
1275         * editing/ReplaceDeleteFromTextNodeCommand.h:
1276         * editing/ReplaceInsertIntoTextNodeCommand.cpp:
1277         (WebCore::ReplaceInsertIntoTextNodeCommand::ReplaceInsertIntoTextNodeCommand):
1278         * editing/ReplaceInsertIntoTextNodeCommand.h:
1279         * editing/ReplaceNodeWithSpanCommand.cpp:
1280         (WebCore::swapInNodePreservingAttributesAndChildren):
1281         * editing/ReplaceSelectionCommand.h:
1282         (WebCore::ReplaceSelectionCommand::create):
1283         * editing/SplitElementCommand.cpp:
1284         (WebCore::SplitElementCommand::executeApply):
1285         (WebCore::SplitElementCommand::doUnapply):
1286         * editing/TextCheckingHelper.cpp:
1287         (WebCore::findGrammaticalErrors):
1288         (WebCore::checkTextOfParagraph):
1289         * editing/TextIterator.cpp:
1290         (WebCore::TextIteratorCopyableText::set):
1291         (WebCore::TextIterator::handleReplacedElement):
1292         (WebCore::TextIterator::emitText):
1293         (WebCore::SimplifiedBackwardsTextIterator::handleTextNode):
1294         (WebCore::TextIterator::rangeFromLocationAndLength):
1295         * editing/WrapContentsInDummySpanCommand.cpp:
1296         (WebCore::WrapContentsInDummySpanCommand::executeApply):
1297         (WebCore::WrapContentsInDummySpanCommand::doUnapply):
1298         * editing/ios/DictationCommandIOS.cpp:
1299         (WebCore::DictationCommandIOS::DictationCommandIOS):
1300         * editing/ios/DictationCommandIOS.h:
1301         (WebCore::DictationCommandIOS::create):
1302         * editing/ios/EditorIOS.mm:
1303         (WebCore::Editor::WebContentReader::readURL):
1304         (WebCore::Editor::createFragmentForImageResourceAndAddResource):
1305         * editing/mac/EditorMac.mm:
1306         (WebCore::Editor::WebContentReader::readFilenames):
1307         (WebCore::Editor::WebContentReader::readURL):
1308         (WebCore::Editor::createFragmentForImageResourceAndAddResource):
1309         * editing/markup.cpp:
1310         (WebCore::fillContainerFromString):
1311         (WebCore::createFragmentFromText):
1312         (WebCore::replaceChildrenWithFragment):
1313         (WebCore::replaceChildrenWithText):
1314         * fileapi/AsyncFileStream.cpp:
1315         (WebCore::callOnFileThread):
1316         * fileapi/Blob.cpp:
1317         (WebCore::Blob::Blob):
1318         * fileapi/Blob.h:
1319         (WebCore::Blob::create):
1320         * fileapi/FileList.h:
1321         (WebCore::FileList::create):
1322         (WebCore::FileList::FileList):
1323         (WebCore::FileList::append):
1324         * fileapi/ThreadableBlobRegistry.cpp:
1325         (WebCore::BlobRegistryContext::BlobRegistryContext):
1326         (WebCore::ThreadableBlobRegistry::registerBlobURL):
1327         * fileapi/WebKitBlobBuilder.cpp:
1328         (WebCore::BlobBuilder::append):
1329         (WebCore::BlobBuilder::finalize):
1330         * history/BackForwardController.cpp:
1331         (WebCore::BackForwardController::BackForwardController):
1332         (WebCore::BackForwardController::addItem):
1333         * history/BackForwardList.cpp:
1334         (WebCore::BackForwardList::addItem):
1335         * history/CachedFrame.cpp:
1336         (WebCore::CachedFrame::setCachedFramePlatformData):
1337         * history/HistoryItem.cpp:
1338         (WebCore::HistoryItem::setStateObject):
1339         (WebCore::HistoryItem::addChildItem):
1340         (WebCore::HistoryItem::setChildItem):
1341         (WebCore::HistoryItem::setFormData):
1342         (WebCore::HistoryItem::setRedirectURLs):
1343         * history/PageCache.cpp:
1344         (WebCore::PageCache::take):
1345         * html/BaseButtonInputType.cpp:
1346         (WebCore::BaseButtonInputType::createInputRenderer):
1347         * html/BaseChooserOnlyDateAndTimeInputType.cpp:
1348         (WebCore::BaseChooserOnlyDateAndTimeInputType::createShadowSubtree):
1349         * html/ColorInputType.cpp:
1350         (WebCore::ColorInputType::createShadowSubtree):
1351         * html/FTPDirectoryDocument.cpp:
1352         (WebCore::FTPDirectoryDocumentParser::appendEntry):
1353         (WebCore::FTPDirectoryDocumentParser::createTDForFilename):
1354         (WebCore::FTPDirectoryDocumentParser::createBasicDocument):
1355         (WebCore::FTPDirectoryDocumentParser::append):
1356         * html/FileInputType.cpp:
1357         (WebCore::FileInputType::createInputRenderer):
1358         (WebCore::FileInputType::createFileList):
1359         * html/FormController.cpp:
1360         (WebCore::FormController::formStatesFromStateVector):
1361         * html/HTMLAppletElement.cpp:
1362         (WebCore::HTMLAppletElement::createElementRenderer):
1363         * html/HTMLAttachmentElement.cpp:
1364         (WebCore::HTMLAttachmentElement::createElementRenderer):
1365         * html/HTMLBRElement.cpp:
1366         (WebCore::HTMLBRElement::createElementRenderer):
1367         * html/HTMLBodyElement.cpp:
1368         (WebCore::HTMLBodyElement::collectStyleForPresentationAttribute):
1369         * html/HTMLButtonElement.cpp:
1370         (WebCore::HTMLButtonElement::createElementRenderer):
1371         * html/HTMLCanvasElement.cpp:
1372         (WebCore::HTMLCanvasElement::createElementRenderer):
1373         (WebCore::HTMLCanvasElement::setImageBuffer):
1374         * html/HTMLCollection.cpp:
1375         (WebCore::HTMLCollection::updateNamedElementCache):
1376         * html/HTMLCollection.h:
1377         (WebCore::HTMLCollection::setNamedItemCache):
1378         * html/HTMLDetailsElement.cpp:
1379         (WebCore::HTMLDetailsElement::createElementRenderer):
1380         (WebCore::HTMLDetailsElement::didAddUserAgentShadowRoot):
1381         * html/HTMLElement.cpp:
1382         (WebCore::HTMLElement::populateEventHandlerNameMap):
1383         (WebCore::HTMLElement::setInnerText):
1384         (WebCore::HTMLElement::createElementRenderer):
1385         * html/HTMLFieldSetElement.cpp:
1386         (WebCore::HTMLFieldSetElement::createElementRenderer):
1387         * html/HTMLFormControlElement.cpp:
1388         (WebCore::HTMLFormControlElement::dispatchBlurEvent):
1389         * html/HTMLFormControlsCollection.cpp:
1390         (WebCore::HTMLFormControlsCollection::updateNamedElementCache):
1391         * html/HTMLFrameElement.cpp:
1392         (WebCore::HTMLFrameElement::createElementRenderer):
1393         * html/HTMLFrameSetElement.cpp:
1394         (WebCore::HTMLFrameSetElement::createElementRenderer):
1395         * html/HTMLIFrameElement.cpp:
1396         (WebCore::HTMLIFrameElement::createElementRenderer):
1397         * html/HTMLImageElement.cpp:
1398         (WebCore::HTMLImageElement::createElementRenderer):
1399         * html/HTMLInputElement.cpp:
1400         (WebCore::HTMLInputElement::updateType):
1401         (WebCore::HTMLInputElement::createElementRenderer):
1402         * html/HTMLKeygenElement.cpp:
1403         (WebCore::HTMLKeygenElement::HTMLKeygenElement):
1404         * html/HTMLLinkElement.cpp:
1405         (WebCore::HTMLLinkElement::setCSSStyleSheet):
1406         * html/HTMLMediaElement.cpp:
1407         (WebCore::HTMLMediaElement::createElementRenderer):
1408         (WebCore::HTMLMediaElement::addEventListener):
1409         (WebCore::HTMLMediaElement::setWirelessPlaybackTarget):
1410         (WebCore::HTMLMediaElement::mediaPlayerCreateResourceLoader):
1411         * html/HTMLMeterElement.cpp:
1412         (WebCore::HTMLMeterElement::createElementRenderer):
1413         (WebCore::HTMLMeterElement::didAddUserAgentShadowRoot):
1414         * html/HTMLOptionElement.cpp:
1415         (WebCore::HTMLOptionElement::createForJSConstructor):
1416         * html/HTMLPlugInElement.cpp:
1417         (WebCore::HTMLPlugInElement::createElementRenderer):
1418         * html/HTMLPlugInImageElement.cpp:
1419         (WebCore::HTMLPlugInImageElement::createElementRenderer):
1420         * html/HTMLProgressElement.cpp:
1421         (WebCore::HTMLProgressElement::createElementRenderer):
1422         (WebCore::HTMLProgressElement::didAddUserAgentShadowRoot):
1423         * html/HTMLSelectElement.cpp:
1424         (WebCore::HTMLSelectElement::createElementRenderer):
1425         (WebCore::HTMLSelectElement::dispatchFocusEvent):
1426         (WebCore::HTMLSelectElement::dispatchBlurEvent):
1427         * html/HTMLSummaryElement.cpp:
1428         (WebCore::HTMLSummaryElement::createElementRenderer):
1429         * html/HTMLTableElement.cpp:
1430         (WebCore::HTMLTableElement::insertRow):
1431         * html/HTMLTableRowElement.cpp:
1432         (WebCore::HTMLTableRowElement::insertCell):
1433         * html/HTMLTextAreaElement.cpp:
1434         (WebCore::HTMLTextAreaElement::createElementRenderer):
1435         * html/HTMLTextFormControlElement.cpp:
1436         (WebCore::HTMLTextFormControlElement::dispatchFocusEvent):
1437         (WebCore::HTMLTextFormControlElement::dispatchBlurEvent):
1438         * html/HTMLVideoElement.cpp:
1439         (WebCore::HTMLVideoElement::createElementRenderer):
1440         * html/HTMLWBRElement.cpp:
1441         (WebCore::HTMLWBRElement::createElementRenderer):
1442         * html/ImageDocument.cpp:
1443         (WebCore::ImageDocument::createDocumentStructure):
1444         * html/ImageInputType.cpp:
1445         (WebCore::ImageInputType::createInputRenderer):
1446         * html/InputType.cpp:
1447         (WebCore::InputType::createInputRenderer):
1448         * html/MediaDocument.cpp:
1449         (WebCore::MediaDocumentParser::createDocumentStructure):
1450         * html/MediaElementSession.cpp:
1451         (WebCore::MediaElementSession::setPlaybackTarget):
1452         * html/PluginDocument.cpp:
1453         (WebCore::PluginDocumentParser::createDocumentStructure):
1454         * html/RangeInputType.cpp:
1455         (WebCore::RangeInputType::createShadowSubtree):
1456         (WebCore::RangeInputType::createInputRenderer):
1457         * html/RubyElement.cpp:
1458         (WebCore::RubyElement::createElementRenderer):
1459         * html/RubyTextElement.cpp:
1460         (WebCore::RubyTextElement::createElementRenderer):
1461         * html/SearchInputType.cpp:
1462         (WebCore::SearchInputType::createInputRenderer):
1463         (WebCore::SearchInputType::createShadowSubtree):
1464         * html/TextFieldInputType.cpp:
1465         (WebCore::TextFieldInputType::createInputRenderer):
1466         * html/ValidationMessage.cpp:
1467         (WebCore::ValidationMessage::buildBubbleTree):
1468         * html/canvas/CanvasRenderingContext2D.cpp:
1469         (WebCore::CanvasRenderingContext2D::createLinearGradient):
1470         (WebCore::CanvasRenderingContext2D::createRadialGradient):
1471         * html/canvas/WebGLRenderingContextBase.cpp:
1472         (WebCore::WebGLRenderingContextBase::LRUImageBufferCache::imageBuffer):
1473         * html/parser/AtomicHTMLToken.h:
1474         (WebCore::AtomicHTMLToken::AtomicHTMLToken):
1475         * html/parser/HTMLConstructionSite.cpp:
1476         (WebCore::HTMLConstructionSite::executeQueuedTasks):
1477         (WebCore::HTMLConstructionSite::insertTextNode):
1478         * html/parser/HTMLDocumentParser.cpp:
1479         (WebCore::HTMLDocumentParser::append):
1480         * html/parser/HTMLElementStack.cpp:
1481         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
1482         (WebCore::HTMLElementStack::pushCommon):
1483         * html/parser/HTMLElementStack.h:
1484         (WebCore::HTMLElementStack::ElementRecord::releaseNext):
1485         (WebCore::HTMLElementStack::ElementRecord::setNext):
1486         * html/parser/HTMLPreloadScanner.cpp:
1487         (WebCore::TokenPreloadScanner::scan):
1488         (WebCore::HTMLPreloadScanner::scan):
1489         * html/parser/HTMLResourcePreloader.cpp:
1490         (WebCore::HTMLResourcePreloader::preload):
1491         * html/parser/HTMLStackItem.h:
1492         (WebCore::HTMLStackItem::HTMLStackItem):
1493         (WebCore::HTMLStackItem::create):
1494         * html/parser/HTMLToken.h:
1495         (WebCore::HTMLToken::releaseDoctypeData):
1496         * html/parser/HTMLTreeBuilder.cpp:
1497         (WebCore::HTMLTreeBuilder::takeScriptToProcess):
1498         (WebCore::HTMLTreeBuilder::processFakeStartTag):
1499         (WebCore::HTMLTreeBuilder::insertPhoneNumberLink):
1500         * html/parser/TextDocumentParser.cpp:
1501         (WebCore::TextDocumentParser::append):
1502         (WebCore::TextDocumentParser::insertFakePreElement):
1503         * html/parser/XSSAuditorDelegate.cpp:
1504         (WebCore::XSSAuditorDelegate::generateViolationReport):
1505         * html/shadow/DetailsMarkerControl.cpp:
1506         (WebCore::DetailsMarkerControl::createElementRenderer):
1507         * html/shadow/MediaControlElements.cpp:
1508         (WebCore::MediaControlTimelineContainerElement::createElementRenderer):
1509         (WebCore::MediaControlVolumeSliderContainerElement::createElementRenderer):
1510         (WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu):
1511         (WebCore::MediaControlTextTrackContainerElement::createElementRenderer):
1512         (WebCore::MediaControlTextTrackContainerElement::createTextTrackRepresentationImage):
1513         * html/shadow/MediaControls.cpp:
1514         (WebCore::MediaControls::createTextTrackDisplay):
1515         * html/shadow/MediaControlsApple.cpp:
1516         (WebCore::MediaControlsApple::createControls):
1517         (WebCore::MediaControlsApple::showClosedCaptionTrackList):
1518         * html/shadow/MeterShadowElement.cpp:
1519         (WebCore::MeterInnerElement::createElementRenderer):
1520         * html/shadow/ProgressShadowElement.cpp:
1521         (WebCore::ProgressInnerElement::createElementRenderer):
1522         * html/shadow/SliderThumbElement.cpp:
1523         (WebCore::RenderSliderThumb::RenderSliderThumb):
1524         (WebCore::SliderThumbElement::createElementRenderer):
1525         (WebCore::SliderContainerElement::createElementRenderer):
1526         * html/shadow/TextControlInnerElements.cpp:
1527         (WebCore::TextControlInnerContainer::createElementRenderer):
1528         (WebCore::TextControlInnerTextElement::createElementRenderer):
1529         * html/shadow/mac/ImageControlsButtonElementMac.cpp:
1530         (WebCore::RenderImageControlsButton::RenderImageControlsButton):
1531         (WebCore::ImageControlsButtonElementMac::createElementRenderer):
1532         * html/shadow/mac/ImageControlsRootElementMac.cpp:
1533         (WebCore::RenderImageControls::RenderImageControls):
1534         (WebCore::ImageControlsRootElement::maybeCreate):
1535         (WebCore::ImageControlsRootElementMac::createElementRenderer):
1536         * html/track/VTTCue.cpp:
1537         (WebCore::VTTCueBox::createElementRenderer):
1538         * html/track/WebVTTElement.cpp:
1539         (WebCore::WebVTTElement::cloneElementWithoutAttributesAndChildren):
1540         * html/track/WebVTTParser.cpp:
1541         (WebCore::WebVTTTreeBuilder::constructTreeFromToken):
1542         * inspector/CommandLineAPIHost.cpp:
1543         (WebCore::CommandLineAPIHost::inspectImpl):
1544         (WebCore::CommandLineAPIHost::addInspectedObject):
1545         * inspector/DOMEditor.cpp:
1546         (WebCore::DOMEditor::InsertBeforeAction::InsertBeforeAction):
1547         (WebCore::DOMEditor::ReplaceChildNodeAction::ReplaceChildNodeAction):
1548         (WebCore::DOMEditor::insertBefore):
1549         (WebCore::DOMEditor::setOuterHTML):
1550         (WebCore::DOMEditor::replaceChild):
1551         * inspector/DOMPatchSupport.cpp:
1552         (WebCore::DOMPatchSupport::createDigest):
1553         (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
1554         * inspector/InspectorApplicationCacheAgent.cpp:
1555         (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
1556         * inspector/InspectorCSSAgent.cpp:
1557         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
1558         (WebCore::InspectorCSSAgent::addRule):
1559         (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
1560         (WebCore::InspectorCSSAgent::getSupportedSystemFontFamilyNames):
1561         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
1562         (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
1563         (WebCore::InspectorCSSAgent::buildArrayForRegions):
1564         (WebCore::InspectorCSSAgent::buildObjectForNamedFlow):
1565         * inspector/InspectorConsoleInstrumentation.h:
1566         (WebCore::InspectorInstrumentation::addMessageToConsole):
1567         (WebCore::InspectorInstrumentation::consoleCount):
1568         (WebCore::InspectorInstrumentation::stopConsoleTiming):
1569         (WebCore::InspectorInstrumentation::consoleTimeStamp):
1570         * inspector/InspectorController.cpp:
1571         (WebCore::InspectorController::InspectorController):
1572         * inspector/InspectorDOMAgent.cpp:
1573         (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
1574         (WebCore::InspectorDOMAgent::highlightRect):
1575         (WebCore::InspectorDOMAgent::highlightQuad):
1576         (WebCore::InspectorDOMAgent::innerHighlightQuad):
1577         (WebCore::InspectorDOMAgent::highlightSelector):
1578         (WebCore::InspectorDOMAgent::buildObjectForNode):
1579         (WebCore::InspectorDOMAgent::buildArrayForPseudoElements):
1580         (WebCore::InspectorDOMAgent::buildObjectForEventListener):
1581         (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
1582         (WebCore::InspectorDOMAgent::didCommitLoad):
1583         (WebCore::InspectorDOMAgent::didInsertDOMNode):
1584         (WebCore::InspectorDOMAgent::styleAttributeInvalidated):
1585         * inspector/InspectorDOMDebuggerAgent.cpp:
1586         (WebCore::InspectorDOMDebuggerAgent::didInvalidateStyleAttr):
1587         (WebCore::InspectorDOMDebuggerAgent::willInsertDOMNode):
1588         (WebCore::InspectorDOMDebuggerAgent::willRemoveDOMNode):
1589         (WebCore::InspectorDOMDebuggerAgent::willModifyDOMAttr):
1590         (WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
1591         (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
1592         * inspector/InspectorDOMStorageAgent.cpp:
1593         (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
1594         * inspector/InspectorDatabaseAgent.cpp:
1595         (WebCore::InspectorDatabaseAgent::didOpenDatabase):
1596         (WebCore::InspectorDatabaseAgent::executeSQL):
1597         * inspector/InspectorDatabaseResource.cpp:
1598         (WebCore::InspectorDatabaseResource::create):
1599         (WebCore::InspectorDatabaseResource::bind):
1600         * inspector/InspectorDatabaseResource.h:
1601         (WebCore::InspectorDatabaseResource::setDatabase):
1602         * inspector/InspectorFrontendClientLocal.cpp:
1603         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
1604         * inspector/InspectorHistory.cpp:
1605         (WebCore::InspectorHistory::perform):
1606         * inspector/InspectorIndexedDBAgent.cpp:
1607         (WebCore::InspectorIndexedDBAgent::requestDatabaseNames):
1608         (WebCore::InspectorIndexedDBAgent::requestDatabase):
1609         (WebCore::InspectorIndexedDBAgent::requestData):
1610         (WebCore::ClearObjectStoreListener::create):
1611         (WebCore::ClearObjectStoreListener::ClearObjectStoreListener):
1612         (WebCore::ClearObjectStore::create):
1613         (WebCore::ClearObjectStore::ClearObjectStore):
1614         (WebCore::InspectorIndexedDBAgent::clearObjectStore):
1615         * inspector/InspectorInstrumentation.cpp:
1616         (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
1617         (WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
1618         (WebCore::InspectorInstrumentation::sessionCreatedImpl):
1619         (WebCore::InspectorInstrumentation::sessionLoadedImpl):
1620         (WebCore::InspectorInstrumentation::sessionModifiedImpl):
1621         (WebCore::InspectorInstrumentation::segmentCreatedImpl):
1622         (WebCore::InspectorInstrumentation::segmentCompletedImpl):
1623         (WebCore::InspectorInstrumentation::segmentLoadedImpl):
1624         * inspector/InspectorInstrumentation.h:
1625         (WebCore::InspectorInstrumentation::didOpenDatabase):
1626         (WebCore::InspectorInstrumentation::sessionCreated):
1627         (WebCore::InspectorInstrumentation::sessionLoaded):
1628         (WebCore::InspectorInstrumentation::sessionModified):
1629         (WebCore::InspectorInstrumentation::segmentCreated):
1630         (WebCore::InspectorInstrumentation::segmentCompleted):
1631         (WebCore::InspectorInstrumentation::segmentLoaded):
1632         * inspector/InspectorLayerTreeAgent.cpp:
1633         (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
1634         * inspector/InspectorNetworkAgent.cpp:
1635         (WebCore::buildObjectForResourceResponse):
1636         (WebCore::buildObjectForCachedResource):
1637         (WebCore::InspectorNetworkAgent::buildInitiatorObject):
1638         (WebCore::InspectorNetworkAgent::willSendWebSocketHandshakeRequest):
1639         (WebCore::InspectorNetworkAgent::didReceiveWebSocketHandshakeResponse):
1640         (WebCore::InspectorNetworkAgent::didReceiveWebSocketFrame):
1641         (WebCore::InspectorNetworkAgent::didSendWebSocketFrame):
1642         * inspector/InspectorOverlay.cpp:
1643         (WebCore::InspectorOverlay::highlightNodeList):
1644         (WebCore::InspectorOverlay::highlightQuad):
1645         (WebCore::buildObjectForHighlight):
1646         (WebCore::buildObjectForFlowRegions):
1647         (WebCore::InspectorOverlay::drawPaintRects):
1648         (WebCore::buildArrayForRendererFragments):
1649         (WebCore::buildObjectForShapeOutside):
1650         (WebCore::buildObjectForElementData):
1651         (WebCore::InspectorOverlay::buildHighlightObjectForNode):
1652         (WebCore::InspectorOverlay::buildObjectForHighlightedNodes):
1653         (WebCore::InspectorOverlay::reset):
1654         (WebCore::InspectorOverlay::evaluateInOverlay):
1655         * inspector/InspectorPageAgent.cpp:
1656         (WebCore::InspectorPageAgent::buildObjectForFrameTree):
1657         * inspector/InspectorReplayAgent.cpp:
1658         (WebCore::buildInspectorObjectForSession):
1659         (WebCore::SerializeInputToJSONFunctor::operator()):
1660         (WebCore::SerializeInputToJSONFunctor::returnValue):
1661         (WebCore::buildInspectorObjectForSegment):
1662         (WebCore::InspectorReplayAgent::switchSession):
1663         (WebCore::InspectorReplayAgent::insertSessionSegment):
1664         (WebCore::InspectorReplayAgent::removeSessionSegment):
1665         (WebCore::InspectorReplayAgent::getSessionData):
1666         (WebCore::InspectorReplayAgent::getSegmentData):
1667         * inspector/InspectorStyleSheet.cpp:
1668         (WebCore::asCSSRuleList):
1669         (WebCore::InspectorStyle::create):
1670         (WebCore::InspectorStyle::buildObjectForStyle):
1671         (WebCore::InspectorStyle::buildArrayForComputedStyle):
1672         (WebCore::InspectorStyle::styleWithProperties):
1673         (WebCore::InspectorStyleSheet::create):
1674         (WebCore::InspectorStyleSheet::InspectorStyleSheet):
1675         (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
1676         (WebCore::buildObjectForSelectorHelper):
1677         (WebCore::InspectorStyleSheet::buildObjectForRule):
1678         (WebCore::InspectorStyleSheet::ensureSourceData):
1679         (WebCore::InspectorStyleSheet::buildArrayForRuleList):
1680         (WebCore::InspectorStyleSheet::collectFlatRules):
1681         (WebCore::InspectorStyleSheetForInlineStyle::create):
1682         (WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
1683         * inspector/InspectorTimelineAgent.cpp:
1684         (WebCore::startProfiling):
1685         (WebCore::InspectorTimelineAgent::addRecordToTimeline):
1686         (WebCore::InspectorTimelineAgent::appendRecord):
1687         (WebCore::InspectorTimelineAgent::sendEvent):
1688         (WebCore::InspectorTimelineAgent::createRecordEntry):
1689         (WebCore::InspectorTimelineAgent::pushCurrentRecord):
1690         * inspector/InspectorTimelineAgent.h:
1691         * inspector/NetworkResourcesData.cpp:
1692         (WebCore::NetworkResourcesData::addResourceSharedBuffer):
1693         * inspector/NetworkResourcesData.h:
1694         (WebCore::NetworkResourcesData::ResourceData::setDecoder):
1695         (WebCore::NetworkResourcesData::ResourceData::setBuffer):
1696         * inspector/TimelineRecordFactory.cpp:
1697         (WebCore::buildInspectorObject):
1698         (WebCore::buildProfileInspectorObject):
1699         * inspector/WebInjectedScriptManager.cpp:
1700         (WebCore::WebInjectedScriptManager::WebInjectedScriptManager):
1701         * loader/ContentFilter.cpp:
1702         (WebCore::ContentFilter::createIfEnabled):
1703         (WebCore::ContentFilter::ContentFilter):
1704         * loader/CrossOriginPreflightResultCache.cpp:
1705         (WebCore::CrossOriginPreflightResultCache::appendEntry):
1706         * loader/DocumentLoader.cpp:
1707         (WebCore::DocumentLoader::subresources):
1708         (WebCore::DocumentLoader::installContentFilterUnblockHandler):
1709         * loader/DocumentLoader.h:
1710         (WebCore::DocumentLoader::setQuickLookHandle):
1711         * loader/DocumentThreadableLoader.cpp:
1712         (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequest):
1713         (WebCore::DocumentThreadableLoader::didReceiveResponse):
1714         * loader/HistoryController.cpp:
1715         (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
1716         (WebCore::HistoryController::pushState):
1717         * loader/MediaResourceLoader.cpp:
1718         (WebCore::MediaResourceLoader::MediaResourceLoader):
1719         * loader/NavigationScheduler.cpp:
1720         (WebCore::NavigationScheduler::timerFired):
1721         (WebCore::NavigationScheduler::schedule):
1722         (WebCore::NavigationScheduler::cancel):
1723         * loader/NetscapePlugInStreamLoader.cpp:
1724         (WebCore::NetscapePlugInStreamLoader::willSendRequest):
1725         * loader/PolicyCallback.cpp:
1726         (WebCore::PolicyCallback::set):
1727         * loader/PolicyChecker.cpp:
1728         (WebCore::PolicyChecker::checkNavigationPolicy):
1729         (WebCore::PolicyChecker::checkNewWindowPolicy):
1730         (WebCore::PolicyChecker::checkContentPolicy):
1731         * loader/PolicyChecker.h:
1732         (WebCore::PolicyChecker::setContentFilterUnblockHandler):
1733         * loader/ResourceLoader.cpp:
1734         (WebCore::ResourceLoader::willSendRequest):
1735         * loader/ThreadableLoader.cpp:
1736         (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
1737         (WebCore::ThreadableLoaderOptions::isolatedCopy):
1738         * loader/appcache/ApplicationCacheGroup.cpp:
1739         (WebCore::ApplicationCacheGroup::ApplicationCacheGroup):
1740         * loader/archive/cf/LegacyWebArchive.cpp:
1741         (WebCore::LegacyWebArchive::create):
1742         * loader/cache/CachedCSSStyleSheet.cpp:
1743         (WebCore::CachedCSSStyleSheet::saveParsedStyleSheet):
1744         * loader/icon/IconDatabase.cpp:
1745         (WebCore::IconDatabase::syncThreadMainLoop):
1746         * mathml/MathMLInlineContainerElement.cpp:
1747         (WebCore::MathMLInlineContainerElement::createElementRenderer):
1748         * mathml/MathMLMathElement.cpp:
1749         (WebCore::MathMLMathElement::createElementRenderer):
1750         * mathml/MathMLMencloseElement.cpp:
1751         (WebCore::MathMLMencloseElement::createElementRenderer):
1752         * mathml/MathMLSelectElement.cpp:
1753         (WebCore::MathMLSelectElement::createElementRenderer):
1754         * mathml/MathMLTextElement.cpp:
1755         (WebCore::MathMLTextElement::createElementRenderer):
1756         * page/CaptionUserPreferences.cpp:
1757         (WebCore::CaptionUserPreferences::updateCaptionStyleSheetOveride):
1758         * page/DOMTimer.cpp:
1759         (WebCore::DOMTimer::DOMTimer):
1760         (WebCore::DOMTimer::install):
1761         * page/DOMWindow.cpp:
1762         (WebCore::PostMessageTimer::PostMessageTimer):
1763         (WebCore::PostMessageTimer::event):
1764         (WebCore::DOMWindow::postMessage):
1765         (WebCore::DOMWindow::setTimeout):
1766         (WebCore::DOMWindow::setInterval):
1767         (WebCore::DOMWindow::addEventListener):
1768         (WebCore::DOMWindow::showModalDialog):
1769         * page/DebugPageOverlays.cpp:
1770         (WebCore::MouseWheelRegionOverlay::updateRegion):
1771         (WebCore::NonFastScrollableRegionOverlay::updateRegion):
1772         (WebCore::DebugPageOverlays::ensureRegionOverlayForFrame):
1773         * page/DragController.cpp:
1774         (WebCore::documentFragmentFromDragData):
1775         (WebCore::DragController::concludeEditDrag):
1776         * page/Frame.cpp:
1777         (WebCore::Frame::setView):
1778         * page/FrameView.cpp:
1779         (WebCore::FrameView::sendResizeEventIfNeeded):
1780         (WebCore::FrameView::updateOverflowStatus):
1781         * page/Page.cpp:
1782         (WebCore::Page::Page):
1783         (WebCore::Page::setSessionStorage):
1784         (WebCore::Page::setStorageNamespaceProvider):
1785         (WebCore::Page::setVisitedLinkStore):
1786         * page/PageConsoleClient.cpp:
1787         (WebCore::PageConsoleClient::addMessage):
1788         (WebCore::PageConsoleClient::messageWithTypeAndLevel):
1789         (WebCore::PageConsoleClient::count):
1790         (WebCore::PageConsoleClient::profileEnd):
1791         (WebCore::PageConsoleClient::timeEnd):
1792         (WebCore::PageConsoleClient::timeStamp):
1793         * page/PageOverlayController.cpp:
1794         (WebCore::PageOverlayController::installPageOverlay):
1795         * page/TextIndicator.cpp:
1796         (WebCore::takeSnapshot):
1797         * page/UserContentController.cpp:
1798         (WebCore::UserContentController::addUserScript):
1799         (WebCore::UserContentController::addUserStyleSheet):
1800         * page/UserScript.h:
1801         (WebCore::UserScript::UserScript):
1802         * page/UserStyleSheet.h:
1803         (WebCore::UserStyleSheet::UserStyleSheet):
1804         * page/WheelEventTestTrigger.cpp:
1805         (WebCore::WheelEventTestTrigger::setTestCallbackAndStartNotificationTimer):
1806         (WebCore::WheelEventTestTrigger::triggerTestTimerFired):
1807         * page/animation/AnimationController.cpp:
1808         (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
1809         (WebCore::AnimationControllerPrivate::addElementChangeToDispatch):
1810         * page/animation/CSSPropertyAnimation.cpp:
1811         (WebCore::blendFilter):
1812         (WebCore::crossfadeBlend):
1813         (WebCore::PropertyWrapperShadow::blendSimpleOrMatchedShadowLists):
1814         (WebCore::PropertyWrapperShadow::blendMismatchedShadowLists):
1815         (WebCore::ShorthandPropertyWrapper::ShorthandPropertyWrapper):
1816         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
1817         * page/cocoa/ResourceUsageOverlayCocoa.mm:
1818         (WebCore::RingBuffer::append):
1819         (WebCore::MemoryCategoryInfo::MemoryCategoryInfo):
1820         * page/mac/TextIndicatorWindow.mm:
1821         (WebCore::TextIndicatorWindow::clearTextIndicator):
1822         * page/scrolling/AxisScrollSnapOffsets.cpp:
1823         (WebCore::updateSnapOffsetsForScrollableArea):
1824         * page/scrolling/ScrollingStateTree.cpp:
1825         (WebCore::ScrollingStateTree::setRemovedNodes):
1826         * page/scrolling/ScrollingThread.cpp:
1827         (WebCore::ScrollingThread::dispatchBarrier):
1828         (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
1829         * page/scrolling/ThreadedScrollingTree.cpp:
1830         (WebCore::ThreadedScrollingTree::commitNewTreeState):
1831         * page/scrolling/ios/ScrollingTreeIOS.cpp:
1832         (WebCore::ScrollingTreeIOS::commitNewTreeState):
1833         * page/scrolling/mac/ScrollingCoordinatorMac.mm:
1834         (WebCore::ScrollingCoordinatorMac::commitTreeState):
1835         * platform/CalculationValue.cpp:
1836         (WebCore::CalculationValue::create):
1837         * platform/CalculationValue.h:
1838         (WebCore::CalculationValue::CalculationValue):
1839         (WebCore::CalcExpressionBinaryOperation::CalcExpressionBinaryOperation):
1840         * platform/DragImage.cpp:
1841         (WebCore::createDragImageFromSnapshot):
1842         * platform/KeyedCoding.h:
1843         (WebCore::KeyedDecoder::decodeObjects):
1844         * platform/Length.cpp:
1845         (WebCore::Length::Length):
1846         (WebCore::Length::blendMixedTypes):
1847         * platform/LengthSize.h:
1848         (WebCore::LengthSize::LengthSize):
1849         (WebCore::LengthSize::setWidth):
1850         (WebCore::LengthSize::setHeight):
1851         * platform/MainThreadSharedTimer.cpp:
1852         (WebCore::MainThreadSharedTimer::setFiredFunction):
1853         * platform/ScrollableArea.cpp:
1854         (WebCore::ScrollableArea::setHorizontalSnapOffsets):
1855         (WebCore::ScrollableArea::setVerticalSnapOffsets):
1856         * platform/SharedBuffer.cpp:
1857         (WebCore::SharedBuffer::SharedBuffer):
1858         (WebCore::SharedBuffer::createWithContentsOfFile):
1859         (WebCore::SharedBuffer::maybeTransferMappedFileData):
1860         * platform/Supplementable.h:
1861         (WebCore::Supplement::provideTo):
1862         (WebCore::Supplementable::provideSupplement):
1863         * platform/Timer.h:
1864         (WebCore::Timer::Timer):
1865         (WebCore::DeferrableOneShotTimer::DeferrableOneShotTimer):
1866         * platform/URL.h:
1867         (WebCore::URLCapture::releaseURL):
1868         * platform/audio/AudioBus.cpp:
1869         (WebCore::AudioBus::AudioBus):
1870         * platform/audio/HRTFDatabase.cpp:
1871         (WebCore::HRTFDatabase::HRTFDatabase):
1872         * platform/audio/HRTFElevation.cpp:
1873         (WebCore::HRTFElevation::createForSubject):
1874         (WebCore::HRTFElevation::createByInterpolatingSlices):
1875         * platform/audio/HRTFElevation.h:
1876         (WebCore::HRTFElevation::HRTFElevation):
1877         * platform/audio/HRTFKernel.cpp:
1878         (WebCore::HRTFKernel::createInterpolatedKernel):
1879         * platform/audio/HRTFKernel.h:
1880         (WebCore::HRTFKernel::create):
1881         (WebCore::HRTFKernel::HRTFKernel):
1882         * platform/audio/ReverbConvolver.cpp:
1883         (WebCore::ReverbConvolver::ReverbConvolver):
1884         * platform/audio/ios/MediaSessionManagerIOS.mm:
1885         (-[WebMediaSessionHelper dealloc]):
1886         * platform/cf/KeyedDecoderCF.cpp:
1887         (WebCore::KeyedDecoderCF::KeyedDecoderCF):
1888         * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm:
1889         (WebCore::ContentFilterUnblockHandler::ContentFilterUnblockHandler):
1890         * platform/glib/KeyedDecoderGlib.cpp:
1891         (WebCore::KeyedDecoderGlib::dictionaryFromGVariant):
1892         * platform/graphics/FloatPolygon.cpp:
1893         (WebCore::FloatPolygon::FloatPolygon):
1894         * platform/graphics/Font.cpp:
1895         (WebCore::Font::Font):
1896         (WebCore::createAndFillGlyphPage):
1897         (WebCore::Font::systemFallbackFontForCharacter):
1898         * platform/graphics/Font.h:
1899         (WebCore::Font::create):
1900         * platform/graphics/FontCache.cpp:
1901         (WebCore::FontCache::purgeInactiveFontData):
1902         * platform/graphics/FontCascade.cpp:
1903         (WebCore::FontCascadeCacheEntry::FontCascadeCacheEntry):
1904         (WebCore::retrieveOrAddCachedFonts):
1905         (WebCore::FontCascade::update):
1906         * platform/graphics/FontCascadeFonts.cpp:
1907         (WebCore::realizeNextFallback):
1908         * platform/graphics/FontCascadeFonts.h:
1909         (WebCore::FontCascadeFonts::create):
1910         * platform/graphics/FontDescription.h:
1911         (WebCore::FontDescription::setFeatureSettings):
1912         * platform/graphics/FontFeatureSettings.cpp:
1913         (WebCore::FontFeature::FontFeature):
1914         (WebCore::FontFeatureSettings::insert):
1915         * platform/graphics/FontRanges.h:
1916         (WebCore::FontRanges::Range::Range):
1917         * platform/graphics/GLContext.cpp:
1918         (WebCore::GLContext::createContextForWindow):
1919         * platform/graphics/GraphicsContext.cpp:
1920         (WebCore::GraphicsContext::setStrokePattern):
1921         (WebCore::GraphicsContext::setFillPattern):
1922         (WebCore::GraphicsContext::setStrokeGradient):
1923         (WebCore::GraphicsContext::setFillGradient):
1924         (WebCore::GraphicsContext::drawConsumingImageBuffer):
1925         * platform/graphics/GraphicsLayer.cpp:
1926         (WebCore::KeyframeValueList::insert):
1927         * platform/graphics/MediaPlayer.cpp:
1928         (WebCore::MediaPlayer::setWirelessPlaybackTarget):
1929         (WebCore::MediaPlayer::createResourceLoader):
1930         * platform/graphics/PlatformMediaResourceLoader.h:
1931         (WebCore::PlatformMediaResourceLoader::PlatformMediaResourceLoader):
1932         * platform/graphics/avfoundation/CDMPrivateMediaSourceAVFObjC.mm:
1933         (WebCore::CDMPrivateMediaSourceAVFObjC::createSession):
1934         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
1935         (WebCore::MediaPlayerPrivateAVFoundationObjC::setWirelessPlaybackTarget):
1936         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
1937         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setWirelessPlaybackTarget):
1938         * platform/graphics/ca/TileController.cpp:
1939         (WebCore::TileController::setContentsScale):
1940         * platform/graphics/cg/IOSurfacePool.cpp:
1941         (WebCore::IOSurfacePool::takeSurface):
1942         (WebCore::IOSurfacePool::addSurface):
1943         (WebCore::IOSurfacePool::insertSurfaceIntoPool):
1944         (WebCore::IOSurfacePool::collectInUseSurfaces):
1945         * platform/graphics/cg/ImageBufferCG.cpp:
1946         (WebCore::ImageBuffer::copyImage):
1947         (WebCore::ImageBuffer::sinkIntoImage):
1948         (WebCore::ImageBuffer::sinkIntoNativeImage):
1949         (WebCore::ImageBuffer::drawConsuming):
1950         * platform/graphics/cocoa/IOSurface.mm:
1951         (IOSurface::moveToPool):
1952         (IOSurface::createFromImageBuffer):
1953         (IOSurface::convertToFormat):
1954         * platform/graphics/efl/CairoUtilitiesEfl.cpp:
1955         (WebCore::evasObjectFromCairoImageSurface):
1956         * platform/graphics/efl/GraphicsContext3DEfl.cpp:
1957         (WebCore::GraphicsContext3D::setContextLostCallback):
1958         * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
1959         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
1960         * platform/graphics/egl/GLContextEGL.cpp:
1961         (WebCore::GLContextEGL::createWindowContext):
1962         (WebCore::GLContextEGL::createPixmapContext):
1963         (WebCore::GLContextEGL::createContext):
1964         (WebCore::GLContextEGL::GLContextEGL):
1965         * platform/graphics/filters/FETile.cpp:
1966         (WebCore::FETile::platformApplySoftware):
1967         * platform/graphics/filters/Filter.h:
1968         (WebCore::Filter::setSourceImage):
1969         * platform/graphics/filters/FilterOperation.h:
1970         * platform/graphics/glx/GLContextGLX.cpp:
1971         (WebCore::GLContextGLX::createWindowContext):
1972         (WebCore::GLContextGLX::createPbufferContext):
1973         (WebCore::GLContextGLX::createPixmapContext):
1974         (WebCore::GLContextGLX::createContext):
1975         (WebCore::GLContextGLX::GLContextGLX):
1976         * platform/graphics/gpu/Texture.cpp:
1977         (WebCore::Texture::Texture):
1978         (WebCore::Texture::create):
1979         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
1980         (WebCore::MediaPlayerPrivateGStreamerBase::pushTextureToCompositor):
1981         * platform/graphics/gstreamer/MediaPlayerRequestInstallMissingPluginsCallback.h:
1982         (WebCore::MediaPlayerRequestInstallMissingPluginsCallback::create):
1983         (WebCore::MediaPlayerRequestInstallMissingPluginsCallback::MediaPlayerRequestInstallMissingPluginsCallback):
1984         * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
1985         (VideoRenderRequestScheduler::render):
1986         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
1987         (WebCore::MediaPlayerPrivateQTKit::setWirelessPlaybackTarget):
1988         * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
1989         (WebCore::Extensions3DOpenGLES::setEXTContextLostCallback):
1990         * platform/graphics/surfaces/GLTransportSurface.cpp:
1991         (WebCore::GLTransportSurface::createTransportSurface):
1992         (WebCore::GLTransportSurfaceClient::createTransportSurfaceClient):
1993         * platform/graphics/surfaces/egl/EGLSurface.cpp:
1994         (WebCore::EGLTransportSurface::createTransportSurface):
1995         (WebCore::EGLTransportSurface::createTransportSurfaceClient):
1996         * platform/graphics/texmap/BitmapTexturePool.cpp:
1997         (WebCore::BitmapTexturePool::BitmapTexturePool):
1998         * platform/graphics/texmap/BitmapTexturePool.h:
1999         (WebCore::BitmapTexturePool::Entry::Entry):
2000         * platform/graphics/texmap/TextureMapperLayer.cpp:
2001         (WebCore::TextureMapperLayer::removeAllChildren):
2002         * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp:
2003         (WebCore::TextureMapperPlatformLayerBuffer::TextureMapperPlatformLayerBuffer):
2004         * platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h:
2005         (WebCore::TextureMapperPlatformLayerBuffer::setUnmanagedBufferDataHolder):
2006         * platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp:
2007         (WebCore::TextureMapperPlatformLayerProxy::pushNextBuffer):
2008         (WebCore::TextureMapperPlatformLayerProxy::getAvailableBuffer):
2009         (WebCore::TextureMapperPlatformLayerProxy::releaseUnusedBuffersTimerFired):
2010         (WebCore::TextureMapperPlatformLayerProxy::swapBuffer):
2011         (WebCore::TextureMapperPlatformLayerProxy::scheduleUpdateOnCompositorThread):
2012         (WebCore::TextureMapperPlatformLayerProxy::compositorThreadUpdateTimerFired):
2013         * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
2014         (WebCore::CompositingCoordinator::releaseInactiveAtlasesTimerFired):
2015         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
2016         (WebCore::CoordinatedGraphicsLayer::adjustContentsScale):
2017         * platform/graphics/wayland/PlatformDisplayWayland.cpp:
2018         (WebCore::PlatformDisplayWayland::createSharingGLContext):
2019         * platform/graphics/win/FontCacheWin.cpp:
2020         (WebCore::FontCache::createFontPlatformData):
2021         * platform/graphics/win/FontCustomPlatformData.cpp:
2022         (WebCore::FontCustomPlatformData::fontPlatformData):
2023         * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
2024         (WebCore::FontCustomPlatformData::fontPlatformData):
2025         * platform/graphics/win/FontPlatformDataCGWin.cpp:
2026         (WebCore::FontPlatformData::FontPlatformData):
2027         * platform/graphics/win/FontPlatformDataCairoWin.cpp:
2028         (WebCore::FontPlatformData::FontPlatformData):
2029         * platform/graphics/win/FontPlatformDataWin.cpp:
2030         (WebCore::FontPlatformData::FontPlatformData):
2031         * platform/graphics/win/SharedGDIObject.h:
2032         (WebCore::SharedGDIObject::create):
2033         (WebCore::SharedGDIObject::SharedGDIObject):
2034         * platform/graphics/win/SimpleFontDataWin.cpp:
2035         (WebCore::Font::platformCreateScaledFont):
2036         * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
2037         (WebVideoFullscreenInterfaceAVKit::preparedToReturnToInline):
2038         * platform/mac/HIDGamepadProvider.cpp:
2039         (WebCore::HIDGamepadProvider::deviceAdded):
2040         * platform/mac/ThemeMac.mm:
2041         (WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):
2042         * platform/mediastream/MediaStreamPrivate.cpp:
2043         (WebCore::MediaStreamPrivate::create):
2044         * platform/mediastream/MediaStreamTrackPrivate.cpp:
2045         (WebCore::MediaStreamTrackPrivate::create):
2046         * platform/mediastream/mac/AVVideoCaptureSource.mm:
2047         (WebCore::AVVideoCaptureSource::currentFrameImage):
2048         * platform/network/BlobData.h:
2049         (WebCore::RawData::create):
2050         (WebCore::RawData::RawData):
2051         * platform/network/BlobPart.h:
2052         (WebCore::BlobPart::BlobPart):
2053         (WebCore::BlobPart::moveData):
2054         * platform/network/DataURLDecoder.cpp:
2055         (WebCore::DataURLDecoder::DecodingResultDispatcher::dispatch):
2056         (WebCore::DataURLDecoder::DecodingResultDispatcher::DecodingResultDispatcher):
2057         (WebCore::DataURLDecoder::DecodingResultDispatcher::timerFired):
2058         (WebCore::DataURLDecoder::createDecodeTask):
2059         (WebCore::DataURLDecoder::decode):
2060         * platform/network/HTTPHeaderMap.cpp:
2061         (WebCore::HTTPHeaderMap::adopt):
2062         * platform/network/NetworkStateNotifier.cpp:
2063         (WebCore::NetworkStateNotifier::addNetworkStateChangeListener):
2064         * platform/network/ResourceHandle.h:
2065         (WebCore::ResourceHandle::setQuickLookHandle):
2066         * platform/network/ResourceRequestBase.cpp:
2067         (WebCore::ResourceRequestBase::adopt):
2068         (WebCore::ResourceRequestBase::copyData):
2069         (WebCore::ResourceRequestBase::setHTTPHeaderFields):
2070         * platform/network/ResourceResponseBase.cpp:
2071         (WebCore::ResourceResponseBase::adopt):
2072         (WebCore::ResourceResponseBase::copyData):
2073         * platform/network/cf/FormDataStreamCFNet.cpp:
2074         (WebCore::advanceCurrentStream):
2075         * platform/network/cf/ResourceHandleCFNet.cpp:
2076         (WebCore::ResourceHandle::releaseConnectionForDownload):
2077         * platform/network/curl/CurlCacheManager.cpp:
2078         (WebCore::CurlCacheManager::loadIndex):
2079         (WebCore::CurlCacheManager::didReceiveResponse):
2080         * platform/network/curl/SocketStreamHandle.h:
2081         (WebCore::SocketStreamHandle::SocketData::SocketData):
2082         * platform/network/curl/SocketStreamHandleCurl.cpp:
2083         (WebCore::SocketStreamHandle::platformSend):
2084         (WebCore::SocketStreamHandle::readData):
2085         (WebCore::SocketStreamHandle::sendData):
2086         (WebCore::SocketStreamHandle::didReceiveData):
2087         (WebCore::SocketStreamHandle::createCopy):
2088         * platform/network/soup/NetworkStorageSessionSoup.cpp:
2089         (WebCore::NetworkStorageSession::NetworkStorageSession):
2090         (WebCore::NetworkStorageSession::setSoupNetworkSession):
2091         * platform/text/LocaleICU.cpp:
2092         (WebCore::LocaleICU::createLabelVector):
2093         (WebCore::createFallbackMonthLabels):
2094         (WebCore::createFallbackAMPMLabels):
2095         * platform/win/WCDataObject.cpp:
2096         (WebCore::WCDataObject::SetData):
2097         * plugins/DOMMimeType.cpp:
2098         (WebCore::DOMMimeType::DOMMimeType):
2099         * plugins/DOMMimeType.h:
2100         (WebCore::DOMMimeType::create):
2101         * plugins/DOMPlugin.cpp:
2102         (WebCore::DOMPlugin::DOMPlugin):
2103         * plugins/DOMPlugin.h:
2104         (WebCore::DOMPlugin::create):
2105         * plugins/PluginData.cpp:
2106         (WebCore::PluginData::publiclyVisiblePlugins):
2107         * rendering/ClipPathOperation.h:
2108         * rendering/FloatingObjects.cpp:
2109         (WebCore::FloatingObjects::moveAllToFloatInfoMap):
2110         (WebCore::FloatingObjects::add):
2111         * rendering/LayoutState.cpp:
2112         (WebCore::LayoutState::LayoutState):
2113         * rendering/RenderAttachment.cpp:
2114         (WebCore::RenderAttachment::RenderAttachment):
2115         * rendering/RenderBlock.cpp:
2116         (WebCore::OverflowEventDispatcher::~OverflowEventDispatcher):
2117         (WebCore::RenderBlock::RenderBlock):
2118         * rendering/RenderBlockFlow.cpp:
2119         (WebCore::RenderBlockFlow::RenderBlockFlow):
2120         (WebCore::RenderBlockFlow::layoutLineGridBox):
2121         (WebCore::RenderBlockFlow::insertFloatingObject):
2122         * rendering/RenderBlockFlow.h:
2123         (WebCore::RenderBlockFlow::setLineGridBox):
2124         * rendering/RenderBlockLineLayout.cpp:
2125         (WebCore::RenderBlockFlow::createAndAppendRootInlineBox):
2126         (WebCore::constructBidiRunsForSegment):
2127         (WebCore::RenderBlockFlow::linkToEndLineIfNeeded):
2128         * rendering/RenderBox.cpp:
2129         (WebCore::RenderBox::RenderBox):
2130         * rendering/RenderBoxModelObject.cpp:
2131         (WebCore::RenderBoxModelObject::RenderBoxModelObject):
2132         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
2133         * rendering/RenderButton.cpp:
2134         (WebCore::RenderButton::RenderButton):
2135         * rendering/RenderDeprecatedFlexibleBox.cpp:
2136         (WebCore::RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox):
2137         * rendering/RenderDetailsMarker.cpp:
2138         (WebCore::RenderDetailsMarker::RenderDetailsMarker):
2139         * rendering/RenderElement.cpp:
2140         (WebCore::RenderElement::RenderElement):
2141         (WebCore::RenderElement::createFor):
2142         (WebCore::RenderElement::setStyle):
2143         (WebCore::RenderElement::propagateStyleToAnonymousChildren):
2144         * rendering/RenderElement.h:
2145         (WebCore::RenderElement::setStyleInternal):
2146         (WebCore::RenderElement::setAnimatableStyle):
2147         * rendering/RenderEmbeddedObject.cpp:
2148         (WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
2149         (WebCore::RenderEmbeddedObject::createForApplet):
2150         * rendering/RenderFieldset.cpp:
2151         (WebCore::RenderFieldset::RenderFieldset):
2152         * rendering/RenderFileUploadControl.cpp:
2153         (WebCore::RenderFileUploadControl::RenderFileUploadControl):
2154         * rendering/RenderFlexibleBox.cpp:
2155         (WebCore::RenderFlexibleBox::RenderFlexibleBox):
2156         * rendering/RenderFlowThread.cpp:
2157         (WebCore::RenderFlowThread::RenderFlowThread):
2158         * rendering/RenderFrame.cpp:
2159         (WebCore::RenderFrame::RenderFrame):
2160         * rendering/RenderFrameBase.cpp:
2161         (WebCore::RenderFrameBase::RenderFrameBase):
2162         * rendering/RenderFrameSet.cpp:
2163         (WebCore::RenderFrameSet::RenderFrameSet):
2164         * rendering/RenderFullScreen.cpp:
2165         (WebCore::RenderFullScreen::RenderFullScreen):
2166         (WebCore::RenderFullScreen::createPlaceholder):
2167         * rendering/RenderGrid.cpp:
2168         (WebCore::RenderGrid::RenderGrid):
2169         (WebCore::RenderGrid::computeFlexFactorUnitSize):
2170         * rendering/RenderHTMLCanvas.cpp:
2171         (WebCore::RenderHTMLCanvas::RenderHTMLCanvas):
2172         * rendering/RenderIFrame.cpp:
2173         (WebCore::RenderIFrame::RenderIFrame):
2174         * rendering/RenderImage.cpp:
2175         (WebCore::RenderImage::RenderImage):
2176         * rendering/RenderInline.cpp:
2177         (WebCore::RenderInline::RenderInline):
2178         (WebCore::updateStyleOfAnonymousBlockContinuations):
2179         (WebCore::RenderInline::addChildIgnoringContinuation):
2180         (WebCore::RenderInline::splitInlines):
2181         (WebCore::RenderInline::createAndAppendInlineFlowBox):
2182         * rendering/RenderLayer.cpp:
2183         (WebCore::RenderLayer::calculateClipRects):
2184         * rendering/RenderLayerCompositor.cpp:
2185         (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
2186         * rendering/RenderLayerModelObject.cpp:
2187         (WebCore::RenderLayerModelObject::RenderLayerModelObject):
2188         * rendering/RenderLineBreak.cpp:
2189         (WebCore::RenderLineBreak::RenderLineBreak):
2190         * rendering/RenderListBox.cpp:
2191         (WebCore::RenderListBox::RenderListBox):
2192         * rendering/RenderListItem.cpp:
2193         (WebCore::RenderListItem::RenderListItem):
2194         (WebCore::RenderListItem::styleDidChange):
2195         * rendering/RenderListMarker.cpp:
2196         (WebCore::RenderListMarker::RenderListMarker):
2197         * rendering/RenderMedia.cpp:
2198         (WebCore::RenderMedia::RenderMedia):
2199         * rendering/RenderMediaControlElements.cpp:
2200         (WebCore::RenderMediaVolumeSliderContainer::RenderMediaVolumeSliderContainer):
2201         (WebCore::RenderMediaControlTimelineContainer::RenderMediaControlTimelineContainer):
2202         (WebCore::RenderTextTrackContainerElement::RenderTextTrackContainerElement):
2203         * rendering/RenderMenuList.cpp:
2204         (WebCore::RenderMenuList::RenderMenuList):
2205         * rendering/RenderMeter.cpp:
2206         (WebCore::RenderMeter::RenderMeter):
2207         * rendering/RenderMultiColumnFlowThread.cpp:
2208         (WebCore::RenderMultiColumnFlowThread::RenderMultiColumnFlowThread):
2209         * rendering/RenderMultiColumnSet.cpp:
2210         (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
2211         * rendering/RenderMultiColumnSpannerPlaceholder.cpp:
2212         (WebCore::RenderMultiColumnSpannerPlaceholder::RenderMultiColumnSpannerPlaceholder):
2213         * rendering/RenderNamedFlowFragment.cpp:
2214         (WebCore::RenderNamedFlowFragment::RenderNamedFlowFragment):
2215         * rendering/RenderNamedFlowThread.cpp:
2216         (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
2217         (WebCore::RenderNamedFlowThread::updateWritingMode):
2218         * rendering/RenderProgress.cpp:
2219         (WebCore::RenderProgress::RenderProgress):
2220         * rendering/RenderPtr.h:
2221         * rendering/RenderQuote.cpp:
2222         (WebCore::RenderQuote::RenderQuote):
2223         * rendering/RenderRegion.cpp:
2224         (WebCore::RenderRegion::RenderRegion):
2225         * rendering/RenderRegionSet.cpp:
2226         (WebCore::RenderRegionSet::RenderRegionSet):
2227         * rendering/RenderReplaced.cpp:
2228         (WebCore::RenderReplaced::RenderReplaced):
2229         * rendering/RenderReplica.cpp:
2230         (WebCore::RenderReplica::RenderReplica):
2231         * rendering/RenderRuby.cpp:
2232         (WebCore::RenderRubyAsInline::RenderRubyAsInline):
2233         (WebCore::RenderRubyAsBlock::RenderRubyAsBlock):
2234         * rendering/RenderRubyBase.cpp:
2235         (WebCore::RenderRubyBase::RenderRubyBase):
2236         * rendering/RenderRubyRun.cpp:
2237         (WebCore::RenderRubyRun::RenderRubyRun):
2238         (WebCore::RenderRubyRun::createRubyBase):
2239         * rendering/RenderRubyText.cpp:
2240         (WebCore::RenderRubyText::RenderRubyText):
2241         * rendering/RenderScrollbarPart.cpp:
2242         (WebCore::RenderScrollbarPart::RenderScrollbarPart):
2243         * rendering/RenderSearchField.cpp:
2244         (WebCore::RenderSearchField::RenderSearchField):
2245         (WebCore::RenderSearchField::updateCancelButtonVisibility):
2246         * rendering/RenderSlider.cpp:
2247         (WebCore::RenderSlider::RenderSlider):
2248         * rendering/RenderSnapshottedPlugIn.cpp:
2249         (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
2250         * rendering/RenderTable.cpp:
2251         (WebCore::RenderTable::RenderTable):
2252         * rendering/RenderTableCaption.cpp:
2253         (WebCore::RenderTableCaption::RenderTableCaption):
2254         * rendering/RenderTableCell.cpp:
2255         (WebCore::RenderTableCell::RenderTableCell):
2256         * rendering/RenderTableCol.cpp:
2257         (WebCore::RenderTableCol::RenderTableCol):
2258         * rendering/RenderTableRow.cpp:
2259         (WebCore::RenderTableRow::RenderTableRow):
2260         * rendering/RenderTableSection.cpp:
2261         (WebCore::RenderTableSection::RenderTableSection):
2262         * rendering/RenderTextControl.cpp:
2263         (WebCore::RenderTextControl::RenderTextControl):
2264         * rendering/RenderTextControl.h:
2265         * rendering/RenderTextControlMultiLine.cpp:
2266         (WebCore::RenderTextControlMultiLine::RenderTextControlMultiLine):
2267         * rendering/RenderTextControlSingleLine.cpp:
2268         (WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine):
2269         * rendering/RenderTextControlSingleLine.h:
2270         * rendering/RenderThemeEfl.cpp:
2271         (WebCore::RenderThemeEfl::getThemePartFromCache):
2272         (WebCore::RenderThemeEfl::loadTheme):
2273         * rendering/RenderThemeMac.mm:
2274         (WebCore::RenderThemeMac::paintProgressBar):
2275         * rendering/RenderVTTCue.cpp:
2276         (WebCore::RenderVTTCue::RenderVTTCue):
2277         * rendering/RenderVideo.cpp:
2278         (WebCore::RenderVideo::RenderVideo):
2279         * rendering/RenderView.cpp:
2280         (WebCore::RenderView::RenderView):
2281         (WebCore::RenderView::updateSelectionForSubtrees):
2282         (WebCore::RenderView::applySubtreeSelection):
2283         * rendering/RenderView.h:
2284         * rendering/RenderWidget.cpp:
2285         (WebCore::RenderWidget::RenderWidget):
2286         * rendering/RootInlineBox.cpp:
2287         (WebCore::RootInlineBox::placeEllipsis):
2288         * rendering/mathml/RenderMathMLBlock.cpp:
2289         (WebCore::RenderMathMLBlock::RenderMathMLBlock):
2290         * rendering/mathml/RenderMathMLBlock.h:
2291         * rendering/mathml/RenderMathMLFenced.cpp:
2292         (WebCore::RenderMathMLFenced::RenderMathMLFenced):
2293         * rendering/mathml/RenderMathMLFraction.cpp:
2294         (WebCore::RenderMathMLFraction::RenderMathMLFraction):
2295         * rendering/mathml/RenderMathMLMath.cpp:
2296         (WebCore::RenderMathMLMath::RenderMathMLMath):
2297         * rendering/mathml/RenderMathMLMenclose.cpp:
2298         (WebCore::RenderMathMLMenclose::RenderMathMLMenclose):
2299         * rendering/mathml/RenderMathMLOperator.cpp:
2300         (WebCore::RenderMathMLOperator::RenderMathMLOperator):
2301         (WebCore::RenderMathMLOperator::updateStyle):
2302         * rendering/mathml/RenderMathMLRadicalOperator.cpp:
2303         (WebCore::RenderMathMLRadicalOperator::RenderMathMLRadicalOperator):
2304         * rendering/mathml/RenderMathMLRoot.cpp:
2305         (WebCore::RenderMathMLRoot::RenderMathMLRoot):
2306         (WebCore::RenderMathMLRoot::updateStyle):
2307         * rendering/mathml/RenderMathMLRoot.h:
2308         * rendering/mathml/RenderMathMLRow.cpp:
2309         (WebCore::RenderMathMLRow::RenderMathMLRow):
2310         * rendering/mathml/RenderMathMLScripts.cpp:
2311         (WebCore::RenderMathMLScripts::RenderMathMLScripts):
2312         * rendering/mathml/RenderMathMLScripts.h:
2313         * rendering/mathml/RenderMathMLSpace.cpp:
2314         (WebCore::RenderMathMLSpace::RenderMathMLSpace):
2315         * rendering/mathml/RenderMathMLSquareRoot.cpp:
2316         (WebCore::RenderMathMLSquareRoot::RenderMathMLSquareRoot):
2317         * rendering/mathml/RenderMathMLToken.cpp:
2318         (WebCore::RenderMathMLToken::RenderMathMLToken):
2319         (WebCore::RenderMathMLToken::updateStyle):
2320         * rendering/mathml/RenderMathMLUnderOver.cpp:
2321         (WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver):
2322         * rendering/shapes/PolygonShape.h:
2323         (WebCore::PolygonShape::PolygonShape):
2324         * rendering/shapes/RasterShape.h:
2325         * rendering/shapes/Shape.cpp:
2326         (WebCore::createPolygonShape):
2327         (WebCore::Shape::createShape):
2328         (WebCore::Shape::createRasterShape):
2329         (WebCore::Shape::createBoxShape):
2330         * rendering/style/BasicShapes.cpp:
2331         (WebCore::BasicShapeCenterCoordinate::updateComputedLength):
2332         (WebCore::BasicShapeCircle::blend):
2333         (WebCore::BasicShapeEllipse::blend):
2334         (WebCore::BasicShapePolygon::blend):
2335         (WebCore::BasicShapePath::BasicShapePath):
2336         (WebCore::BasicShapePath::blend):
2337         (WebCore::BasicShapeInset::blend):
2338         * rendering/style/BasicShapes.h:
2339         * rendering/style/ContentData.cpp:
2340         (WebCore::ContentData::clone):
2341         (WebCore::ImageContentData::createContentRenderer):
2342         (WebCore::TextContentData::createContentRenderer):
2343         (WebCore::QuoteContentData::createContentRenderer):
2344         * rendering/style/ContentData.h:
2345         (WebCore::ContentData::setNext):
2346         * rendering/style/DataRef.h:
2347         (WebCore::DataRef::DataRef):
2348         * rendering/style/FillLayer.cpp:
2349         (WebCore::FillLayer::~FillLayer):
2350         * rendering/style/FillLayer.h:
2351         (WebCore::FillLayer::setXPosition):
2352         (WebCore::FillLayer::setYPosition):
2353         (WebCore::FillLayer::setNext):
2354         * rendering/style/NinePieceImage.cpp:
2355         (WebCore::NinePieceImage::NinePieceImage):
2356         * rendering/style/NinePieceImage.h:
2357         (WebCore::NinePieceImage::setImageSlices):
2358         (WebCore::NinePieceImage::setBorderSlices):
2359         (WebCore::NinePieceImage::setOutset):
2360         * rendering/style/RenderStyle.cpp:
2361         (WebCore::RenderStyle::setWillChange):
2362         (WebCore::RenderStyle::appendContent):
2363         (WebCore::RenderStyle::setContent):
2364         (WebCore::RenderStyle::setTextShadow):
2365         (WebCore::RenderStyle::setBoxShadow):
2366         (WebCore::RenderStyle::setWordSpacing):
2367         (WebCore::RenderStyle::setScrollSnapPointsX):
2368         (WebCore::RenderStyle::setScrollSnapPointsY):
2369         (WebCore::RenderStyle::setScrollSnapDestination):
2370         (WebCore::RenderStyle::setScrollSnapCoordinates):
2371         * rendering/style/RenderStyle.h:
2372         * rendering/style/SVGRenderStyle.h:
2373         (WebCore::SVGRenderStyle::setShadow):
2374         * rendering/style/ShadowData.h:
2375         (WebCore::ShadowData::setNext):
2376         * rendering/style/StyleGeneratedImage.cpp:
2377         (WebCore::StyleGeneratedImage::StyleGeneratedImage):
2378         * rendering/style/StyleGeneratedImage.h:
2379         * rendering/style/StyleReflection.h:
2380         (WebCore::StyleReflection::setOffset):
2381         * rendering/svg/RenderSVGBlock.cpp:
2382         (WebCore::RenderSVGBlock::RenderSVGBlock):
2383         * rendering/svg/RenderSVGContainer.cpp:
2384         (WebCore::RenderSVGContainer::RenderSVGContainer):
2385         * rendering/svg/RenderSVGEllipse.cpp:
2386         (WebCore::RenderSVGEllipse::RenderSVGEllipse):
2387         * rendering/svg/RenderSVGForeignObject.cpp:
2388         (WebCore::RenderSVGForeignObject::RenderSVGForeignObject):
2389         * rendering/svg/RenderSVGGradientStop.cpp:
2390         (WebCore::RenderSVGGradientStop::RenderSVGGradientStop):
2391         * rendering/svg/RenderSVGHiddenContainer.cpp:
2392         (WebCore::RenderSVGHiddenContainer::RenderSVGHiddenContainer):
2393         * rendering/svg/RenderSVGImage.cpp:
2394         (WebCore::RenderSVGImage::RenderSVGImage):
2395         * rendering/svg/RenderSVGInline.cpp:
2396         (WebCore::RenderSVGInline::RenderSVGInline):
2397         (WebCore::RenderSVGInline::createInlineFlowBox):
2398         * rendering/svg/RenderSVGInlineText.cpp:
2399         (WebCore::RenderSVGInlineText::createTextBox):
2400         * rendering/svg/RenderSVGModelObject.cpp:
2401         (WebCore::RenderSVGModelObject::RenderSVGModelObject):
2402         * rendering/svg/RenderSVGPath.cpp:
2403         (WebCore::RenderSVGPath::RenderSVGPath):
2404         * rendering/svg/RenderSVGRect.cpp:
2405         (WebCore::RenderSVGRect::RenderSVGRect):
2406         * rendering/svg/RenderSVGResourceClipper.cpp:
2407         (WebCore::RenderSVGResourceClipper::RenderSVGResourceClipper):
2408         * rendering/svg/RenderSVGResourceContainer.cpp:
2409         (WebCore::RenderSVGResourceContainer::RenderSVGResourceContainer):
2410         * rendering/svg/RenderSVGResourceFilter.cpp:
2411         (WebCore::RenderSVGResourceFilter::RenderSVGResourceFilter):
2412         (WebCore::RenderSVGResourceFilter::buildPrimitives):
2413         (WebCore::RenderSVGResourceFilter::applyResource):
2414         (WebCore::RenderSVGResourceFilter::postApplyResource):
2415         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
2416         (WebCore::RenderSVGResourceFilterPrimitive::RenderSVGResourceFilterPrimitive):
2417         * rendering/svg/RenderSVGResourceGradient.cpp:
2418         (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):
2419         (WebCore::createMaskAndSwapContextForTextGradient):
2420         * rendering/svg/RenderSVGResourceLinearGradient.cpp:
2421         (WebCore::RenderSVGResourceLinearGradient::RenderSVGResourceLinearGradient):
2422         * rendering/svg/RenderSVGResourceMarker.cpp:
2423         (WebCore::RenderSVGResourceMarker::RenderSVGResourceMarker):
2424         * rendering/svg/RenderSVGResourceMasker.cpp:
2425         (WebCore::RenderSVGResourceMasker::RenderSVGResourceMasker):
2426         * rendering/svg/RenderSVGResourcePattern.cpp:
2427         (WebCore::RenderSVGResourcePattern::RenderSVGResourcePattern):
2428         (WebCore::RenderSVGResourcePattern::buildPattern):
2429         * rendering/svg/RenderSVGResourceRadialGradient.cpp:
2430         (WebCore::RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient):
2431         * rendering/svg/RenderSVGRoot.cpp:
2432         (WebCore::RenderSVGRoot::RenderSVGRoot):
2433         * rendering/svg/RenderSVGShape.cpp:
2434         (WebCore::RenderSVGShape::RenderSVGShape):
2435         * rendering/svg/RenderSVGTSpan.h:
2436         * rendering/svg/RenderSVGText.cpp:
2437         (WebCore::RenderSVGText::RenderSVGText):
2438         (WebCore::RenderSVGText::createRootInlineBox):
2439         * rendering/svg/RenderSVGTextPath.cpp:
2440         (WebCore::RenderSVGTextPath::RenderSVGTextPath):
2441         * rendering/svg/RenderSVGTransformableContainer.cpp:
2442         (WebCore::RenderSVGTransformableContainer::RenderSVGTransformableContainer):
2443         * rendering/svg/RenderSVGViewportContainer.cpp:
2444         (WebCore::RenderSVGViewportContainer::RenderSVGViewportContainer):
2445         * rendering/svg/SVGResourcesCache.cpp:
2446         (WebCore::SVGResourcesCache::addResourcesFromRenderer):
2447         * replay/CapturingInputCursor.cpp:
2448         (WebCore::CapturingInputCursor::CapturingInputCursor):
2449         (WebCore::CapturingInputCursor::create):
2450         (WebCore::CapturingInputCursor::storeInput):
2451         * replay/FunctorInputCursor.h:
2452         (WebCore::FunctorInputCursor::FunctorInputCursor):
2453         * replay/MemoizedDOMResult.cpp:
2454         (JSC::InputTraits<MemoizedDOMResultBase>::decode):
2455         * replay/ReplayController.cpp:
2456         (WebCore::ReplayController::createSegment):
2457         * replay/ReplayInputCreationMethods.cpp:
2458         (WebCore::InitialNavigation::createFromPage):
2459         * replay/ReplaySession.cpp:
2460         (WebCore::ReplaySession::appendSegment):
2461         (WebCore::ReplaySession::insertSegment):
2462         * replay/ReplayingInputCursor.cpp:
2463         (WebCore::ReplayingInputCursor::ReplayingInputCursor):
2464         (WebCore::ReplayingInputCursor::create):
2465         * replay/SegmentedInputStorage.cpp:
2466         (WebCore::SegmentedInputStorage::store):
2467         * replay/SerializationMethods.cpp:
2468         (JSC::EncodingTraits<NondeterministicInputBase>::decodeValue):
2469         * replay/UserInputBridge.cpp:
2470         (WebCore::UserInputBridge::handleMousePressEvent):
2471         (WebCore::UserInputBridge::handleMouseReleaseEvent):
2472         (WebCore::UserInputBridge::handleMouseMoveEvent):
2473         (WebCore::UserInputBridge::handleMouseMoveOnScrollbarEvent):
2474         (WebCore::UserInputBridge::handleKeyEvent):
2475         (WebCore::UserInputBridge::handleWheelEvent):
2476         * storage/Storage.cpp:
2477         (WebCore::Storage::create):
2478         (WebCore::Storage::Storage):
2479         * style/StyleResolveForDocument.cpp:
2480         (WebCore::Style::resolveForDocument):
2481         * style/StyleResolveTree.cpp:
2482         (WebCore::Style::createRendererIfNeeded):
2483         (WebCore::Style::setBeforeOrAfterPseudoElement):
2484         (WebCore::Style::resolveTree):
2485         * svg/SVGAElement.cpp:
2486         (WebCore::SVGAElement::createElementRenderer):
2487         * svg/SVGAltGlyphElement.cpp:
2488         (WebCore::SVGAltGlyphElement::createElementRenderer):
2489         * svg/SVGAnimatedPath.cpp:
2490         (WebCore::SVGAnimatedPathAnimator::constructFromString):
2491         (WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
2492         * svg/SVGAnimatedTypeAnimator.cpp:
2493         (WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):
2494         * svg/SVGCircleElement.cpp:
2495         (WebCore::SVGCircleElement::createElementRenderer):
2496         * svg/SVGClipPathElement.cpp:
2497         (WebCore::SVGClipPathElement::createElementRenderer):
2498         * svg/SVGDefsElement.cpp:
2499         (WebCore::SVGDefsElement::createElementRenderer):
2500         * svg/SVGDocumentExtensions.cpp:
2501         (WebCore::SVGDocumentExtensions::markPendingResourcesForRemoval):
2502         (WebCore::SVGDocumentExtensions::addElementReferencingTarget):
2503         (WebCore::SVGDocumentExtensions::rebuildElements):
2504         * svg/SVGEllipseElement.cpp:
2505         (WebCore::SVGEllipseElement::createElementRenderer):
2506         * svg/SVGFilterElement.cpp:
2507         (WebCore::SVGFilterElement::createElementRenderer):
2508         * svg/SVGFilterPrimitiveStandardAttributes.cpp:
2509         (WebCore::SVGFilterPrimitiveStandardAttributes::createElementRenderer):
2510         * svg/SVGFontElement.cpp:
2511         (WebCore::SVGKerningMap::insert):
2512         * svg/SVGForeignObjectElement.cpp:
2513         (WebCore::SVGForeignObjectElement::createElementRenderer):
2514         * svg/SVGGElement.cpp:
2515         (WebCore::SVGGElement::createElementRenderer):
2516         * svg/SVGGraphicsElement.cpp:
2517         (WebCore::SVGGraphicsElement::createElementRenderer):
2518         * svg/SVGImageElement.cpp:
2519         (WebCore::SVGImageElement::createElementRenderer):
2520         * svg/SVGLinearGradientElement.cpp:
2521         (WebCore::SVGLinearGradientElement::createElementRenderer):
2522         * svg/SVGMarkerElement.cpp:
2523         (WebCore::SVGMarkerElement::createElementRenderer):
2524         * svg/SVGMaskElement.cpp:
2525         (WebCore::SVGMaskElement::createElementRenderer):
2526         * svg/SVGPathElement.cpp:
2527         (WebCore::SVGPathElement::createElementRenderer):
2528         * svg/SVGPathUtilities.cpp:
2529         (WebCore::appendSVGPathByteStreamFromSVGPathSeg):
2530         * svg/SVGPatternElement.cpp:
2531         (WebCore::SVGPatternElement::createElementRenderer):
2532         * svg/SVGRadialGradientElement.cpp:
2533         (WebCore::SVGRadialGradientElement::createElementRenderer):
2534         * svg/SVGRectElement.cpp:
2535         (WebCore::SVGRectElement::createElementRenderer):
2536         * svg/SVGSVGElement.cpp:
2537         (WebCore::SVGSVGElement::createElementRenderer):
2538         * svg/SVGStopElement.cpp:
2539         (WebCore::SVGStopElement::createElementRenderer):
2540         * svg/SVGSwitchElement.cpp:
2541         (WebCore::SVGSwitchElement::createElementRenderer):
2542         * svg/SVGSymbolElement.cpp:
2543         (WebCore::SVGSymbolElement::createElementRenderer):
2544         * svg/SVGTRefElement.cpp:
2545         (WebCore::SVGTRefTargetEventListener::attach):
2546         (WebCore::SVGTRefElement::createElementRenderer):
2547         * svg/SVGTSpanElement.cpp:
2548         (WebCore::SVGTSpanElement::createElementRenderer):
2549         * svg/SVGTextElement.cpp:
2550         (WebCore::SVGTextElement::createElementRenderer):
2551         * svg/SVGTextPathElement.cpp:
2552         (WebCore::SVGTextPathElement::createElementRenderer):
2553         * svg/SVGToOTFFontConversion.cpp:
2554         (WebCore::SVGToOTFFontConverter::releaseResult):
2555         (WebCore::SVGToOTFFontConverter::appendKERNSubtable):
2556         (WebCore::SVGToOTFFontConverter::processGlyphElement):
2557         * svg/SVGUseElement.cpp:
2558         (WebCore::SVGUseElement::createElementRenderer):
2559         (WebCore::SVGUseElement::cloneTarget):
2560         * svg/graphics/SVGImage.cpp:
2561         (WebCore::SVGImage::~SVGImage):
2562         (WebCore::SVGImage::drawPatternForContainer):
2563         * testing/Internals.cpp:
2564         (WebCore::Internals::insertAuthorCSS):
2565         (WebCore::Internals::insertUserCSS):
2566         (WebCore::Internals::queueMicroTask):
2567         * workers/DedicatedWorkerGlobalScope.cpp:
2568         (WebCore::DedicatedWorkerGlobalScope::postMessage):
2569         * workers/Worker.cpp:
2570         (WebCore::Worker::create):
2571         (WebCore::Worker::postMessage):
2572         * workers/WorkerEventQueue.cpp:
2573         (WebCore::WorkerEventQueue::EventDispatcher::EventDispatcher):
2574         * workers/WorkerGlobalScope.cpp:
2575         (WebCore::WorkerGlobalScope::postTask):
2576         (WebCore::WorkerGlobalScope::setTimeout):
2577         (WebCore::WorkerGlobalScope::setInterval):
2578         (WebCore::WorkerGlobalScope::importScripts):
2579         (WebCore::WorkerGlobalScope::addMessage):
2580         (WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
2581         * workers/WorkerMessagingProxy.cpp:
2582         (WebCore::WorkerMessagingProxy::postMessageToWorkerObject):
2583         (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope):
2584         (WebCore::WorkerMessagingProxy::postTaskToLoader):
2585         (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope):
2586         (WebCore::WorkerMessagingProxy::workerThreadCreated):
2587         * workers/WorkerRunLoop.cpp:
2588         (WebCore::WorkerRunLoop::postTask):
2589         (WebCore::WorkerRunLoop::postTaskAndTerminate):
2590         (WebCore::WorkerRunLoop::postTaskForMode):
2591         (WebCore::WorkerRunLoop::Task::Task):
2592         * xml/DOMParser.cpp:
2593         (WebCore::DOMParser::parseFromString):
2594         * xml/NativeXPathNSResolver.cpp:
2595         (WebCore::NativeXPathNSResolver::NativeXPathNSResolver):
2596         * xml/NativeXPathNSResolver.h:
2597         (WebCore::NativeXPathNSResolver::create):
2598         * xml/XMLErrors.cpp:
2599         (WebCore::XMLErrors::insertErrorMessageBlock):
2600         * xml/XMLHttpRequest.cpp:
2601         (WebCore::XMLHttpRequest::responseBlob):
2602         * xml/XMLHttpRequestProgressEventThrottle.cpp:
2603         (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent):
2604         (WebCore::XMLHttpRequestProgressEventThrottle::dispatchDeferredEvents):
2605         * xml/XMLTreeViewer.cpp:
2606         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
2607         * xml/XPathExpression.cpp:
2608         (WebCore::XPathExpression::XPathExpression):
2609         (WebCore::XPathExpression::createExpression):
2610         * xml/XPathExpressionNode.cpp:
2611         (WebCore::XPath::Expression::setSubexpressions):
2612         * xml/XPathExpressionNode.h:
2613         (WebCore::XPath::Expression::addSubexpression):
2614         * xml/XPathFunctions.cpp:
2615         (WebCore::XPath::Function::setArguments):
2616         (WebCore::XPath::FunId::evaluate):
2617         (WebCore::XPath::Function::create):
2618         * xml/XPathGrammar.y:
2619         * xml/XPathNodeSet.cpp:
2620         (WebCore::XPath::NodeSet::sort):
2621         (WebCore::XPath::NodeSet::traversalSort):
2622         * xml/XPathNodeSet.h:
2623         (WebCore::XPath::NodeSet::NodeSet):
2624         (WebCore::XPath::NodeSet::append):
2625         * xml/XPathParser.cpp:
2626         (WebCore::XPath::Parser::parseStatement):
2627         * xml/XPathParser.h:
2628         (WebCore::XPath::Parser::setParseResult):
2629         * xml/XPathPath.cpp:
2630         (WebCore::XPath::Filter::Filter):
2631         (WebCore::XPath::Filter::evaluate):
2632         (WebCore::XPath::LocationPath::evaluate):
2633         (WebCore::XPath::LocationPath::appendStep):
2634         (WebCore::XPath::LocationPath::prependStep):
2635         (WebCore::XPath::Path::Path):
2636         * xml/XPathPredicate.cpp:
2637         (WebCore::XPath::StringExpression::StringExpression):
2638         (WebCore::XPath::Negative::Negative):
2639         (WebCore::XPath::NumericOp::NumericOp):
2640         (WebCore::XPath::EqTestOp::EqTestOp):
2641         (WebCore::XPath::LogicalOp::LogicalOp):
2642         (WebCore::XPath::Union::Union):
2643         * xml/XPathStep.cpp:
2644         (WebCore::XPath::Step::Step):
2645         (WebCore::XPath::Step::optimize):
2646         (WebCore::XPath::optimizeStepPair):
2647         (WebCore::XPath::Step::evaluate):
2648         * xml/XPathStep.h:
2649         (WebCore::XPath::Step::NodeTest::NodeTest):
2650         (WebCore::XPath::Step::NodeTest::operator=):
2651         * xml/XPathValue.h:
2652         (WebCore::XPath::Value::Value):
2653         (WebCore::XPath::Value::Data::create):
2654         (WebCore::XPath::Value::Data::Data):
2655         * xml/XSLTProcessor.h:
2656         (WebCore::XSLTProcessor::setXSLStyleSheet):
2657         (WebCore::XSLTProcessor::importStylesheet):
2658         * xml/parser/XMLDocumentParser.cpp:
2659         (WebCore::XMLDocumentParser::append):
2660         * xml/parser/XMLDocumentParserLibxml2.cpp:
2661         (WebCore::PendingCallbacks::appendStartElementNSCallback):
2662         (WebCore::PendingCallbacks::appendCharactersCallback):
2663         (WebCore::PendingCallbacks::appendProcessingInstructionCallback):
2664         (WebCore::PendingCallbacks::appendCDATABlockCallback):
2665         (WebCore::PendingCallbacks::appendCommentCallback):
2666         (WebCore::PendingCallbacks::appendInternalSubsetCallback):
2667         (WebCore::PendingCallbacks::appendErrorCallback):
2668         (WebCore::OffsetBuffer::OffsetBuffer):
2669         (WebCore::openFunc):
2670         (WebCore::XMLDocumentParser::cdataBlock):
2671         (WebCore::XMLDocumentParser::comment):
2672         (WebCore::parseAttributes):
2673
2674 2016-01-01  Simon Fraser  <simon.fraser@apple.com>
2675
2676         Fix naming in HistoryItem to refer to scrollPositions
2677         https://bugs.webkit.org/show_bug.cgi?id=152646
2678
2679         Reviewed by Zalan Bujtas.
2680
2681         HistoryItem stores a scrollPosition, so call it that.
2682
2683         No behavior change.
2684
2685         * history/HistoryItem.cpp:
2686         (WebCore::HistoryItem::HistoryItem):
2687         (WebCore::HistoryItem::scrollPosition):
2688         (WebCore::HistoryItem::setScrollPosition):
2689         (WebCore::HistoryItem::clearScrollPosition):
2690         (WebCore::HistoryItem::scrollPoint): Deleted.
2691         (WebCore::HistoryItem::setScrollPoint): Deleted.
2692         (WebCore::HistoryItem::clearScrollPoint): Deleted.
2693         * history/HistoryItem.h:
2694         * loader/HistoryController.cpp:
2695         (WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
2696         (WebCore::HistoryController::clearScrollPositionAndViewState):
2697         (WebCore::HistoryController::restoreScrollPositionAndViewState):
2698         (WebCore::HistoryController::updateForClientRedirect):
2699
2700 2016-01-01  Zalan Bujtas  <zalan@apple.com>
2701
2702         Simple line layout: Add support for toggling simple line layout from command line.
2703         https://bugs.webkit.org/show_bug.cgi?id=152636
2704
2705         Reviewed by Simon Fraser.
2706
2707         No change in functionality.
2708
2709         * rendering/SimpleLineLayout.cpp:
2710         (WebCore::SimpleLineLayout::canUseForWithReason):
2711         (WebCore::SimpleLineLayout::toggleSimpleLineLayout):
2712
2713 2016-01-01  Brady Eidson  <beidson@apple.com>
2714
2715         Modern IDB: storage/indexeddb/database-deletepending-flag.html fails.
2716         https://bugs.webkit.org/show_bug.cgi?id=152600
2717
2718         Reviewed by Alex Christensen.
2719
2720         No new tests (At least one failing test now passes, and at least 2 crashing tests now timeout).
2721
2722         * Modules/indexeddb/server/IDBBackingStore.h:
2723         
2724         * Modules/indexeddb/server/MemoryIDBBackingStore.cpp:
2725         (WebCore::IDBServer::MemoryIDBBackingStore::deleteBackingStore):
2726         * Modules/indexeddb/server/MemoryIDBBackingStore.h:
2727         
2728         * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
2729         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
2730         (WebCore::IDBServer::UniqueIDBDatabase::deleteBackingStore):
2731         (WebCore::IDBServer::UniqueIDBDatabase::didDeleteBackingStore):
2732         * Modules/indexeddb/server/UniqueIDBDatabase.h:
2733
2734 2016-01-01  Simon Fraser  <simon.fraser@apple.com>
2735
2736         Fix reload and programmatic scrolling in RTL documents
2737         https://bugs.webkit.org/show_bug.cgi?id=152639
2738
2739         Reviewed by Zalan Bujtas.
2740         
2741         Reloading a left-scrolled RTL document would cause the content to appear
2742         at an odd offset, and programmatic sideways scrolls in RTL documents also
2743         jumped to the wrong location.
2744         
2745         Fix by resolving offset/position confusion in ScrollableArea::scrollPositionChanged()
2746         and the scrolling tree.
2747         
2748         ScrollableArea::scrollPositionChanged() was erroneously passing a scrollPosition
2749         to setScrollOffset(). 
2750         
2751         ScrollingTreeFrameScrollingNode* were confused about offsets and positions. It
2752         turns out that the layer position is just -scrollPosition, but minimumScrollPosition()
2753         and maximumScrollPosition() need fixing to return positions, not offsets.
2754         
2755         ScrollingTreeFrameScrollingNode::viewToContentsOffset() was also doing incorrect
2756         math with scrollOrigin, which was detected by a failing test.
2757         
2758         Add more logging to the Scrolling channel.
2759
2760         Tests: fast/scrolling/programmatic-document-rtl-scroll.html
2761                fast/scrolling/programmatic-document-rtl-scrollIntoView.html
2762                fast/scrolling/scroll-position-on-reload-rtl.html
2763
2764         * page/FrameView.cpp:
2765         (WebCore::FrameView::requestScrollPositionUpdate):
2766         * page/scrolling/ScrollingTree.cpp:
2767         (WebCore::ScrollingTree::shouldHandleWheelEventSynchronously):
2768         * page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
2769         (WebCore::ScrollingTreeFrameScrollingNode::scrollBy):
2770         (WebCore::ScrollingTreeFrameScrollingNode::viewToContentsOffset):
2771         * page/scrolling/ScrollingTreeFrameScrollingNode.h:
2772         * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
2773         (WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollPosition):
2774         (WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollLayerPosition):
2775         (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
2776         (WebCore::ScrollingTreeFrameScrollingNodeIOS::minimumScrollPosition):
2777         (WebCore::ScrollingTreeFrameScrollingNodeIOS::maximumScrollPosition):
2778         * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
2779         (WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollBy):
2780         (WebCore::ScrollingTreeFrameScrollingNodeMac::scrollPosition):
2781         (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollPosition):
2782         (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollLayerPosition):
2783         (WebCore::ScrollingTreeFrameScrollingNodeMac::minimumScrollPosition):
2784         (WebCore::ScrollingTreeFrameScrollingNodeMac::maximumScrollPosition):
2785         * platform/ScrollView.cpp:
2786         (WebCore::ScrollView::setScrollOffset):
2787         (WebCore::ScrollView::scrollTo):
2788         (WebCore::ScrollView::setScrollPosition):
2789         (WebCore::ScrollView::updateScrollbars):
2790         * platform/ScrollView.h:
2791         * platform/ScrollableArea.cpp:
2792         (WebCore::ScrollableArea::scrollPositionChanged):
2793         (WebCore::ScrollableArea::setScrollOffsetFromAnimation):
2794         (WebCore::ScrollableArea::scrollPositionFromOffset):
2795         (WebCore::ScrollableArea::scrollOffsetFromPosition):
2796         * platform/ScrollableArea.h:
2797         (WebCore::ScrollableArea::scrollPositionFromOffset):
2798         (WebCore::ScrollableArea::scrollOffsetFromPosition):
2799         * rendering/RenderListBox.cpp:
2800         (WebCore::RenderListBox::setScrollOffset):
2801         * rendering/RenderListBox.h:
2802
2803 2016-01-01  Simon Fraser  <simon.fraser@apple.com>
2804
2805         REGRESSION (r194448): Scrolling overflow:scroll goes too far
2806         https://bugs.webkit.org/show_bug.cgi?id=152645
2807
2808         Reviewed by Zalan Bujtas.
2809         
2810         Fix a bug introduced in r194448: use the scrollPosition, not the scrollOrigin
2811         to compute the overhang amount.
2812
2813         Test: fast/scrolling/overflow-scroll-past-max.html
2814
2815         * rendering/RenderLayer.cpp:
2816         (WebCore::RenderLayer::overhangAmount):
2817
2818 2015-12-22  Brent Fulgham  <bfulgham@apple.com>
2819
2820         [WebGL] Blacklisted OpenGL contexts are not safe to use
2821         https://bugs.webkit.org/show_bug.cgi?id=152513
2822         <rdar://problem/23127838>
2823
2824         Reviewed by Zalan Bujtas.
2825
2826         When the GPU has blacklisted an OpenGL context, it is not safe to use -- even to
2827         attempt to release GL resources. Instead, our only correct behavior is to terminate
2828         the WebProcess.
2829
2830         * platform/graphics/mac/GraphicsContext3DMac.mm:
2831         (WebCore::GraphicsContext3D::checkGPUStatusIfNecessary): If the context was lost
2832         because the GPU blacklisted it, terminate the process.
2833
2834 2016-01-01  Jeff Miller  <jeffm@apple.com>
2835
2836         Update user-visible copyright strings to include 2016
2837         https://bugs.webkit.org/show_bug.cgi?id=152531
2838
2839         Reviewed by Alexey Proskuryakov.
2840
2841         * Info.plist:
2842
2843 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
2844
2845         Change RenderLayer::scrollTo() to take a ScrollPosition
2846         https://bugs.webkit.org/show_bug.cgi?id=152633
2847
2848         Reviewed by Zalan Bujtas.
2849         
2850         RenderLayer::scrollTo() took x and y offsets. Change this to take a position,
2851         like ScrollView::scrollTo() and fix the one caller.
2852         
2853         Preserve the dubious behavior of the adjustForIOSCaretWhenScrolling() code by converting
2854         to and from offsets, even though testing suggests that this code can just be removed,
2855         even with an extra wide caret for testing.
2856
2857         * rendering/RenderLayer.cpp:
2858         (WebCore::RenderLayer::scrollTo):
2859         (WebCore::RenderLayer::setScrollOffset):
2860         * rendering/RenderLayer.h:
2861
2862 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
2863
2864         Rename documentScrollOffsetRelativeTo* functions
2865         https://bugs.webkit.org/show_bug.cgi?id=152632
2866
2867         Reviewed by Zalan Bujtas.
2868
2869         ScrollView::documentScrollOffsetRelativeTo* functions return scroll positions,
2870         not offsets, so rename them and fix their return types, and fix callers. Make
2871         their code more similar.
2872
2873         * platform/ScrollView.cpp:
2874         (WebCore::ScrollView::documentScrollPositionRelativeToViewOrigin):
2875         (WebCore::ScrollView::documentScrollPositionRelativeToScrollableAreaOrigin):
2876         (WebCore::ScrollView::viewToContents):
2877         (WebCore::ScrollView::contentsToView):
2878         (WebCore::ScrollView::documentScrollOffsetRelativeToViewOrigin): Deleted.
2879         (WebCore::ScrollView::documentScrollOffsetRelativeToScrollableAreaOrigin): Deleted.
2880         * platform/ScrollView.h:
2881         * rendering/RenderBoxModelObject.cpp:
2882         (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
2883         * rendering/RenderLayer.cpp:
2884         (WebCore::RenderLayer::scrollRectToVisible):
2885
2886 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
2887
2888         [iOS WK2] Fix incorrect scrollPosition handling
2889         https://bugs.webkit.org/show_bug.cgi?id=152630
2890
2891         Reviewed by Zalan Bujtas.
2892
2893         WebPage::updateVisibleContentRects() was setting the ScrollView's scroll position
2894         to a scrollOffset, which was counteracted by ScrollView::unobscuredContentRect()
2895         adding the scrollOrigin to the scrollPosition, which resulted in the correct
2896         rects, but an incorrect scrollPosition. Fix.
2897
2898         * platform/ios/ScrollViewIOS.mm:
2899         (WebCore::ScrollView::unobscuredContentRect):
2900
2901 2015-12-31  David Kilzer  <ddkilzer@apple.com>
2902
2903         Fix typo in FIXME comment
2904
2905         * dom/make_event_factory.pl:
2906         (generateImplementation): FIXEME => FIXME.
2907
2908 2015-12-31  David Kilzer  <ddkilzer@apple.com>
2909
2910         Stop using USE(CFNETWORK) path on iOS
2911         https://bugs.webkit.org/show_bug.cgi?id=142540
2912
2913         Step 1/2: Do everything but turn off USE(CFNETWORK) internally.
2914
2915         Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10
2916         Reviewed by Daniel Bates.
2917
2918         Unify OS X and iOS code paths.
2919
2920         This patch just fixes the NSURLConnection code path on iOS. It
2921         doesn't yet delete any unnecessary code.
2922
2923         Changes covered by most existing tests.
2924
2925         * loader/DocumentLoader.h:
2926         * loader/ResourceLoader.cpp:
2927         * loader/ResourceLoader.h:
2928         * loader/mac/DocumentLoaderMac.cpp:
2929         - Update for iOS to use NSURLConnection loader.
2930
2931         * page/mac/PageMac.mm:
2932         (WebCore::Page::platformInitialize): Always use the correct
2933         runloop on iOS regardless of which thread this was called on.
2934         (WebCore::Page::addSchedulePair): Update for iOS to use
2935         NSURLConnection loader.
2936         (WebCore::Page::removeSchedulePair): Ditto.
2937
2938         * platform/ios/wak/WebCoreThread.h:
2939         (WebThreadRunLoop): No longer needs to be exported.
2940         (WebThreadNSRunLoop): Export for WebKitLegacy.
2941
2942         * platform/network/ios/QuickLook.mm: Fix header order.
2943         (WebQuickLookHandleAsDelegate): Make delegate objects implement
2944         WebCoreResourceLoaderDelegate protocol.  This unifies the
2945         -clearHandle and -detachHandle methods that were used on iOS and
2946         OS X, respectively.
2947         (-[WebQuickLookHandleAsDelegate clearHandle]): Deleted.
2948         (-[WebQuickLookHandleAsDelegate detachHandle]): Renamed from
2949         -clearHandle.
2950         (WebResourceLoaderQuickLookDelegate): Make delegate objects
2951         implement WebCoreResourceLoaderDelegate protocol.
2952         (-[WebResourceLoaderQuickLookDelegate clearHandle]): Deleted.
2953         (-[WebResourceLoaderQuickLookDelegate detachHandle]): Renamed from
2954         -clearHandle.
2955         (WebCore::QuickLookHandle::~QuickLookHandle): Call
2956         -detachHandle instead of -clearHandle.
2957
2958         * platform/network/mac/ResourceHandleMac.mm:
2959         - Update for iOS to use NSURLConnection loader.
2960
2961         * platform/network/mac/WebCoreResourceHandleAsDelegate.h:
2962         (WebCoreResourceLoaderDelegate): Define new protocol.
2963
2964         * platform/network/mac/WebCoreResourceHandleAsDelegate.mm:
2965         (-[WebCoreResourceHandleAsDelegate detachHandle]): Gratuitous
2966         nullptr fix.
2967
2968         * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h:
2969         (WebCoreResourceHandleAsOperationQueueDelegate): Implement
2970         WebCoreResourceLoaderDelegate protocol.
2971
2972         * platform/spi/cocoa/NSURLDownloadSPI.h: Declare more
2973         NSURDownload SPI to clean up other source files and make
2974         source compile on iOS with NSURLConnection code path.
2975
2976 2015-12-31  Andy Estes  <aestes@apple.com>
2977
2978         Fix warnings uncovered by migrating to WTF_MOVE
2979         https://bugs.webkit.org/show_bug.cgi?id=152601
2980
2981         Reviewed by Daniel Bates.
2982
2983         * Modules/encryptedmedia/MediaKeys.cpp:
2984         (WebCore::MediaKeys::createSession): Moving a return value prevented copy elision.
2985
2986 2015-12-31  Brady Eidson  <beidson@apple.com>
2987
2988         Review feedback followup for:
2989         Modern IDB: Only fire blocked events after all open connections have handled their versionchange events.
2990         https://bugs.webkit.org/show_bug.cgi?id=152593
2991
2992         Suggested by Andy Estes.
2993
2994         * Modules/indexeddb/client/IDBDatabaseImpl.cpp:
2995         (WebCore::IDBClient::IDBDatabase::dispatchEvent): Use downcast instead of static_cast.
2996
2997         Add traits to support downcast<>:
2998         * Modules/indexeddb/client/IDBVersionChangeEventImpl.h:
2999         (isType):
3000
3001 2015-12-31  Zalan Bujtas  <zalan@apple.com>
3002
3003         Move decoration context setup calls to InlineTextBox::paintDecoration.
3004         https://bugs.webkit.org/show_bug.cgi?id=152622
3005
3006         Reviewed by Simon Fraser.
3007
3008         No change in functionality.
3009
3010         * rendering/InlineTextBox.cpp:
3011         (WebCore::InlineTextBox::paint):
3012         (WebCore::InlineTextBox::paintDecoration):
3013         * rendering/InlineTextBox.h:
3014
3015 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
3016
3017         More scrollOffset/scrollPosition disambiguation, in RenderLayer
3018         https://bugs.webkit.org/show_bug.cgi?id=152617
3019
3020         Reviewed by Zalan Bujtas.
3021         
3022         Change RenderLayer's m_scrollOffset to be m_scrollPosition, since it stores
3023         scroll positions (negative in RTL overflow). scrollOffset() was accurately
3024         named already, but fix the return type, and remove the unnecessary scrollXOffset()/
3025         scrollYOffset() variants, fixing callers to use .x() and .y().
3026         
3027         scrollToOffset() was also accurately named, but fix its argument.
3028         
3029         Fix functions related to saving scroll positions on Element to refer to scroll positions.
3030
3031         No behavior change.
3032
3033         * accessibility/AccessibilityRenderObject.cpp:
3034         (WebCore::AccessibilityRenderObject::scrollTo):
3035         * dom/Element.cpp:
3036         (WebCore::Element::removedFrom):
3037         (WebCore::Element::savedLayerScrollPosition):
3038         (WebCore::Element::setSavedLayerScrollPosition):
3039         (WebCore::Element::savedLayerScrollOffset): Deleted.
3040         (WebCore::Element::setSavedLayerScrollOffset): Deleted.
3041         * dom/Element.h:
3042         * dom/ElementRareData.h:
3043         (WebCore::ElementRareData::savedLayerScrollPosition):
3044         (WebCore::ElementRareData::setSavedLayerScrollPosition):
3045         (WebCore::ElementRareData::savedLayerScrollOffset): Deleted.
3046         (WebCore::ElementRareData::setSavedLayerScrollOffset): Deleted.
3047         * html/TextFieldInputType.cpp:
3048         (WebCore::TextFieldInputType::forwardEvent):
3049         * platform/graphics/IntPoint.h:
3050         (WebCore::IntPoint::isZero):
3051         * rendering/RenderBlock.cpp:
3052         (WebCore::RenderBlock::baselinePosition):
3053         * rendering/RenderBox.cpp:
3054         (WebCore::RenderBox::styleDidChange):
3055         (WebCore::RenderBox::scrollLeft):
3056         (WebCore::RenderBox::scrollTop):
3057         (WebCore::RenderBox::scrolledContentOffset):
3058         * rendering/RenderLayer.cpp:
3059         (WebCore::RenderLayer::RenderLayer):
3060         (WebCore::RenderLayer::~RenderLayer):
3061         (WebCore::RenderLayer::scrollByRecursively):
3062         (WebCore::RenderLayer::clampScrollOffset):
3063         (WebCore::RenderLayer::scrollToOffset):
3064         (WebCore::RenderLayer::scrollTo):
3065         (WebCore::RenderLayer::scrollRectToVisible):
3066         (WebCore::RenderLayer::scrollPosition):
3067         (WebCore::RenderLayer::maximumScrollPosition):
3068         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
3069         * rendering/RenderLayer.h:
3070         * rendering/RenderLayerBacking.cpp:
3071         (WebCore::RenderLayerBacking::updateGeometry):
3072         * rendering/RenderMarquee.cpp:
3073         (WebCore::RenderMarquee::start):
3074         (WebCore::RenderMarquee::timerFired):
3075         * rendering/RenderTreeAsText.cpp:
3076         (WebCore::write):
3077
3078 2015-12-31  Zalan Bujtas  <zalan@apple.com>
3079
3080         text-decoration: line-through is mispositioned when text has overline/underline too.
3081         https://bugs.webkit.org/show_bug.cgi?id=152619
3082
3083         Reviewed by Simon Fraser.
3084
3085         Line-through painting was mistakenly calling drawLineForText with overline/underline positioning.
3086
3087         Test: fast/css3-text/css3-text-decoration/text-decoration-line-through-mispositioned.html
3088
3089         * rendering/InlineTextBox.cpp:
3090         (WebCore::InlineTextBox::paintDecoration): Deleted.
3091         * rendering/TextDecorationPainter.cpp:
3092         (WebCore::TextDecorationPainter::paintTextDecoration):
3093
3094 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
3095
3096         Clarify that scrollPositionChangedViaPlatformWidget takes offsets
3097         https://bugs.webkit.org/show_bug.cgi?id=152606
3098
3099         Reviewed by Zalan Bujtas.
3100
3101         scrollPositionChangedViaPlatformWidget actually gets scroll offsets, since the
3102         values we get from AppKit are zero-based, so rename to scrollOffsetChangedViaPlatformWidget().
3103         
3104         Change ScrollableArea's setScrollPosition() and requestScrollPositionUpdate() to take
3105         ScrollPositions.
3106         
3107         Add a FIXME noting that willRevealEdge events are probably broken in RTL documents.
3108
3109         * dom/Document.cpp:
3110         (WebCore::Document::sendWillRevealEdgeEventsIfNeeded):
3111         * page/FrameView.cpp:
3112         (WebCore::FrameView::setScrollPosition):
3113         (WebCore::FrameView::scrollOffsetChangedViaPlatformWidgetImpl):
3114         (WebCore::FrameView::scrollPositionChanged):
3115         (WebCore::FrameView::requestScrollPositionUpdate):
3116         (WebCore::FrameView::scrollPositionChangedViaPlatformWidgetImpl): Deleted.
3117         * page/FrameView.h:
3118         * platform/ScrollView.cpp:
3119         (WebCore::ScrollView::scrollOffsetChangedViaPlatformWidget):
3120         (WebCore::ScrollView::handleDeferredScrollUpdateAfterContentSizeChange):
3121         (WebCore::ScrollView::scrollTo):
3122         (WebCore::ScrollView::setScrollPosition):
3123         (WebCore::ScrollView::scrollPositionChangedViaPlatformWidget): Deleted.
3124         * platform/ScrollView.h:
3125         (WebCore::ScrollView::scrollOffsetChangedViaPlatformWidgetImpl):
3126         (WebCore::ScrollView::scrollPositionChangedViaPlatformWidgetImpl): Deleted.
3127         * platform/ScrollableArea.cpp:
3128         (WebCore::ScrollableArea::notifyScrollPositionChanged):
3129         * platform/ScrollableArea.h:
3130         (WebCore::ScrollableArea::requestScrollPositionUpdate):
3131
3132 2015-12-31  Zalan Bujtas  <zalan@apple.com>
3133
3134         Simple line layout: Text with stroke width is not positioned correctly.
3135         https://bugs.webkit.org/show_bug.cgi?id=152614
3136
3137         Reviewed by Simon Fraser.
3138
3139         Visual overflow should not affect text position.
3140
3141         Test: fast/text/simple-line-layout-text-position-with-stroke.html
3142
3143         * rendering/SimpleLineLayoutFunctions.cpp:
3144         (WebCore::SimpleLineLayout::paintFlow):
3145
3146 2015-12-31  Zalan Bujtas  <zalan@apple.com>
3147
3148         Simple line layout: Nested block with pseudo first-line parent should bail out of simple line layout.
3149         https://bugs.webkit.org/show_bug.cgi?id=152599
3150
3151         Reviewed by Simon Fraser.
3152
3153         We should bail out of simple line layout if any of the ancestors have pseudo first-line style.
3154         (see RenderBlock::firstLineBlock()) 
3155
3156         Test: fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html
3157
3158         * rendering/SimpleLineLayout.cpp:
3159         (WebCore::SimpleLineLayout::canUseForWithReason):
3160
3161 2015-12-30  Simon Fraser  <simon.fraser@apple.com>
3162
3163         Change ScrollView::scrollTo() to take a ScrollPosition
3164         https://bugs.webkit.org/show_bug.cgi?id=152607
3165
3166         Reviewed by Zalan Bujtas.
3167
3168         Make it more explicit that ScrollView::scrollTo() takes a ScrollPosition, and
3169         change the name and type of the m_scrollOffset member variable.
3170
3171         * page/FrameView.cpp:
3172         (WebCore::FrameView::scrollTo):
3173         (WebCore::FrameView::wheelEvent):
3174         * page/FrameView.h:
3175         * platform/ScrollView.cpp:
3176         (WebCore::ScrollView::unobscuredContentRectInternal):
3177         (WebCore::ScrollView::setScrollOffset):
3178         (WebCore::ScrollView::scrollTo):
3179         * platform/ScrollView.h:
3180
3181 2015-12-30  Brady Eidson  <beidson@apple.com>
3182
3183         Modern IDB: Only fire blocked events after all open connections have handled their versionchange events.
3184         https://bugs.webkit.org/show_bug.cgi?id=152593
3185
3186         Reviewed by Andy Estes.
3187
3188         No new tests (At least two previously timing-out tests now pass, others are now closer to passing).
3189
3190         Before this patch, whenever we sent all open connections the versionchange event, we would immediately 
3191         fire the blocked event on the request.
3192
3193         That's not right, as those event handlers can close the connections, rendering the request unblocked.
3194
3195         So this patch implements the behavior of waiting for each open connection to either close or positively
3196         message back "I finished firing my versionchange event handler"
3197         
3198         This behavior is explicitly denoted in the spec and is covered by existing tests.
3199
3200         * Modules/indexeddb/client/IDBConnectionToServer.cpp:
3201         (WebCore::IDBClient::IDBConnectionToServer::fireVersionChangeEvent):
3202         (WebCore::IDBClient::IDBConnectionToServer::didFireVersionChangeEvent):
3203         * Modules/indexeddb/client/IDBConnectionToServer.h:
3204         * Modules/indexeddb/client/IDBConnectionToServerDelegate.h:
3205         
3206         * Modules/indexeddb/client/IDBDatabaseImpl.cpp:
3207         (WebCore::IDBClient::IDBDatabase::fireVersionChangeEvent):
3208         (WebCore::IDBClient::IDBDatabase::dispatchEvent):
3209         * Modules/indexeddb/client/IDBDatabaseImpl.h:
3210         
3211         * Modules/indexeddb/client/IDBVersionChangeEventImpl.cpp:
3212         (WebCore::IDBClient::IDBVersionChangeEvent::IDBVersionChangeEvent):
3213         * Modules/indexeddb/client/IDBVersionChangeEventImpl.h:
3214         
3215         * Modules/indexeddb/server/IDBConnectionToClient.cpp:
3216         (WebCore::IDBServer::IDBConnectionToClient::fireVersionChangeEvent):
3217         * Modules/indexeddb/server/IDBConnectionToClient.h:
3218         * Modules/indexeddb/server/IDBConnectionToClientDelegate.h:
3219         
3220         * Modules/indexeddb/server/IDBServer.cpp:
3221         (WebCore::IDBServer::IDBServer::didFireVersionChangeEvent):
3222         * Modules/indexeddb/server/IDBServer.h:
3223         
3224         * Modules/indexeddb/server/ServerOpenDBRequest.cpp:
3225         (WebCore::IDBServer::ServerOpenDBRequest::notifyRequestBlocked):
3226         (WebCore::IDBServer::ServerOpenDBRequest::notifiedConnectionsOfVersionChange):
3227         (WebCore::IDBServer::ServerOpenDBRequest::connectionClosedOrFiredVersionChangeEvent):
3228         (WebCore::IDBServer::ServerOpenDBRequest::notifyDeleteRequestBlocked): Deleted.
3229         * Modules/indexeddb/server/ServerOpenDBRequest.h:
3230         (WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedBlocked):
3231         (WebCore::IDBServer::ServerOpenDBRequest::hasConnectionsPendingVersionChangeEvent):
3232         (WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedConnectionsOfVersionChange):
3233         (WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedDeleteRequestBlocked): Deleted.
3234
3235         * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
3236         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
3237         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
3238         (WebCore::IDBServer::UniqueIDBDatabase::maybeNotifyConnectionsOfVersionChange):
3239         (WebCore::IDBServer::UniqueIDBDatabase::notifyCurrentRequestConnectionClosedOrFiredVersionChangeEvent):
3240         (WebCore::IDBServer::UniqueIDBDatabase::didFireVersionChangeEvent):
3241         (WebCore::IDBServer::UniqueIDBDatabase::connectionClosedFromClient):
3242         (WebCore::IDBServer::UniqueIDBDatabase::notifyConnectionsOfVersionChangeForUpgrade): Deleted.
3243         (WebCore::IDBServer::UniqueIDBDatabase::notifyConnectionsOfVersionChange): Deleted.
3244         * Modules/indexeddb/server/UniqueIDBDatabase.h:
3245         
3246         * Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp:
3247         (WebCore::IDBServer::UniqueIDBDatabaseConnection::connectionClosedFromClient):
3248         (WebCore::IDBServer::UniqueIDBDatabaseConnection::didFireVersionChangeEvent):
3249         (WebCore::IDBServer::UniqueIDBDatabaseConnection::fireVersionChangeEvent):
3250         * Modules/indexeddb/server/UniqueIDBDatabaseConnection.h:
3251         
3252         * Modules/indexeddb/shared/InProcessIDBServer.cpp:
3253         (WebCore::InProcessIDBServer::fireVersionChangeEvent):
3254         (WebCore::InProcessIDBServer::didFireVersionChangeEvent):
3255         * Modules/indexeddb/shared/InProcessIDBServer.h:
3256         
3257         * dom/Event.h:
3258         (WebCore::Event::isVersionChangeEvent):
3259
3260 2015-12-30  Simon Fraser  <simon.fraser@apple.com>
3261
3262         Add explicit conversions between scrollOffset and scrollPostion, and use them in a few places
3263         https://bugs.webkit.org/show_bug.cgi?id=152594
3264
3265         Reviewed by Sam Weinig.
3266
3267         Add functions to ScrollableArea to convert between scrollPosition and scrollOffset,
3268         and use them in places where code did the math with scrollOrigin.
3269
3270         * page/FrameView.cpp:
3271         (WebCore::FrameView::minimumScrollPosition):
3272         (WebCore::FrameView::maximumScrollPosition): totalContentsSize().width() == contentsWidth(),
3273         so we can use the base class maximumScrollPosition(), which also clamps.
3274         * platform/ScrollView.cpp:
3275         (WebCore::ScrollView::maximumScrollPosition):
3276         (WebCore::ScrollView::setScrollOffset):
3277         (WebCore::ScrollView::overhangAmount):
3278         (WebCore::ScrollView::updateScrollbars):
3279         (WebCore::ScrollView::calculateOverhangAreasForPainting):
3280         (WebCore::ScrollView::minimumScrollPosition): Deleted. Can use base class implementation.
3281         * platform/ScrollView.h:
3282         * platform/ScrollableArea.cpp:
3283         (WebCore::ScrollableArea::minimumScrollPosition):
3284         (WebCore::ScrollableArea::maximumScrollPosition):
3285         (WebCore::ScrollableArea::maximumScrollOffset):
3286         (WebCore::ScrollableArea::scrollPositionFromOffset):
3287         (WebCore::ScrollableArea::scrollOffsetFromPosition):
3288         * platform/ScrollableArea.h:
3289         (WebCore::ScrollableArea::scrollOrigin):
3290         (WebCore::ScrollableArea::scrollOriginChanged):
3291         * platform/ios/ScrollViewIOS.mm:
3292         (WebCore::ScrollView::unobscuredContentRect):
3293         * platform/mac/ScrollAnimatorMac.mm:
3294         (WebCore::ScrollAnimatorMac::pinnedInDirection):
3295         (WebCore::ScrollAnimatorMac::absoluteScrollPosition):
3296         * rendering/RenderLayer.cpp:
3297         (WebCore::RenderLayer::scrollPosition):
3298         (WebCore::RenderLayer::maximumScrollPosition):
3299         (WebCore::RenderLayer::overhangAmount):
3300         (WebCore::RenderLayer::minimumScrollPosition): Deleted.
3301         * rendering/RenderLayer.h:
3302
3303 2015-12-30  Zalan Bujtas  <zalan@apple.com>
3304
3305         Move InlineTextBox's text decoration painting to its own class.
3306         https://bugs.webkit.org/show_bug.cgi?id=152587
3307
3308         Reviewed by Myles C. Maxfield.
3309
3310         This is in preparation for adding text decoration support for simple line layout.
3311
3312         No change in functionality.
3313
3314         * CMakeLists.txt:
3315         * WebCore.vcxproj/WebCore.vcxproj:
3316         * WebCore.vcxproj/WebCore.vcxproj.filters:
3317         * WebCore.xcodeproj/project.pbxproj:
3318         * rendering/InlineTextBox.cpp:
3319         (WebCore::InlineTextBox::paintDecoration):
3320         (WebCore::compareTuples): Deleted.
3321         (WebCore::translateIntersectionPointsToSkipInkBoundaries): Deleted.
3322         (WebCore::drawSkipInkUnderline): Deleted.
3323         (WebCore::textDecorationStyleToStrokeStyle): Deleted.
3324         (WebCore::adjustStepToDecorationLength): Deleted.
3325         (WebCore::strokeWavyTextDecoration): Deleted.
3326         * rendering/RenderObject.cpp:
3327         (WebCore::RenderObject::getTextDecorationColorsAndStyles):
3328         * rendering/RenderObject.h:
3329         * rendering/RenderingAllInOne.cpp:
3330         * rendering/TextDecorationPainter.cpp: Added.
3331         (WebCore::adjustStepToDecorationLength):
3332         (WebCore::strokeWavyTextDecoration):
3333         (WebCore::compareTuples):
3334         (WebCore::translateIntersectionPointsToSkipInkBoundaries):
3335         (WebCore::drawSkipInkUnderline):
3336         (WebCore::textDecorationStyleToStrokeStyle):
3337         (WebCore::TextDecorationPainter::TextDecorationPainter):
3338         (WebCore::TextDecorationPainter::paintTextDecoration):
3339         * rendering/TextDecorationPainter.h: Added.
3340         (WebCore::TextDecorationPainter::setInlineTextBox):
3341         (WebCore::TextDecorationPainter::setFont):
3342         (WebCore::TextDecorationPainter::setIsHorizontal):
3343         (WebCore::TextDecorationPainter::setWidth):
3344         (WebCore::TextDecorationPainter::setBaseline):
3345         (WebCore::TextDecorationPainter::addTextShadow):
3346         * style/InlineTextBoxStyle.cpp:
3347         (WebCore::computeUnderlineOffset):
3348         (WebCore::visualOverflowForDecorations):
3349         * style/InlineTextBoxStyle.h:
3350
3351 2015-12-30  Zan Dobersek  <zdobersek@igalia.com>
3352
3353         [CoordinatedGraphics] VideoRenderRequestScheduler shouldn't dispatch to main thread in threaded compositor
3354         https://bugs.webkit.org/show_bug.cgi?id=152584
3355
3356         Reviewed by Carlos Garcia Campos.
3357
3358         The VideoRenderRequestScheduler class should only send the repaint-requested
3359         signal dispatch to the main thread when not using the threaded compositor.
3360         In case that is used (guarded via WTF_USE_COORDINATED_GRAPHICS_THREADED), the
3361         signal dispatch can be done on the current thread (normally a GStreamer thread)
3362         since the actual GL texture update will be then dispatched to the compositor
3363         thread (unlike when gstreamer-gl is used, when the update can be done on the
3364         very same thread).
3365
3366         When that is the case we don't need the RunLoop::Timer, Condition and the
3367         video sink GRefPtr protector that are otherwise used by this class, so these
3368         can just be guarded with the USE(...) flag.
3369
3370         * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
3371         (VideoRenderRequestScheduler::VideoRenderRequestScheduler):
3372         (VideoRenderRequestScheduler::stop):
3373         (VideoRenderRequestScheduler::requestRender):
3374
3375 2015-12-30  Zan Dobersek  <zdobersek@igalia.com>
3376
3377         [TexMap] Clean up TextureMapperAnimation, TextureMapperAnimations
3378         https://bugs.webkit.org/show_bug.cgi?id=152112
3379
3380         Reviewed by Darin Adler.
3381
3382         Clean up the TextureMapperAnimation class. Turn AnimationState into an enum
3383         class. Use references for non-null pointer parameters to one version of the
3384         constructor and the apply() and applyInternal() methods. Remove unnecessary
3385         public methods and reorder the remaining ones into something more sensible.
3386         In terms of the implementation of this class, the methods are moved around to
3387         follow the order of declarations, along with some small cleanups and improvements
3388         applied.
3389
3390         TextureMapperAnimations class is also refreshed. The constructor is defaulted,
3391         and the method implementations are reordered a bit and also adjusted to use the
3392         range-based for-loops and some STL utilities.
3393
3394         Static functions in the implementation file are also updated to use range-based
3395         for-loops, references and nullptrs where possible.
3396
3397         There's no change in behavior as this is just a refactoring.
3398
3399         * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
3400         (WebCore::GraphicsLayerTextureMapper::addAnimation):
3401         * platform/graphics/texmap/TextureMapperAnimation.cpp:
3402         (WebCore::blendFunc):
3403         (WebCore::applyFilterAnimation):
3404         (WebCore::shouldReverseAnimationValue):
3405         (WebCore::applyTransformAnimation):
3406         (WebCore::TextureMapperAnimation::TextureMapperAnimation):
3407         (WebCore::TextureMapperAnimation::apply):
3408         (WebCore::TextureMapperAnimation::pause):
3409         (WebCore::TextureMapperAnimation::resume):
3410         (WebCore::TextureMapperAnimation::computeTotalRunningTime):
3411         (WebCore::TextureMapperAnimation::isActive):
3412         (WebCore::TextureMapperAnimation::applyInternal):
3413         (WebCore::TextureMapperAnimations::add):
3414         (WebCore::TextureMapperAnimations::remove):
3415         (WebCore::TextureMapperAnimations::pause):
3416         (WebCore::TextureMapperAnimations::suspend):
3417         (WebCore::TextureMapperAnimations::resume):
3418         (WebCore::TextureMapperAnimations::apply):
3419         (WebCore::TextureMapperAnimations::hasActiveAnimationsOfType):
3420         (WebCore::TextureMapperAnimations::hasRunningAnimations):
3421         (WebCore::TextureMapperAnimations::getActiveAnimations):
3422         * platform/graphics/texmap/TextureMapperAnimation.h:
3423         (WebCore::TextureMapperAnimation::name):
3424         (WebCore::TextureMapperAnimation::boxSize):
3425         (WebCore::TextureMapperAnimation::animation):
3426         (WebCore::TextureMapperAnimation::startTime):
3427         (WebCore::TextureMapperAnimation::pauseTime):
3428         (WebCore::TextureMapperAnimation::state):
3429         (WebCore::TextureMapperAnimation::setState): Deleted.
3430         (WebCore::TextureMapperAnimation::property): Deleted.
3431         (WebCore::TextureMapperAnimations::TextureMapperAnimations): Deleted.
3432         * platform/graphics/texmap/TextureMapperLayer.cpp:
3433         (WebCore::TextureMapperLayer::syncAnimations):
3434         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
3435         (WebCore::CoordinatedGraphicsLayer::addAnimation):
3436
3437 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
3438
3439         Rename "scrollOffsetForFixedPosition" and related functions to refer to scrollPosition
3440         https://bugs.webkit.org/show_bug.cgi?id=152590
3441
3442         Reviewed by Zalan Bujtas.
3443
3444         FrameView::scrollOffsetForFixedPosition() actually returned a scroll position
3445         (possibly negative for RTL content), not a scroll offset, so rename it and related
3446         functions.
3447
3448         * page/FrameView.cpp:
3449         (WebCore::FrameView::fixedScrollableAreaBoundsInflatedForScrolling):
3450         (WebCore::FrameView::scrollPositionRespectingCustomFixedPosition):
3451         (WebCore::FrameView::viewportConstrainedVisibleContentRect):
3452         (WebCore::FrameView::scrollPositionForFixedPosition):
3453         (WebCore::FrameView::scrollOffsetRespectingCustomFixedPosition): Deleted.
3454         (WebCore::FrameView::scrollOffsetForFixedPosition): Deleted.
3455         * page/FrameView.h:
3456         * page/animation/AnimationBase.cpp:
3457         (WebCore::AnimationBase::timeToNextService):
3458         * page/animation/AnimationController.cpp:
3459         (WebCore::AnimationControllerPrivate::scrollWasUpdated):
3460         * page/scrolling/AsyncScrollingCoordinator.cpp:
3461         (WebCore::AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll):
3462         * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
3463         (WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
3464         * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
3465         (WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollLayerPosition):
3466         * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
3467         (WebCore::MediaPlayerPrivateMediaFoundation::setSize):
3468         * rendering/RenderBoxModelObject.cpp:
3469         (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
3470         * rendering/RenderLayer.cpp:
3471         (WebCore::RenderLayer::calculateClipRects):
3472         * rendering/RenderLayerBacking.cpp:
3473         (WebCore::RenderLayerBacking::updateGeometry):
3474         * rendering/RenderLayerCompositor.cpp:
3475         (WebCore::RenderLayerCompositor::updateScrollLayerPosition):
3476         * rendering/RenderView.cpp:
3477         (WebCore::RenderView::mapLocalToContainer):
3478         (WebCore::RenderView::pushMappingToContainer):
3479         (WebCore::RenderView::mapAbsoluteToLocalPoint):
3480         (WebCore::RenderView::computeRectForRepaint):
3481
3482 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
3483
3484         Fix the Windows build.
3485
3486         * page/win/FrameCGWin.cpp:
3487         (WebCore::drawRectIntoContext):
3488
3489 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
3490
3491         Remove ScrollView::scrollOffset() in preparation for scrollOffset vs. scrollPosition clarification
3492         https://bugs.webkit.org/show_bug.cgi?id=152589
3493
3494         Reviewed by Sam Weinig.
3495
3496         Current code uses scrollOffset vs. scrollPosition interchangeably, and confusingly.
3497         Longer term, I plan to make "scrollPosition" be the value that is relative to the 
3498         contents, i.e. affected by scrollOrigin, and "scrollOffset" be the zero-based value
3499         that's used to set scrollbar values.
3500         
3501         To prepare for this, remove ScrollView::scrollOffset(), which is just the
3502         scrollPosition as an IntSize.
3503         
3504         Add some typedefs in ScrollableArea, which will slowly propagate through the
3505         code as position vs. offset is clarified.
3506
3507         * inspector/InspectorOverlay.cpp:
3508         (WebCore::contentsQuadToCoordinateSystem):
3509         (WebCore::InspectorOverlay::highlightQuad):
3510         (WebCore::localPointToRoot):
3511         * page/FrameView.cpp:
3512         (WebCore::FrameView::scrollOffsetRespectingCustomFixedPosition):
3513         (WebCore::FrameView::topContentInsetDidChange):
3514         (WebCore::FrameView::addTrackedRepaintRect):
3515         (WebCore::FrameView::scrollTo):
3516         (WebCore::FrameView::wheelEvent):
3517         (WebCore::FrameView::setScrollPinningBehavior):
3518         * page/FrameView.h:
3519         * page/SpatialNavigation.cpp:
3520         (WebCore::canScrollInDirection):
3521         (WebCore::rectToAbsoluteCoordinates):
3522         * platform/ScrollView.cpp:
3523         (WebCore::ScrollView::setScrollbarModes):
3524         (WebCore::ScrollView::availableContentSizeChanged):
3525         (WebCore::ScrollView::setContentsSize):
3526         (WebCore::ScrollView::maximumScrollPosition):
3527         (WebCore::ScrollView::minimumScrollPosition):
3528         (WebCore::ScrollView::adjustScrollPositionWithinRange):
3529         (WebCore::ScrollView::documentScrollOffsetRelativeToViewOrigin):
3530         (WebCore::ScrollView::documentScrollOffsetRelativeToScrollableAreaOrigin):
3531         (WebCore::ScrollView::setScrollPosition):
3532         (WebCore::ScrollView::updateScrollbars):
3533         (WebCore::ScrollView::rootViewToTotalContents):
3534         (WebCore::ScrollView::setFrameRect):
3535         (WebCore::ScrollView::scrollbarStyleChanged):
3536         (WebCore::ScrollView::setScrollOrigin):
3537         * platform/ScrollView.h:
3538         (WebCore::ScrollView::convertChildToSelf):
3539         (WebCore::ScrollView::convertSelfToChild):
3540         (WebCore::ScrollView::scrollOffset): Deleted.
3541         * platform/ScrollableArea.cpp:
3542         (WebCore::ScrollableArea::scrollbarIntrusion):
3543         (WebCore::ScrollableArea::scrollPosition):
3544         (WebCore::ScrollableArea::minimumScrollPosition):
3545         (WebCore::ScrollableArea::maximumScrollPosition):
3546         * platform/ScrollableArea.h:
3547         * rendering/RenderBox.cpp:
3548         (WebCore::RenderBox::calculateAutoscrollDirection):
3549         * rendering/RenderLayer.cpp:
3550         (WebCore::RenderLayer::scrollPosition):
3551         (WebCore::RenderLayer::minimumScrollPosition):
3552         (WebCore::RenderLayer::maximumScrollPosition):
3553         * rendering/RenderLayer.h:
3554         * rendering/RenderWidget.cpp:
3555         (WebCore::RenderWidget::nodeAtPoint):
3556         * svg/SVGSVGElement.cpp:
3557         (WebCore::SVGSVGElement::localCoordinateSpaceTransform):
3558
3559 2015-12-28  Alex Christensen  <achristensen@webkit.org>
3560
3561         Fix Windows build, ostensibly after r194424.
3562
3563         * CMakeLists.txt:
3564         * PlatformWin.cmake:
3565         ml.exe was given too many unneeded parameters (/Idir1 /Idir2 etc.), and it was failing sometimes with long directories.
3566         Instead of compiling makesafeseh.asm as a normal source file, we now put only the parameters that are needed to assemble
3567         the object file, then link with the object file.
3568
3569 2015-12-28  Brady Eidson  <beidson@apple.com>
3570
3571         Modern IDB: Rename IDBServerOperation to ServerOpenDBRequest.
3572         https://bugs.webkit.org/show_bug.cgi?id=152577
3573
3574         Reviewed by Andy Estes.
3575
3576         No new tests (Refactor, no behavior change)
3577
3578         * CMakeLists.txt:
3579         * WebCore.xcodeproj/project.pbxproj:
3580
3581         * Modules/indexeddb/server/ServerOpenDBRequest.cpp: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.cpp.
3582         (WebCore::IDBServer::ServerOpenDBRequest::create):
3583         (WebCore::IDBServer::ServerOpenDBRequest::ServerOpenDBRequest):
3584         (WebCore::IDBServer::ServerOpenDBRequest::isOpenRequest):
3585         (WebCore::IDBServer::ServerOpenDBRequest::isDeleteRequest):
3586         (WebCore::IDBServer::ServerOpenDBRequest::notifyDeleteRequestBlocked):
3587         (WebCore::IDBServer::ServerOpenDBRequest::notifyDidDeleteDatabase):
3588         
3589         * Modules/indexeddb/server/ServerOpenDBRequest.h: Renamed from Source/WebCore/Modules/indexeddb/server/IDBServerOperation.h.
3590         (WebCore::IDBServer::ServerOpenDBRequest::connection):
3591         (WebCore::IDBServer::ServerOpenDBRequest::requestData):
3592         (WebCore::IDBServer::ServerOpenDBRequest::hasNotifiedDeleteRequestBlocked):
3593         
3594         * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
3595         (WebCore::IDBServer::UniqueIDBDatabase::openDatabaseConnection):
3596         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperation):
3597         (WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
3598         (WebCore::IDBServer::UniqueIDBDatabase::handleDatabaseOperations):
3599         (WebCore::IDBServer::UniqueIDBDatabase::handleCurrentOperation):
3600         (WebCore::IDBServer::UniqueIDBDatabase::handleDelete):
3601         (WebCore::IDBServer::UniqueIDBDatabase::startVersionChangeTransaction):
3602         (WebCore::IDBServer::UniqueIDBDatabase::notifyConnectionsOfVersionChangeForUpgrade):
3603         (WebCore::IDBServer::UniqueIDBDatabase::operationAndTransactionTimerFired):
3604         * Modules/indexeddb/server/UniqueIDBDatabase.h:
3605         
3606 2015-12-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3607
3608         [CMake][EFL] Fix build breaks when enabling GAMEPAD
3609         https://bugs.webkit.org/show_bug.cgi?id=152573
3610
3611         Reviewed by Alex Christensen.
3612
3613         When enabling GAMEPAD feature on EFL and GTK, there are build breaks.
3614         Fixed all.
3615
3616         * CMakeLists.txt:
3617
3618 2015-12-25  Andy Estes  <aestes@apple.com>
3619
3620         Stop moving local objects in return statements
3621         https://bugs.webkit.org/show_bug.cgi?id=152557
3622
3623         Reviewed by Brady Eidson.
3624
3625         Calling std::move() on a local object in a return statement prevents the compiler from applying the return value optimization.
3626
3627         Clang can warn about these mistakes with -Wpessimizing-move, although only when std::move() is called directly.
3628         I found these issues by temporarily replacing WTF::move with std::move and recompiling.
3629
3630         * Modules/indexeddb/IDBDatabaseIdentifier.cpp:
3631         (WebCore::IDBDatabaseIdentifier::isolatedCopy):
3632         * Modules/indexeddb/IDBKeyData.cpp:
3633         (WebCore::IDBKeyData::deletedValue):
3634         * Modules/indexeddb/client/IDBDatabaseImpl.cpp:
3635         (WebCore::IDBClient::IDBDatabase::objectStoreNames):
3636         (WebCore::IDBClient::IDBDatabase::startVersionChangeTransaction):
3637         * Modules/indexeddb/client/IDBTransactionImpl.cpp:
3638         (WebCore::IDBClient::IDBTransaction::createObjectStore):
3639         (WebCore::IDBClient::IDBTransaction::createIndex):
3640         (WebCore::IDBClient::IDBTransaction::doRequestOpenCursor):
3641         (WebCore::IDBClient::IDBTransaction::requestGetRecord):
3642         (WebCore::IDBClient::IDBTransaction::requestIndexRecord):
3643         (WebCore::IDBClient::IDBTransaction::requestClearObjectStore):
3644         (WebCore::IDBClient::IDBTransaction::requestPutOrAdd):
3645         * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
3646         (WebCore::IDBServer::UniqueIDBDatabase::takeNextRunnableTransaction):
3647         * Modules/indexeddb/shared/IDBDatabaseInfo.cpp:
3648         (WebCore::IDBDatabaseInfo::isolatedCopy):
3649         (WebCore::IDBDatabaseInfo::objectStoreNames):
3650         * Modules/indexeddb/shared/IDBResultData.cpp:
3651         (WebCore::IDBResultData::error):
3652         (WebCore::IDBResultData::openDatabaseSuccess):
3653         (WebCore::IDBResultData::openDatabaseUpgradeNeeded):
3654         * Modules/indexeddb/shared/IDBTransactionInfo.cpp:
3655         (WebCore::IDBTransactionInfo::versionChange):
3656         (WebCore::IDBTransactionInfo::isolatedCopy):
3657         * Modules/indexeddb/shared/InProcessIDBServer.cpp:
3658         (WebCore::InProcessIDBServer::create):
3659         * Modules/webaudio/OfflineAudioContext.cpp:
3660         (WebCore::OfflineAudioContext::create):
3661         * Modules/webdatabase/DatabaseTracker.cpp:
3662         (WebCore::DatabaseTracker::originLockFor):
3663         * Modules/websockets/WebSocket.cpp:
3664         (WebCore::WebSocket::create):
3665         * css/CSSPrimitiveValue.cpp:
3666         (WebCore::CSSPrimitiveValue::formatNumberValue):
3667         * dom/NodeOrString.cpp:
3668         (WebCore::convertNodesOrStringsIntoNode):
3669         * inspector/InspectorApplicationCacheAgent.cpp:
3670         (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
3671         * inspector/InspectorDOMAgent.cpp:
3672         (WebCore::InspectorDOMAgent::buildObjectForNode):
3673         (WebCore::InspectorDOMAgent::buildArrayForElementAttributes):
3674         (WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
3675         (WebCore::InspectorDOMAgent::buildObjectForEventListener):
3676         * inspector/InspectorIndexedDBAgent.cpp:
3677         * inspector/InspectorLayerTreeAgent.cpp:
3678         (WebCore::InspectorLayerTreeAgent::buildObjectForLayer):
3679         * inspector/InspectorNetworkAgent.cpp:
3680         (WebCore::buildObjectForHeaders):
3681         (WebCore::buildObjectForResourceRequest):
3682         (WebCore::buildObjectForCachedResource):
3683         * inspector/InspectorOverlay.cpp:
3684         (WebCore::buildArrayForQuad):
3685         (WebCore::buildObjectForFlowRegions):
3686         (WebCore::InspectorOverlay::buildObjectForHighlightedNodes):
3687         * inspector/InspectorPageAgent.cpp:
3688         (WebCore::createXHRTextDecoder):
3689         (WebCore::buildArrayForCookies):
3690         (WebCore::InspectorPageAgent::buildObjectForFrame):
3691         * inspector/InspectorStyleSheet.cpp:
3692         (WebCore::buildMediaObject):
3693         (WebCore::InspectorStyle::buildArrayForComputedStyle):
3694         (WebCore::buildObjectForSelectorHelper):
3695         (WebCore::selectorsFromSource):
3696         (WebCore::InspectorStyleSheet::buildObjectForSelectorList):
3697         (WebCore::InspectorStyleSheet::buildObjectForStyle):
3698         (WebCore::InspectorStyleSheet::buildArrayForRuleList):
3699         * inspector/InspectorTimelineAgent.cpp:
3700         (WebCore::InspectorTimelineAgent::stopFromConsole):
3701         * inspector/TimelineRecordFactory.cpp:
3702         (WebCore::TimelineRecordFactory::createGenericRecord):
3703         (WebCore::TimelineRecordFactory::createFunctionCallData):
3704         (WebCore::TimelineRecordFactory::createConsoleProfileData):
3705         (WebCore::TimelineRecordFactory::createProbeSampleData):
3706         (WebCore::TimelineRecordFactory::createEventDispatchData):
3707         (WebCore::TimelineRecordFactory::createGenericTimerData):
3708         (WebCore::TimelineRecordFactory::createTimerInstallData):
3709         (WebCore::TimelineRecordFactory::createEvaluateScriptData):
3710         (WebCore::TimelineRecordFactory::createTimeStampData):
3711         (WebCore::TimelineRecordFactory::createAnimationFrameData):
3712         (WebCore::createQuad):
3713         (WebCore::TimelineRecordFactory::createPaintData):
3714         (WebCore::buildInspectorObject):
3715         * loader/FrameLoader.cpp:
3716         (WebCore::createWindow):
3717         * loader/NavigationAction.cpp:
3718         (WebCore::NavigationAction::copyWithShouldOpenExternalURLsPolicy):
3719         * page/DOMWindow.cpp:
3720         (WebCore::DOMWindow::createWindow):
3721         * platform/network/ios/QuickLook.mm:
3722         (WebCore::QuickLookHandle::create):
3723         * testing/Internals.cpp:
3724         (WebCore::Internals::openDummyInspectorFrontend):
3725         * workers/WorkerScriptLoader.cpp:
3726         (WebCore::WorkerScriptLoader::createResourceRequest):
3727         * xml/XPathExpression.cpp:
3728         (WebCore::XPathExpression::evaluate):
3729
3730 2015-12-27  Zalan Bujtas  <zalan@apple.com>
3731
3732         Should never be reached failure in WebCore::RenderElement::clearLayoutRootIfNeeded
3733         https://bugs.webkit.org/show_bug.cgi?id=151590
3734
3735         Reviewed by Simon Fraser.
3736
3737         We should always set the layoutroot when a new subtree layout is requested (and convert it
3738         to a full layout when needed). It ensures that renderers are detached cleanly even when
3739         they are set as layoutroot.
3740
3741         Test: fast/block/assert-when-layout-root-is-not-cleared.html
3742
3743         * page/FrameView.cpp:
3744         (WebCore::FrameView::scheduleRelayoutOfSubtree):
3745
3746 2015-12-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3747
3748         [CMake] Rearrange new gamepad files with deprecated files
3749         https://bugs.webkit.org/show_bug.cgi?id=152564
3750
3751         Reviewed by Alex Christensen.
3752
3753         New gamepad files have been commented out in CMakeLists.txt so far. This patch
3754         rearrange the files with deprecated files using ENABLE_GAMEPAD.
3755
3756         * CMakeLists.txt:
3757
3758 2015-12-26  Per Arne Vollan  <peavo@outlook.com>
3759
3760         [Curl] Compile errors.
3761         https://bugs.webkit.org/show_bug.cgi?id=152563
3762
3763         Reviewed by Alex Christensen.
3764
3765         The ResourceError constructor has changed signature.
3766
3767         * platform/network/curl/ResourceHandleManager.cpp:
3768         (WebCore::ResourceHandleManager::downloadTimerCallback):
3769         (WebCore::ResourceHandleManager::dispatchSynchronousJob):
3770
3771 2015-12-25  Zalan Bujtas  <zalan@apple.com>
3772
3773         Subpixel rendering: Add subpixel support for outline.
3774         https://bugs.webkit.org/show_bug.cgi?id=152560
3775
3776         Reviewed by Simon Fraser.
3777
3778         This patch adds support for subpixel outline-width/outline-offset.
3779
3780         Test: fast/borders/hidpi-outline-hairline-painting.html
3781
3782         * css/CSSPropertyNames.in:
3783         * page/animation/CSSPropertyAnimation.cpp:
3784         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
3785         * platform/graphics/GraphicsContext.h:
3786         * platform/graphics/mac/GraphicsContextMac.mm:
3787         (WebCore::GraphicsContext::drawFocusRing):
3788         * rendering/RenderElement.cpp:
3789         (WebCore::RenderElement::computeMaxOutlineSize):
3790         (WebCore::RenderElement::paintOutline):
3791         * rendering/RenderImage.cpp:
3792         (WebCore::RenderImage::paintAreaElementFocusRing):
3793         * rendering/RenderInline.cpp:
3794         (WebCore::RenderInline::paintOutlineForLine):
3795         * rendering/RenderObject.cpp:
3796         (WebCore::RenderObject::adjustRectForOutlineAndShadow):
3797         * rendering/RenderView.cpp:
3798         (WebCore::RenderView::setMaximalOutlineSize):
3799         * rendering/RenderView.h:
3800         * rendering/style/OutlineValue.h:
3801         (WebCore::OutlineValue::offset):
3802         (WebCore::OutlineValue::OutlineValue): Deleted.
3803         * rendering/style/RenderStyle.h:
3804
3805 2015-12-25  Alexey Proskuryakov  <ap@apple.com>
3806
3807         ASSERT(m_nsResponse) in ResourceResponse::platformCertificateInfo() when running tests in iOS simulator
3808         https://bugs.webkit.org/show_bug.cgi?id=152559
3809
3810         Reviewed by Andy Estes.
3811
3812         Fix a regression from r194378.
3813
3814         * platform/network/cocoa/ResourceResponseCocoa.mm:
3815         (WebCore::ResourceResponse::platformCertificateInfo):
3816
3817 2015-12-25  David Kilzer  <ddkilzer@apple.com>
3818
3819         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
3820         <http://webkit.org/b/146391>
3821
3822         Reviewed by Antti Koivisto.
3823
3824         * loader/DocumentThreadableLoader.cpp:
3825         (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
3826         (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest):
3827         (WebCore::DocumentThreadableLoader::didReceiveResponse):
3828         (WebCore::DocumentThreadableLoader::preflightFailure):
3829         * loader/DocumentThreadableLoader.h:
3830         (WebCore::DocumentThreadableLoader::preflightFailure):
3831         - Switch type of 'url' argument of preflightFailure() from
3832           String to URL.
3833         - Update for type change of 'failingURL' argument to
3834           ResourceError().
3835
3836         * loader/EmptyClients.h:
3837         * loader/FrameLoader.cpp:
3838         (WebCore::FrameLoader::loadResourceSynchronously):
3839         * loader/MediaResourceLoader.cpp:
3840         (WebCore::MediaResourceLoader::responseReceived):
3841         * loader/ResourceLoader.cpp:
3842         (WebCore::ResourceLoader::loadDataURL):
3843         * loader/WorkerThreadableLoader.cpp:
3844         (WebCore::WorkerThreadableLoader::MainThreadBridge::cancel):
3845         * loader/cache/CachedResourceLoader.cpp:
3846         (WebCore::CachedResourceLoader::requestResource):
3847         - Update for type change of 'failingURL' argument to
3848           ResourceError().
3849
3850         * page/EventSource.cpp:
3851         (WebCore::EventSource::didFailAccessControlCheck):
3852         - Convert failingURL() to String explicitly.
3853
3854         * platform/efl/ErrorsEfl.cpp:
3855         (WebCore::cancelledError):
3856         (WebCore::blockedError):
3857         (WebCore::blockedByContentBlockerError):
3858         (WebCore::cannotShowURLError):
3859         (WebCore::interruptedForPolicyChangeError):
3860         (WebCore::cannotShowMIMETypeError):
3861         (WebCore::fileDoesNotExistError):
3862         (WebCore::pluginWillHandleLoadError):
3863         (WebCore::downloadCancelledByUserError):
3864         (WebCore::downloadDestinationError):
3865         * platform/gtk/ErrorsGtk.cpp:
3866         (WebCore::cancelledError):
3867         (WebCore::blockedError):
3868         (WebCore::blockedByContentBlockerError):
3869         (WebCore::cannotShowURLError):
3870         (WebCore::interruptedForPolicyChangeError):
3871         (WebCore::cannotShowMIMETypeError):
3872         (WebCore::fileDoesNotExistError):
3873         (WebCore::pluginWillHandleLoadError):
3874         (WebCore::downloadCancelledByUserError):
3875         (WebCore::downloadDestinationError):
3876         - Update for type change of 'failingURL' argument to
3877           ResourceError().
3878
3879         * platform/network/ResourceErrorBase.h:
3880         (WebCore::ResourceErrorBase::failingURL):
3881         - Change return type from String to URL.
3882         (WebCore::ResourceErrorBase::ResourceErrorBase):
3883         * platform/network/cf/ResourceError.h:
3884         (WebCore::ResourceError::ResourceError):
3885         - Change type of 'failingURL' from String to URL.
3886
3887         * platform/network/cf/ResourceErrorCF.cpp:
3888         (WebCore::ResourceError::ResourceError):
3889         - Change type of 'failingURL' from String to URL.
3890         (WebCore::ResourceError::platformLazyInit):
3891         - Clean up code and address FIXME by parsing CFURLRef using
3892           URL() constructor.
3893         (WebCore::ResourceError::cfError):
3894         - Clean up code and address FIXME after switching type of
3895           m_failingURL.
3896
3897         * platform/network/curl/ResourceError.h:
3898         (WebCore::ResourceError::ResourceError):
3899         - Change type of 'failingURL' from String to URL.
3900
3901         * platform/network/mac/ResourceErrorMac.mm:
3902         (WebCore::createNSErrorFromResourceErrorBase):
3903         (WebCore::ResourceError::platformLazyInit):
3904         - Clean up code and address FIXME after switching type of
3905           m_failingURL.
3906
3907         * platform/network/soup/ResourceError.h:
3908         (WebCore::ResourceError::ResourceError):
3909         (WebCore::ResourceError::timeoutError):
3910         * platform/network/soup/ResourceErrorSoup.cpp:
3911         (WebCore::failingURI):
3912         (WebCore::ResourceError::timeoutError):
3913         * platform/network/soup/ResourceHandleSoup.cpp:
3914         (WebCore::ResourceHandle::timeoutFired):
3915         - Change type of 'failingURL' from String to URL.
3916
3917         * xml/XMLHttpRequest.cpp:
3918         (WebCore::XMLHttpRequest::didFail):
3919         - Convert failingURL() to String explicitly.
3920         - Also switch to using makeString().
3921
3922 2015-12-24  Zalan Bujtas  <zalan@apple.com>
3923
3924         ASSERTION FAILED: x2 >= x1 in WebCore::RenderElement::drawLineForBoxSide
3925         https://bugs.webkit.org/show_bug.cgi?id=151210
3926
3927         Reviewed by Simon Fraser.
3928
3929         "IntRect outer = snappedIntRect(inner)" explicitly converts inner to LayoutRect first and
3930         returns a snapped IntRect. When inner (after the inflate) overflows LayoutUnit,
3931         the snapped rect might become smaller than the inner rect.
3932
3933         This patch also enables outline painting on subpixel positions.
3934
3935         Tests: fast/borders/hidpi-outline-on-subpixel-position.html
3936                fast/borders/outline-offset-overflow.html
3937
3938         * rendering/RenderElement.cpp:
3939         (WebCore::RenderElement::paintOutline):
3940
3941 2015-12-24  Simon Fraser  <simon.fraser@apple.com>
3942
3943         Use an enum for RenderElement's baseTypeFlags
3944         https://bugs.webkit.org/show_bug.cgi?id=152553
3945
3946         Reviewed by Zalan Bujtas.
3947
3948         Use an enum, rather than unsigned, for the BaseTypeFlags bit mask.
3949
3950         * rendering/RenderBlock.cpp:
3951         (WebCore::RenderBlock::RenderBlock):
3952         * rendering/RenderBlock.h:
3953         * rendering/RenderBox.cpp:
3954         (WebCore::RenderBox::RenderBox):
3955         * rendering/RenderBox.h:
3956         * rendering/RenderBoxModelObject.cpp:
3957         (WebCore::RenderBoxModelObject::RenderBoxModelObject):
3958         * rendering/RenderBoxModelObject.h:
3959         * rendering/RenderElement.cpp:
3960         (WebCore::RenderElement::RenderElement):
3961         * rendering/RenderElement.h:
3962         * rendering/RenderLayerModelObject.cpp:
3963         (WebCore::RenderLayerModelObject::RenderLayerModelObject):
3964         * rendering/RenderLayerModelObject.h:
3965
3966 2015-12-24  Simon Fraser  <simon.fraser@apple.com>
3967
3968         Remove the unused #define _USE_MATH_DEFINES
3969         https://bugs.webkit.org/show_bug.cgi?id=152034
3970
3971         Reviewed by Tim Horton.
3972         
3973         _USE_MATH_DEFINES was added in r123968 but no longer does anything.
3974
3975         * platform/graphics/cg/GraphicsContextCG.cpp:
3976         * platform/graphics/cg/PDFDocumentImage.cpp:
3977         * rendering/mathml/RenderMathMLMenclose.cpp:
3978         * rendering/mathml/RenderMathMLOperator.cpp:
3979
3980 2015-12-23  Brady Eidson  <beidson@apple.com>
3981
3982         Modern IDB: Don't open any new connections until after version change transactions are completely handled.
3983         https://bugs.webkit.org/show_bug.cgi?id=152441
3984
3985         Reviewed by Alex Christensen.
3986
3987         No new tests (At least 4 failing tests now pass).
3988         
3989         When a version change transaction is in progress for a database, the server should not open any new connections
3990         to that database until the version change transaction has been 100% completed.
3991         
3992         This means *all* events related to finishing the transaction must fire.
3993         
3994         To support this, a new message from client -> server is added.
3995
3996         * Modules/indexeddb/client/IDBConnectionToServer.cpp:
3997         (WebCore::IDBClient::IDBConnectionToServer::didFinishHandlingVersionChangeTransaction):
3998         * Modules/indexeddb/client/IDBConnectionToServer.h:
3999         * Modules/indexeddb/client/IDBConnectionToServerDelegate.h:
4000         
4001         * Modules/indexeddb/client/IDBOpenDBRequestImpl.cpp: