Comment in ScopedEventQueue::dispatchEvent is unnecessarily verbose
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2013-10-24  Zan Dobersek  <zdobersek@igalia.com>
2
3         Comment in ScopedEventQueue::dispatchEvent is unnecessarily verbose
4         https://bugs.webkit.org/show_bug.cgi?id=123252
5
6         Reviewed by Darin Adler.
7
8         Shorten the comment about the crash avoidance in ScopedEventQueue::dispatchEvent due to
9         the calling convention in C++ is left unspecified. The problem was already fixed in r157219
10         and later adjusted in r157401, but the comment could have been shorter and simpler in both cases.
11
12         * dom/ScopedEventQueue.cpp:
13         (WebCore::ScopedEventQueue::dispatchEvent):
14
15 2013-10-24  Alex Christensen  <achristensen@webkit.org>
16
17         Removed unused ThreadSafeCoordinatedSurface and CertificateInfoCurl files.
18         https://bugs.webkit.org/show_bug.cgi?id=123246
19
20         Reviewed by Noam Rosenthal.
21
22         * WebCore.vcxproj/WebCore.vcxproj:
23         * WebCore.vcxproj/WebCore.vcxproj.filters:
24         Removed references to ThreadSafeCoordinatedSurface and CertificateInfoCurl.
25         * platform/graphics/texmap/coordinated/ThreadSafeCoordinatedSurface.cpp: Removed.
26         * platform/graphics/texmap/coordinated/ThreadSafeCoordinatedSurface.h: Removed.
27         * platform/network/curl/CertificateInfoCurl.cpp: Removed.
28
29 2013-10-24  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
30
31         Removed Qt workaround.
32         https://bugs.webkit.org/show_bug.cgi?id=123258
33
34         Reviewed by Csaba Osztrogonác.
35
36         No change of functionality, no new tests needed.
37
38         !$defines case can be removed, because Qt and Android aren't in WebKit trunk,
39         all ports (Mac,EFL,GTK,Windows) call this script with --defines option now
40
41         * css/make-css-file-arrays.pl:
42
43 2013-10-24  Antti Koivisto  <antti@apple.com>
44
45         Remove a stray space.
46         
47         Not reviewed.
48
49         * accessibility/AccessibilityRenderObject.cpp:
50         (WebCore::AccessibilityRenderObject::addImageMapChildren):
51
52 2013-10-24  Antti Koivisto  <antti@apple.com>
53
54         Element iterator functions should take reference
55         https://bugs.webkit.org/show_bug.cgi?id=123267
56
57         Reviewed by Andreas Kling.
58
59         The argument has to be non-null.
60
61 2013-10-24  Ryuan Choi  <ryuan.choi@samsung.com>
62
63         [EFL] Build break with latest EFL 1.8 libraries.
64         https://bugs.webkit.org/show_bug.cgi?id=123245
65
66         Reviewed by Gyuyoung Kim.
67
68         After fixed build break on EFL 1.8 at r138326, EFL libraries are changed
69         Eo typedef and splitted header files which contain version macro.
70
71         * platform/Widget.h: Changed Eo typedef.
72         * platform/efl/EflScreenUtilities.h: Ditto.
73         * platform/graphics/Image.h: Ditto.
74
75 2013-10-24  Andreas Kling  <akling@apple.com>
76
77         RenderSVGResource: Pass RenderElement to fill/strokePaintingResource.
78         <https://webkit.org/b/123242>
79
80         We never pass text renderers to these functions, so make them take
81         RenderElement instead.
82
83         Reviewed by Anders Carlsson.
84
85 2013-10-24  Carlos Garcia Campos  <cgarcia@igalia.com>
86
87         [GObject bindings] Make EventTarget interface introspectable
88         https://bugs.webkit.org/show_bug.cgi?id=77835
89
90         Reviewed by Gustavo Noronha Silva.
91
92         Add webkit_dom_event_target_add_event_listener_with_closure and
93         webkit_dom_event_target_remove_event_listener_with_closure to be
94         used by GObject instrospection bindings. Instead of receving a
95         GCallback, which makes the function not introspectable, they
96         receive a GClosure.
97
98         * bindings/gobject/GObjectEventListener.cpp:
99         (WebCore::GObjectEventListener::GObjectEventListener):
100         (WebCore::GObjectEventListener::~GObjectEventListener):
101         (WebCore::GObjectEventListener::gobjectDestroyed):
102         (WebCore::GObjectEventListener::handleEvent):
103         (WebCore::GObjectEventListener::operator==):
104         * bindings/gobject/GObjectEventListener.h:
105         (WebCore::GObjectEventListener::addEventListener):
106         (WebCore::GObjectEventListener::removeEventListener):
107         * bindings/gobject/WebKitDOMEventTarget.cpp:
108         (webkit_dom_event_target_dispatch_event):
109         (webkit_dom_event_target_add_event_listener):
110         (webkit_dom_event_target_remove_event_listener):
111         (webkit_dom_event_target_add_event_listener_with_closure):
112         (webkit_dom_event_target_remove_event_listener_with_closure):
113         * bindings/gobject/WebKitDOMEventTarget.h:
114         * bindings/scripts/CodeGeneratorGObject.pm:
115         (GenerateEventTargetIface):
116         * bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp:
117         (webkit_dom_test_event_target_dispatch_event):
118         (webkit_dom_test_event_target_add_event_listener):
119         (webkit_dom_test_event_target_remove_event_listener):
120         * bindings/scripts/test/GObject/WebKitDOMTestNode.cpp:
121         (webkit_dom_test_node_dispatch_event):
122         (webkit_dom_test_node_add_event_listener):
123         (webkit_dom_test_node_remove_event_listener):
124
125 2013-10-14  Sergio Villar Senin  <svillar@igalia.com>
126
127         Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
128         https://bugs.webkit.org/show_bug.cgi?id=118620
129
130         Reviewed by Antti Koivisto.
131
132         Turns out that order is extremelly uncommon so using a Vector is
133         much less expensive. This also special-cases the much common case
134         of only having order of value 0 by using Vectors with just one
135         preallocated member.
136
137         Also added the performance test that shows a ~1% win when using a
138         vector instead of the HashSet.
139
140         * rendering/RenderFlexibleBox.cpp:
141         (WebCore::RenderFlexibleBox::OrderIterator::setOrderValues):
142         (WebCore::RenderFlexibleBox::layoutBlock):
143         (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
144         * rendering/RenderFlexibleBox.h:
145
146 2013-10-23  ChangSeok Oh  <changseok.oh@collabora.com>
147
148         Unreviewed build fix since r157823.
149         FilterOperation::getOperationType() is renamed FilterOperation::type().
150
151         * platform/graphics/texmap/TextureMapperGL.cpp:
152         (WebCore::prepareFilterProgram):
153         (WebCore::TextureMapperGL::drawTexture):
154         (WebCore::TextureMapperGL::drawUsingCustomFilter):
155         (WebCore::TextureMapperGL::drawFiltered):
156         (WebCore::BitmapTextureGL::applyFilters):
157         * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
158         (WebCore::CoordinatedGraphicsScene::injectCachedCustomFilterPrograms):
159
160 2013-10-23  Ryuan Choi  <ryuan.choi@samsung.com>
161
162         Unreviewed build fix on CMake based ports when CMAKE_BUILD_TYPE is not given.
163
164         When CMAKE_BUILD_TYPE is empty, FIND command will be failed.
165
166         * CMakeLists.txt:
167
168 2013-10-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
169
170         Integrate css3-images image-orientation with existing EXIF support
171         https://bugs.webkit.org/show_bug.cgi?id=91566
172
173         Reviewed by Beth Dakin.
174
175         Original patch by David Barr(davidbarr@chromium.org).
176
177         This patch passes an information of image orientation into existing EXIF support functions
178         (draw() functions of image classes mainly). We need to let the functions to know the information
179         in order to meet the image-orientation requirement.
180
181         Spec: http://dev.w3.org/csswg/css-images-3/#the-image-orientation
182         The css3-images module specification is at last call.
183
184         Test: fast/css/image-orientation/image-orientation.html
185         Image orientation test is to check if incorrect rotation value can be fixed with correct orientation.
186
187         * loader/cache/CachedImage.cpp:
188         (WebCore::CachedImage::imageSizeForRenderer):
189         * page/DragController.cpp:
190         (WebCore::DragController::doImageDrag):
191         * page/Frame.cpp:
192         (WebCore::Frame::nodeImage):
193         * platform/graphics/BitmapImage.cpp:
194         (WebCore::BitmapImage::updateSize):
195         (WebCore::BitmapImage::sizeRespectingOrientation):
196         (WebCore::BitmapImage::drawPattern):
197         * platform/graphics/BitmapImage.h:
198         * platform/graphics/CrossfadeGeneratedImage.cpp:
199         (WebCore::CrossfadeGeneratedImage::draw):
200         * platform/graphics/CrossfadeGeneratedImage.h:
201         * platform/graphics/GeneratedImage.h:
202         * platform/graphics/GradientImage.cpp:
203         (WebCore::GradientImage::draw):
204         * platform/graphics/GradientImage.h:
205         * platform/graphics/Image.cpp:
206         (WebCore::Image::draw):
207         (WebCore::Image::drawTiled):
208         * platform/graphics/Image.h:
209         * platform/graphics/blackberry/ImageBlackBerry.cpp:
210         * platform/graphics/cairo/BitmapImageCairo.cpp:
211         (WebCore::BitmapImage::draw):
212         * platform/graphics/cg/BitmapImageCG.cpp:
213         * platform/graphics/cg/PDFDocumentImage.cpp:
214         (WebCore::PDFDocumentImage::draw):
215         * platform/graphics/cg/PDFDocumentImage.h:
216         * platform/graphics/win/ImageCGWin.cpp:
217         (WebCore::BitmapImage::getHBITMAPOfSize):
218         (WebCore::BitmapImage::drawFrameMatchingSourceSize):
219         * platform/graphics/wince/ImageBufferWinCE.cpp:
220         (WebCore::BufferedImage::draw):
221         * platform/graphics/wince/ImageWinCE.cpp:
222         (WebCore::BitmapImage::draw):
223         * platform/mac/DragImageMac.mm:
224         (WebCore::createDragImageFromImage):
225         * rendering/RenderEmbeddedObject.cpp:
226         (WebCore::RenderEmbeddedObject::paintSnapshotImage):
227         * rendering/RenderImage.cpp:
228         (WebCore::RenderImage::styleDidChange):
229         * rendering/RenderSnapshottedPlugIn.cpp:
230         (WebCore::RenderSnapshottedPlugIn::paintSnapshot):
231         * rendering/style/RenderStyle.cpp:
232         (WebCore::RenderStyle::changeRequiresLayout):
233         * svg/graphics/SVGImage.cpp:
234         (WebCore::SVGImage::drawForContainer):
235         (WebCore::SVGImage::nativeImageForCurrentFrame):
236         (WebCore::SVGImage::draw):
237         * svg/graphics/SVGImage.h:
238         * svg/graphics/SVGImageForContainer.cpp:
239         (WebCore::SVGImageForContainer::draw):
240         * svg/graphics/SVGImageForContainer.h:
241
242 2013-10-23  Andreas Kling  <akling@apple.com>
243
244         Tighten typing in SVGInlineTextBox a bit.
245         <https://webkit.org/b/123238>
246
247         Use RenderBoxModelObject& instead of generic RenderObject* in some
248         places where it happens as a natural consequence of keeping the
249         original return type from InlineBox::parent()->renderer().
250
251         Reviewed by Anders Carlsson.
252
253 2013-10-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
254
255         Introduce RENDER_OBJECT_TYPE_CASTS to replace manual toFoo() in child render object
256         https://bugs.webkit.org/show_bug.cgi?id=123150
257
258         Reviewed by Andreas Kling.
259
260         As a step to let toFoo use TYPE_CASTS_BASE, toRenderFoo() can use it for child render object.
261         So, this patch introduces RENDER_OBJECT_TYPE_CASTS based on the TYPE_CASTS_BASE. This will
262         generate plenty more helper functions for render object type cast.
263
264         Some unnecessary type casts are fixed by this change.
265
266         No new tests, no behavior changes.
267
268         * rendering/RenderBlock.h:
269         * rendering/RenderBlockFlow.h:
270         * rendering/RenderBox.h:
271         * rendering/RenderBoxModelObject.h:
272         * rendering/RenderButton.h:
273         * rendering/RenderCounter.h:
274         * rendering/RenderElement.h:
275         (WebCore::RenderElement::generatingElement):
276         * rendering/RenderEmbeddedObject.h:
277         * rendering/RenderFieldset.h:
278         * rendering/RenderFileUploadControl.h:
279         * rendering/RenderFlexibleBox.h:
280         * rendering/RenderFlowThread.h:
281         * rendering/RenderFrame.h:
282         * rendering/RenderFrameSet.h:
283         * rendering/RenderFullScreen.h:
284         * rendering/RenderHTMLCanvas.h:
285         * rendering/RenderIFrame.h:
286         * rendering/RenderImage.h:
287         * rendering/RenderInline.h:
288         * rendering/RenderLayerModelObject.h:
289         * rendering/RenderLineBreak.h:
290         * rendering/RenderListBox.h:
291         * rendering/RenderListItem.h:
292         * rendering/RenderMedia.h:
293         * rendering/RenderMenuList.h:
294         * rendering/RenderMeter.h:
295         * rendering/RenderMultiColumnBlock.h:
296         * rendering/RenderMultiColumnSet.h:
297         * rendering/RenderNamedFlowFragment.h:
298         * rendering/RenderNamedFlowThread.h:
299         * rendering/RenderObject.h:
300         * rendering/RenderProgress.h:
301         * rendering/RenderQuote.h:
302         * rendering/RenderRegion.h:
303         * rendering/RenderReplaced.h:
304         * rendering/RenderRubyRun.h:
305         * rendering/RenderScrollbarPart.h:
306         * rendering/RenderSearchField.h:
307         * rendering/RenderSlider.h:
308         * rendering/RenderSnapshottedPlugIn.h:
309         * rendering/RenderTable.h:
310         * rendering/RenderTableCaption.h:
311         * rendering/RenderTableCell.h:
312         * rendering/RenderTableCol.h:
313         * rendering/RenderTableRow.h:
314         * rendering/RenderTableSection.h:
315         * rendering/RenderText.h:
316         * rendering/RenderTextControl.h:
317         * rendering/RenderTextControlMultiLine.h:
318         * rendering/RenderTextControlSingleLine.h:
319         * rendering/RenderWidget.h:
320         * rendering/mathml/RenderMathMLBlock.h:
321         * rendering/svg/RenderSVGContainer.h:
322         * rendering/svg/RenderSVGGradientStop.h:
323         * rendering/svg/RenderSVGImage.h:
324         * rendering/svg/RenderSVGInlineText.h:
325         * rendering/svg/RenderSVGPath.h:
326         * rendering/svg/RenderSVGResourceFilter.h:
327         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
328         (WebCore::RenderSVGResourceFilterPrimitive::styleDidChange):
329         * rendering/svg/RenderSVGRoot.h:
330         * rendering/svg/RenderSVGShape.h:
331         * rendering/svg/RenderSVGText.h:
332         * rendering/svg/RenderSVGTextPath.h:
333         * rendering/svg/RenderSVGViewportContainer.h:
334         * rendering/svg/SVGInlineFlowBox.cpp:
335         (WebCore::SVGInlineFlowBox::paint):
336
337 2013-10-23  Myles C. Maxfield  <mmaxfield@apple.com>
338
339         Include misspelling dot gap width when centering misspelling dots
340         https://bugs.webkit.org/show_bug.cgi?id=122365
341
342         Reviewed by Simon Fraser.
343
344         When calculating where to place the misspelling dots, we find the
345         maximum number of full dots that can fit under the misspelled word,
346         and then center a run of that many dots. However, when we're
347         centering the run, we are only considering the size of the extra
348         fractional dot that we cut off. However, the dot image has a "gap"
349         of transparent pixels (which visually provide tracking for the dots)
350         which visually appears to be empty space. We should take this gap
351         space into consideration when centering the run of dots. We also
352         should make sure that our dots start on integral pixel boundaries
353         because otherwise we can't set the phase of the dot run properly.
354
355         Test: editing/spelling/centering-misspelling-dots.html
356
357         * platform/graphics/mac/GraphicsContextMac.mm:
358         (WebCore::GraphicsContext::drawLineForDocumentMarker):
359
360 2013-10-23  Andreas Kling  <akling@apple.com>
361
362         SVGFilterBuilder should not be ref-counted.
363         <https://webkit.org/b/123222>
364
365         These objects are singly-owned and do not need ref counting.
366
367         Reviewed by Anders Carlsson.
368
369 2013-10-23  Brady Eidson  <beidson@apple.com>
370
371         Remove unused IDBBackingStoreLevelDB default constructor.
372
373         Rubberstamped by Anders Carlsson.
374
375         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
376         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
377
378 2013-10-23  Alex Christensen  <achristensen@webkit.org>
379
380         Added Texture Mapper and Coordinated Graphics to Windows build for WinCairo.
381         https://bugs.webkit.org/show_bug.cgi?id=123215
382
383         Reviewed by Brent Fulgham.
384
385         * WebCore.vcxproj/WebCore.vcxproj:
386         * WebCore.vcxproj/WebCore.vcxproj.filters:
387         Added source files for Texture Mapper to Windows build.
388         * WebCore.vcxproj/WebCoreCairo.props:
389         Added Texture Mapper include directories for WinCairo.
390
391 2013-10-23  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
392
393         Adding mock class to test RTCDataChannelHandler
394         https://bugs.webkit.org/show_bug.cgi?id=123205
395
396         Reviewed by Eric Carlson.
397
398         Now RTCPeerConnectionHandler-datachannel LayouTest can run properly.
399         Also updated the expected file, removing the reliable property check (which was removed in the spec)
400
401         Existing tests updated.
402
403         * CMakeLists.txt:
404         * platform/mediastream/RTCDataChannelHandlerClient.h:
405         * platform/mock/RTCDataChannelHandlerMock.cpp: Added.
406         * platform/mock/RTCDataChannelHandlerMock.h: Added.
407         * platform/mock/RTCNotifiersMock.cpp:
408         (WebCore::RemoteDataChannelNotifier::RemoteDataChannelNotifier):
409         (WebCore::RemoteDataChannelNotifier::fire):
410         (WebCore::DataChannelStateNotifier::DataChannelStateNotifier):
411         (WebCore::DataChannelStateNotifier::fire):
412         * platform/mock/RTCNotifiersMock.h:
413         * platform/mock/RTCPeerConnectionHandlerMock.cpp:
414         (WebCore::RTCPeerConnectionHandlerMock::createDataChannel):
415
416 2013-10-23  Andreas Kling  <akling@apple.com>
417
418         Clock should not be ref-counted.
419         <https://webkit.org/b/123217>
420
421         The Clock object is only ever owned by the MediaController,
422         so remove the ref counting and store it in a std::unique_ptr.
423
424         Also slapped the Clock subclasses with FINAL and OVERRIDE.
425
426         Reviewed by Anders Carlsson.
427
428 2013-10-23  Mark Lam  <mark.lam@apple.com>
429
430         Fix assertion in DatabaseManager::detailsForNameAndOrigin() to be iOS friendly.
431         https://bugs.webkit.org/show_bug.cgi?id=123218.
432
433         Reviewed by Joseph Pecoraro.
434
435         No new tests.
436
437         * Modules/webdatabase/DatabaseManager.cpp:
438         (WebCore::DatabaseManager::detailsForNameAndOrigin):
439
440 2013-10-23  Alex Christensen  <achristensen@webkit.org>
441
442         Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing.
443         https://bugs.webkit.org/show_bug.cgi?id=123214
444
445         Reviewed by Brent Fulgham.
446
447         * platform/graphics/PlatformLayer.h:
448         Added TextureMapperPlatformLayer PlatformLayer declaration for WinCairo.
449         * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
450         (WebCore::MediaPlayerPrivateFullscreenWindow::createWindow):
451         (WebCore::MediaPlayerPrivateFullscreenWindow::wndProc):
452         * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h:
453         Added USE(CA) where necessary to compile WinCairo with accelerated compositing.
454
455 2013-10-23  Myles C. Maxfield  <mmaxfield@apple.com>
456
457         Antialias underlines if they're not axis-aligned
458         https://bugs.webkit.org/show_bug.cgi?id=123004
459
460         Reviewed by Simon Fraser.
461
462         In order to make underlines crisp, GraphicsContext:drawLineForText
463         modifies the bounds of the underline rect in order to make the rect
464         device-pixel-aligned, and then turns off antialiasing when drawing
465         the line. This makes sense when the underline is axis-aligned, but
466         doesn't when the rect is rotated or skewed. Therefore, we should
467         only opt-in to this behavior if the underline we're about to draw
468         is axis-aligned. This requires figuring out whether or not the
469         current transformation is axis-aligned every time
470         GraphicsContext::drawLineForText is called, which will incur a small
471         performance hit. However, this is justified by underlines looking
472         much better (antialiased) when the context is rotated or skewed.
473
474         Tests: svg/custom/foreign-object-skew.html
475                svg/zoom/page/zoom-foreignObject.html
476                svg/zoom/text/zoom-foreignObject.html:
477
478         * platform/graphics/cg/GraphicsContextCG.cpp:
479         (WebCore::GraphicsContext::drawLineForText):
480
481 2013-10-23  Mark Lam  <mark.lam@apple.com>
482
483         Re-instate ProposedDatabases needed by detailsForNameAndOrigin().
484         https://bugs.webkit.org/show_bug.cgi?id=123131.
485
486         Reviewed by Geoffrey Garen.
487
488         Test: storage/websql/open-database-expand-quota.html
489
490         If a webpage tries to create a database that exceeds the database size
491         quota for that security origin, the WebKit1 quota request mechanism
492         uses detailsForNameAndOrigin() to get the requested size of the database
493         (that the webpage is attempting to open) in order to determine whether
494         to increase the quota or not.
495
496         Previously, detailsForNameAndOrigin() relies on the ProposedDatabase
497         mechanism to provide this size information. This change re-instates the
498         ProposedDatabase mechanism so that WebKit1 client code that relies on
499         this behavior will continue to work.
500
501         * Modules/webdatabase/DatabaseManager.cpp:
502         (WebCore::DatabaseManager::ProposedDatabase::ProposedDatabase):
503         (WebCore::DatabaseManager::ProposedDatabase::~ProposedDatabase):
504         (WebCore::DatabaseManager::DatabaseManager):
505         (WebCore::DatabaseManager::openDatabaseBackend):
506         (WebCore::DatabaseManager::fullPathForDatabase):
507         (WebCore::DatabaseManager::detailsForNameAndOrigin):
508         * Modules/webdatabase/DatabaseManager.h:
509         (WebCore::DatabaseManager::ProposedDatabase::origin):
510         (WebCore::DatabaseManager::ProposedDatabase::details):
511
512 2013-10-23  Tim Horton  <timothy_horton@apple.com>
513
514         [cg] Fix the capitalization of kCGImageSourceSkipMetaData (-> Metadata)
515         https://bugs.webkit.org/show_bug.cgi?id=122918
516
517         Reviewed by Anders Carlsson.
518
519         * platform/graphics/cg/ImageSourceCG.cpp:
520         (WebCore::imageSourceOptions):
521         The capitalization of kCGImageSourceSkipMetaData changed to
522         kCGImageSourceSkipMetadata in Mountain Lion.
523
524 2013-10-23  Brady Eidson  <beidson@apple.com>
525
526         Make IDBDatabaseBackendLevelDB.cpp be cross platform
527         https://bugs.webkit.org/show_bug.cgi?id=123027
528
529         Attentively reviewed by Dean Jackson.
530
531         Move it out of the indexeddb/leveldb directory, and rename it to IDBDatabaseBackendImpl.
532
533         Project files:
534         * CMakeLists.txt:
535         * GNUmakefile.list.am:
536         * WebCore.vcxproj/WebCore.vcxproj:
537         * WebCore.vcxproj/WebCore.vcxproj.filters:
538         * WebCore.xcodeproj/project.pbxproj:
539
540         * Modules/indexeddb/IDBDatabaseBackendImpl.cpp: Renamed from Source/WebCore/Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp.
541         * Modules/indexeddb/IDBDatabaseBackendImpl.h: Renamed from Source/WebCore/Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.h.
542
543         * Modules/indexeddb/IDBDatabaseBackendInterface.h:
544         (WebCore::IDBDatabaseBackendInterface::isIDBDatabaseBackendImpl): Add to support a required cast in LevelDB code.
545
546         * Modules/indexeddb/IDBFactoryBackendInterface.h:
547
548         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
549         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.h:
550
551         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
552         (WebCore::IDBFactoryBackendLevelDB::deleteDatabase):
553         (WebCore::IDBFactoryBackendLevelDB::open):
554         (WebCore::IDBFactoryBackendLevelDB::maybeCreateTransactionBackend):
555         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
556
557         * Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp:
558         * Modules/indexeddb/leveldb/IDBLevelDBCoding.h:
559
560         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
561         (WebCore::IDBTransactionBackendLevelDB::create):
562         (WebCore::IDBTransactionBackendLevelDB::IDBTransactionBackendLevelDB):
563         (WebCore::IDBTransactionBackendLevelDB::scheduleVersionChangeOperation):
564         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
565
566         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.cpp:
567         (WebCore::IDBDatabaseBackendImpl::VersionChangeOperation::perform):
568         (WebCore::IDBDatabaseBackendImpl::VersionChangeAbortOperation::perform):
569         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.h:
570
571 2013-10-23  Daniel Bates  <dabates@apple.com>
572
573         [iOS] Upstream more ARMv7s bits
574         https://bugs.webkit.org/show_bug.cgi?id=123052
575
576         Reviewed by Joseph Pecoraro.
577
578         Define exported symbol file for armv7s and arm64.
579
580         * Configurations/WebCore.xcconfig:
581
582 2013-10-23  Krzysztof Wolanski  <k.wolanski@samsung.com>
583
584         [GTK] accessibility/self-referencing-aria-labelledby.html is failing
585         https://bugs.webkit.org/show_bug.cgi?id=121594
586
587         Reviewed by Mario Sanchez Prada.
588
589         According to http://www.w3.org/TR/REC-html40/struct/objects.html#edef-IMG
590         description of image element should be determined by alt attribute, then
591         if it is empty by title attributte.
592
593         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
594         (webkitAccessibleGetDescription):
595
596 2013-10-15  Andreas Kling  <akling@apple.com>
597
598         Tighten animation-driven restyle to operate on Element only.
599         <https://webkit.org/b/122820>
600
601         Text nodes are never directly animated, so we can tighten this code
602         to work on Element only. This happens naturally since the code was
603         already working with RenderElement everywhere.
604
605         Reviewed by Antti Koivisto.
606
607 2013-10-22  Andreas Kling  <akling@apple.com>
608
609         Even more PassRef<RenderStyle>!
610         <https://webkit.org/b/123147>
611
612         Convert more of the WebCore code to use PassRef for RenderStyle
613         in places where they are known to be non-null.
614
615         Re-landing this without region styling since that caused some
616         assertions last time.
617
618         Reviewed by Antti Koivisto.
619
620 2013-10-22  Zoltan Horvath  <zoltan@webkit.org>
621
622         Refactor LineBreaker::nextSegmentBreak, add BreakingContext that holds all its state
623         https://bugs.webkit.org/show_bug.cgi?id=123038
624
625         Reviewed by David Hyatt.
626
627         I followed Levi's logic on Blink's nextSegmentBreak refactoring (https://chromiumcodereview.appspot.com/25054004). 
628         I mostly did the same changes, but the code is too diverged at this point to just apply that patch on our trunk. The patch
629         introduces BreakingContext as a separate class. I added new methods for each condition, which were originally located in
630         nextSegmentBreak. I also removed the goto-s from the code. All the new methods are inline in order to avoid introducing any
631         performance regression. The change makes the code so much cleaner and understandable.
632
633         This change would be the first step of the nextSegmentBreak refactoring, I wanted to keep things in place in RenderBlockLineLayout.cpp
634         for now, but I'm planning to separate BreakingContext into a new file and do additional changes to make things nicer. I'm tracking
635         the entire progress under http://webkit.org/b/121261 meta bug.
636
637         No new tests, covered by existing tests.
638         - I updated 1 expected result, because there was a 1 pixel difference on the result, which I believe comes from a rounding situation.
639
640         * rendering/RenderBlockFlow.h:
641         * rendering/RenderBlockLineLayout.cpp:
642         (WebCore::BreakingContext::BreakingContext):
643         (WebCore::BreakingContext::currentObject):
644         (WebCore::BreakingContext::lineBreak):
645         (WebCore::BreakingContext::lineBreakRef):
646         (WebCore::BreakingContext::lineWidth):
647         (WebCore::BreakingContext::atEnd):
648         (WebCore::BreakingContext::clearLineBreakIfFitsOnLine):
649         (WebCore::BreakingContext::commitLineBreakAtCurrentWidth):
650         (WebCore::BreakingContext::initializeForCurrentObject):
651         (WebCore::BreakingContext::increment):
652         (WebCore::BreakingContext::handleBR):
653         (WebCore::BreakingContext::handleOutOfFlowPositioned):
654         (WebCore::BreakingContext::handleFloat):
655         (WebCore::BreakingContext::handleEmptyInline):
656         (WebCore::BreakingContext::handleReplaced):
657         (WebCore::nextCharacter):
658         (WebCore::BreakingContext::handleText):
659         (WebCore::textBeginsWithBreakablePosition):
660         (WebCore::BreakingContext::canBreakAtThisPosition):
661         (WebCore::BreakingContext::commitAndUpdateLineBreakIfNeeded):
662         (WebCore::BreakingContext::handleEndOfLine):
663         (WebCore::LineBreaker::nextSegmentBreak):
664
665 2013-10-22  Commit Queue  <commit-queue@webkit.org>
666
667         Unreviewed, rolling out r157826.
668         http://trac.webkit.org/changeset/157826
669         https://bugs.webkit.org/show_bug.cgi?id=123197
670
671         Caused some regions tests to assert (Requested by smfr on
672         #webkit).
673
674         * dom/Document.cpp:
675         (WebCore::Document::styleForElementIgnoringPendingStylesheets):
676         * dom/Document.h:
677         * dom/Element.cpp:
678         (WebCore::Element::styleForRenderer):
679         * dom/Element.h:
680         * dom/ElementRareData.h:
681         (WebCore::ElementRareData::setComputedStyle):
682         (WebCore::ElementRareData::resetComputedStyle):
683         * html/HTMLTitleElement.cpp:
684         (WebCore::HTMLTitleElement::textWithDirection):
685         * page/animation/AnimationController.cpp:
686         (WebCore::AnimationController::updateAnimations):
687         * page/animation/CompositeAnimation.cpp:
688         (WebCore::CompositeAnimation::animate):
689         * page/animation/CompositeAnimation.h:
690         * rendering/RenderElement.cpp:
691         (WebCore::RenderElement::createFor):
692         * rendering/RenderElement.h:
693         (WebCore::RenderElement::setStyleInternal):
694         * rendering/RenderRegion.cpp:
695         (WebCore::RenderRegion::setRegionObjectsRegionStyle):
696         (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
697         (WebCore::RenderRegion::computeStyleInRegion):
698         (WebCore::RenderRegion::computeChildrenStyleInRegion):
699         (WebCore::RenderRegion::setObjectStyleInRegion):
700         * rendering/RenderRegion.h:
701         * style/StyleResolveTree.cpp:
702         (WebCore::Style::resolveLocal):
703
704 2013-10-22  Ryuan Choi  <ryuan.choi@samsung.com>
705
706         [EFL] Remove HAVE_GLX macro
707         https://bugs.webkit.org/show_bug.cgi?id=123191
708
709         Reviewed by Gyuyoung Kim.
710
711         Since r138313, HAVE(GLX) was replaced to USE(GLX) except in GraphicsSurfaceToken.h.
712
713         * platform/graphics/surfaces/GraphicsSurfaceToken.h:
714         Replace HAVE(GLX) to USE(GLX)
715
716 2013-10-22  Mark Lam  <mark.lam@apple.com>
717
718         Gardening: fix broken build on Windows.
719         https://bugs.webkit.org/show_bug.cgi?id=123174.
720
721         Not reviewed.
722
723         No new tests.
724
725         * WebCore.vcxproj/WebCore.vcxproj:
726         * WebCore.vcxproj/WebCore.vcxproj.filters:
727
728 2013-10-22  Brady Eidson  <beidson@apple.com>
729
730         Get rid of IDBObjectStoreBackendLevelDB
731         https://bugs.webkit.org/show_bug.cgi?id=123174
732
733         Reviewed by Tim Horton.
734
735         This file was kind of a dumping ground.
736         Its contents can be merged into IDBBackingStoreInterface and a new IDBIndexWriter class.
737
738         Also took the opportunity to do a little bit of RefPtr<> and pointer-vs-reference cleanup.
739
740         * CMakeLists.txt:
741         * GNUmakefile.list.am:
742         * WebCore.xcodeproj/project.pbxproj:
743
744         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp: Removed.
745         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.h: Removed.
746
747         * Modules/indexeddb/IDBIndexWriter.cpp: Added.
748         (WebCore::IDBIndexWriter::IDBIndexWriter):
749         (WebCore::IDBIndexWriter::writeIndexKeys):
750         (WebCore::IDBIndexWriter::verifyIndexKeys):
751         (WebCore::IDBIndexWriter::addingKeyAllowed):
752         * Modules/indexeddb/IDBIndexWriter.h: Added.
753         (WebCore::IDBIndexWriter::create):
754
755         * Modules/indexeddb/IDBBackingStoreInterface.h:
756         * Modules/indexeddb/IDBDatabaseBackendInterface.h:
757
758         * Modules/indexeddb/IDBMetadata.h:
759         * Modules/indexeddb/IDBTransactionBackendInterface.h:
760
761         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
762         (WebCore::IDBBackingStoreLevelDB::makeIndexWriters):
763         (WebCore::IDBBackingStoreLevelDB::generateKey):
764         (WebCore::IDBBackingStoreLevelDB::updateKeyGenerator):
765         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
766
767         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
768         (WebCore::IDBDatabaseBackendLevelDB::setIndexKeys):
769         (WebCore::IDBDatabaseBackendLevelDB::setIndexesReady):
770         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.h:
771
772         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
773         (WebCore::IDBTransactionBackendLevelDB::schedulePutOperation):
774         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
775
776         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.cpp:
777         (WebCore::PutOperation::perform):
778         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.h:
779         (WebCore::PutOperation::create):
780         (WebCore::PutOperation::PutOperation):
781
782 2013-10-22  Dean Jackson  <dino@apple.com>
783
784         [WebGL] Implement a software rendering option on Mac
785         https://bugs.webkit.org/show_bug.cgi?id=123177
786
787         Reviewed by Tim Horton.
788
789         Implement a way to force software OpenGL rendering
790         for WebGL, via a Setting/Preference.
791
792         No new tests. We intentionally hide the capabilities of
793         the renderer from the content, so you can't test for
794         this setting. However, manual inspection is pretty
795         obvious. Just go to a page with a complex shader
796         such as https://www.shadertoy.com/view/lss3WS.
797
798         * html/canvas/WebGLRenderingContext.cpp:
799         (WebCore::WebGLRenderingContext::create): If we're forcing software
800         rendering, mark the context attributes as such.
801         * page/Settings.in: New setting key.
802         * platform/graphics/GraphicsContext3D.h: New flag in Attributes.
803         (WebCore::GraphicsContext3D::Attributes::Attributes):
804         * platform/graphics/mac/GraphicsContext3DMac.mm:
805         (WebCore::GraphicsContext3D::GraphicsContext3D): Slight update to the
806         algorithm that sets a pixel format. If we're forcing software rendering,
807         obviously we never want to create an accelerated pixel format.
808         * platform/graphics/filters/CustomFilterGlobalContext.cpp:
809         (WebCore::CustomFilterGlobalContext::prepareContextIfNeeded): Set the attribute
810         here before trying to create the context.
811         * platform/graphics/filters/CustomFilterGlobalContext.h: Add a forceSoftwareRendering
812         flag to prepareContextIfNeeded.
813         * rendering/FilterEffectRenderer.cpp:
814         (WebCore::createCustomFilterEffect): Check the Setting before creating a custom
815         filter context.
816
817 2013-10-22  Anders Carlsson  <andersca@apple.com>
818
819         Revert r157445 since it broke certificates on Mac.
820         <rdar://problem/15246926&15254017&15269117>
821
822         * GNUmakefile.list.am:
823         * PlatformEfl.cmake:
824         * WebCore.exp.in:
825         * WebCore.vcxproj/WebCore.vcxproj:
826         * WebCore.vcxproj/WebCore.vcxproj.filters:
827         * WebCore.xcodeproj/project.pbxproj:
828         * platform/network/ResourceErrorBase.h:
829         * platform/network/ResourceResponseBase.h:
830         * platform/network/cf/CertificateInfoCFNet.cpp: Removed.
831         * platform/network/cf/ResourceResponse.h:
832         * platform/network/mac/ResourceResponseMac.mm:
833         (WebCore::ResourceResponse::setCertificateChain):
834         (WebCore::ResourceResponse::certificateChain):
835         * platform/network/soup/ResourceError.h:
836         (WebCore::ResourceError::ResourceError):
837         (WebCore::ResourceError::tlsErrors):
838         (WebCore::ResourceError::setTLSErrors):
839         (WebCore::ResourceError::certificate):
840         (WebCore::ResourceError::setCertificate):
841         * platform/network/soup/ResourceErrorSoup.cpp:
842         (WebCore::ResourceError::tlsError):
843         (WebCore::ResourceError::platformCopy):
844         (WebCore::ResourceError::platformCompare):
845         * platform/network/soup/ResourceResponse.h:
846         (WebCore::ResourceResponse::ResourceResponse):
847         (WebCore::ResourceResponse::soupMessageCertificate):
848         (WebCore::ResourceResponse::setSoupMessageCertificate):
849         (WebCore::ResourceResponse::soupMessageTLSErrors):
850         (WebCore::ResourceResponse::setSoupMessageTLSErrors):
851         * platform/network/soup/ResourceResponseSoup.cpp:
852         (WebCore::ResourceResponse::toSoupMessage):
853         (WebCore::ResourceResponse::updateFromSoupMessage):
854
855 2013-10-22  Jer Noble  <jer.noble@apple.com>
856
857         [Media] Refactor supportsType() factory method to take a parameters object.
858         https://bugs.webkit.org/show_bug.cgi?id=122489
859
860         Reviewed by Eric Carlson.
861
862         In order to support adding new conditional properties with which to decide
863         what MediaPlayerPrivate subclass to create, replace the two versions of the
864         supportsType() factory method with a single one taking a parameters object.
865
866         At the same time, add a 'isMediaSource' parameter to that object, allowing
867         MediaPlayerPrivate subclasses which support the same type and codecs but
868         which do not both support MediaSource to be distinguised.
869
870         * platform/graphics/MediaPlayer.cpp:
871         (WebCore::bestMediaEngineForSupportParameters): Renamed from
872             bestMediaEngineForTypeAndCodecs.
873         (WebCore::MediaPlayer::nextBestMediaEngine): Added convenience function.
874         (WebCore::MediaPlayer::loadWithNextMediaEngine): Call nextBestMediaEngine()
875         (WebCore::MediaPlayer::supportsType): Pass parameter object.
876         (WebCore::MediaPlayer::networkStateChanged): Call nextBestMediaEngine().
877         * platform/graphics/MediaPlayer.h:
878         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
879         (WebCore::MediaPlayerPrivateAVFoundationCF::supportsType): Handle parameter object.
880         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
881         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
882         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
883         (WebCore::MediaPlayerPrivateAVFoundationObjC::registerMediaEngine): Remove extraneous
884             extendedSupportsType method.
885         (WebCore::MediaPlayerPrivateAVFoundationObjC::supportsType): Handle parameter object.
886         * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
887         (WebCore::MediaPlayerPrivate::supportsType): Ditto.
888         * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
889         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
890         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
891         * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
892         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
893         (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine): Remove extraneous
894             extendedSupportsType method.
895         (WebCore::MediaPlayerPrivateQTKit::supportsType): Handle parameter object.
896         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
897         (WebCore::MediaPlayerPrivateQuickTimeVisualContext::supportsType): Ditto.
898         * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
899         * platform/graphics/wince/MediaPlayerPrivateWinCE.h:
900
901 2013-10-22  Andreas Kling  <akling@apple.com>
902
903         Merge SVGRenderBlock::styleWillChange() into styleDidChange().
904         <https://webkit.org/b/123181>
905
906         I meant to do this one in r157787, but better late than never.
907
908         Reviewed by Geoffrey Garen.
909
910 2013-10-22  Sam Weinig  <sam@webkit.org>
911
912         CTTE: Modernize RenderBlock a bit
913         https://bugs.webkit.org/show_bug.cgi?id=123162
914
915         Reviewed by Andreas Kling.
916
917         Start threading references through RenderBlock. While we 
918         are here, do some selective modernization as well.
919
920 2013-10-22  Andreas Kling  <akling@apple.com>
921
922         Even more PassRef<RenderStyle>!
923         <https://webkit.org/b/123147>
924
925         Convert the remaining WebCore code to use PassRef for RenderStyle
926         wherever they are known to be non-null.
927
928         Reviewed by Antti Koivisto.
929
930 2013-10-22  Commit Queue  <commit-queue@webkit.org>
931
932         Unreviewed, rolling out r157819.
933         http://trac.webkit.org/changeset/157819
934         https://bugs.webkit.org/show_bug.cgi?id=123180
935
936         Broke 32-bit builds (Requested by smfr on #webkit).
937
938         * Configurations/WebCore.xcconfig:
939
940 2013-10-22  Antti Koivisto  <antti@apple.com>
941
942         Rename deleteLineBoxTree to deleteLines
943         https://bugs.webkit.org/show_bug.cgi?id=123176
944
945         Reviewed by Andreas Kling.
946
947         RenderBlock::deleteLineBoxTree -> RenderBlock::deleteLines
948         RenderInline::deleteLineBoxTree -> RenderInline::deleteLines
949
950 2013-10-22  Tim Horton  <timothy_horton@apple.com>
951
952         {ClipPathOperation, FilterOperation}::getOperationType() should not include 'get'
953         https://bugs.webkit.org/show_bug.cgi?id=123172
954
955         Reviewed by Simon Fraser.
956
957         No new tests, just a rename.
958
959         "get" in WebCore tends to mean that the function has out arguments; these have no arguments.
960         Rename FilterOperation::getOperationType() to FilterOperation::type().
961         I noticed that ClipPathOperation had the same mistake, so I fixed it there too.
962
963         Removed long and useless list of files.
964
965 2013-10-22  Samuel White  <samuel_white@apple.com>
966
967         AX: Add paramAttrs to fetch start and end text markers in a given rect.
968         https://bugs.webkit.org/show_bug.cgi?id=122164
969
970         Reviewed by Chris Fleizach.
971
972         Added ability to fetch end and start text markers inside a given bounds. This gives ScreenReaders
973         like VoiceOver a way to retrieve the text markers for a specified column of page text.
974
975         Test: platform/mac/accessibility/text-marker-for-bounds.html
976
977         * accessibility/AccessibilityObject.cpp:
978         (WebCore::AccessibilityObject::mainFrame):
979         (WebCore::AccessibilityObject::topDocument):
980         (WebCore::AccessibilityObject::visiblePositionForBounds):
981         * accessibility/AccessibilityObject.h:
982         * accessibility/AccessibilityRenderObject.cpp:
983         * accessibility/AccessibilityRenderObject.h:
984         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
985         (-[WebAccessibilityObjectWrapper screenToContents:]):
986         (-[WebAccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
987         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
988
989 2013-10-22  Zoltan Horvath  <zoltan@webkit.org>
990
991         [CSS Shapes] Match adjustLogicalLineTopAndLogicalHeightIfNeeded's implementation with Blink's
992         https://bugs.webkit.org/show_bug.cgi?id=123033
993
994         Reviewed by David Hyatt.
995
996         In Blink I made this function in a bit different way. This change modifies it
997         to be identical, which helps a lot in the future cross-merging patches.
998
999         No new tests, covered by existing texts.
1000
1001         * rendering/RenderBlockLineLayout.cpp:
1002         (WebCore::RenderBlockFlow::adjustLogicalLineTopAndLogicalHeightIfNeeded):
1003
1004 2013-10-22  Daniel Bates  <dabates@apple.com>
1005
1006         [iOS] Upstream more ARMv7s bits
1007         https://bugs.webkit.org/show_bug.cgi?id=123052
1008
1009         Reviewed by Joseph Pecoraro.
1010
1011         * Configurations/WebCore.xcconfig:
1012
1013 2013-10-22  Simon Fraser  <simon.fraser@apple.com>
1014
1015         Try to fix Mavericks build; use <> for framework include.
1016
1017         * page/CaptionUserPreferencesMediaAF.cpp:
1018
1019 2013-10-22  Tim Horton  <timothy_horton@apple.com>
1020
1021         GammaFilterOperation seems to be dead code
1022         https://bugs.webkit.org/show_bug.cgi?id=123173
1023
1024         Reviewed by Simon Fraser.
1025
1026         * platform/graphics/filters/FilterOperation.cpp:
1027         * platform/graphics/filters/FilterOperation.h:
1028         Remove dead code.
1029
1030 2013-10-22  Antti Koivisto  <antti@apple.com>
1031
1032         Rename some line box functions to be just about lines
1033         https://bugs.webkit.org/show_bug.cgi?id=123168
1034
1035         Reviewed by Dave Hyatt.
1036
1037         firstLineBoxBaseline -> firstLineBaseline
1038         hasInlineBoxChildren -> hasLines
1039         
1040         Also use hasLines in a bunch of places where firstLineBox() was used.
1041
1042         * accessibility/AccessibilityRenderObject.cpp:
1043         (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
1044         
1045             Also use hasRenderedText() instead of firstTextBox()
1046
1047         * rendering/RenderFullScreen.cpp:
1048         
1049             Fix namespace.
1050
1051 2013-10-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1052
1053         Adding Mock class to test RTCPeerConnection
1054         https://bugs.webkit.org/show_bug.cgi?id=122848
1055
1056         Reviewed by Eric Carlson.
1057
1058         The following tests can be run:
1059
1060             RTCPeerConnection-createAnswer.html
1061             RTCPeerConnection-createOffer.html
1062             RTCPeerConnection-ice.html
1063             RTCPeerConnection-localDescription.html
1064             RTCPeerConnection-remoteDescription.html
1065             RTCPeerConnection-state.html
1066
1067         Tests that require a MediaStream object, by invoking getUserMedia,
1068         are not ready to run yet.
1069
1070         No new tests needed.
1071
1072         * CMakeLists.txt:
1073         * platform/mediastream/RTCPeerConnectionHandler.cpp:
1074         (WebCore::createHandler):
1075         * platform/mediastream/RTCPeerConnectionHandler.h:
1076         * platform/mediastream/RTCPeerConnectionHandlerClient.h:
1077         * platform/mock/RTCNotifiersMock.cpp: Added.
1078         * platform/mock/RTCNotifiersMock.h: Added.
1079         * platform/mock/RTCPeerConnectionHandlerMock.cpp: Added.
1080         * platform/mock/RTCPeerConnectionHandlerMock.h: Copied from Source/WebCore/platform/mediastream/RTCPeerConnectionHandler.h.
1081         * platform/mock/TimerEventBasedMock.h: Added.
1082         * testing/Internals.cpp:
1083         (WebCore::Internals::Internals):
1084         (WebCore::Internals::enableMockRTCPeerConnectionHandler):
1085         * testing/Internals.h:
1086
1087 2013-10-22  Zan Dobersek  <zdobersek@igalia.com>
1088
1089         WebCore::fillWithEmptyClients adopts new empty clients before leaking their pointers
1090         https://bugs.webkit.org/show_bug.cgi?id=122945
1091
1092         Reviewed by Anders Carlsson.
1093
1094         * loader/EmptyClients.cpp:
1095         (WebCore::fillWithEmptyClients): Store the static empty clients as NeverDestroyed, rather than
1096         adopting the pointer of each heap-allocated object and then immediately leaking that pointer.
1097
1098 2013-10-22  Zan Dobersek  <zdobersek@igalia.com>
1099
1100         Simplify HRTFDatabaseLoader's load map
1101         https://bugs.webkit.org/show_bug.cgi?id=122944
1102
1103         Reviewed by Eric Carlson.
1104
1105         * platform/audio/HRTFDatabaseLoader.cpp:
1106         (WebCore::loaderMap): Return a reference to a NeverDestroyed HashMap that maps sample rates to loaders.
1107         (WebCore::HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary):
1108         (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
1109         * platform/audio/HRTFDatabaseLoader.h: Remove the LoaderMap type definition, the private singleton of that type
1110         and the singleton's unused getter.
1111
1112 2013-10-22  Tim Horton  <timothy_horton@apple.com>
1113
1114         Remote Layer Tree: Support hardware accelerated filters
1115         https://bugs.webkit.org/show_bug.cgi?id=123139
1116
1117         Reviewed by Anders Carlsson.
1118
1119         * WebCore.exp.in:
1120         Export a variety of filter-related things.
1121
1122         * platform/graphics/ca/PlatformCAFilters.h:
1123         * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
1124         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
1125         (PlatformCALayerMac::setFilters):
1126         * platform/graphics/ca/win/PlatformCAFiltersWin.cpp:
1127         (PlatformCAFilters::setFiltersOnLayer):
1128         setFiltersOnLayer should take a PlatformLayer instead of a PlatformCALayer
1129         as its argument, because it doesn't need a PlatformCALayer, and this way
1130         we can share code with the RemoteLayerTreeHost, which only has PlatformLayers
1131         and not PlatformCALayers.
1132
1133 2013-10-22  Brendan Long  <b.long@cablelabs.com>
1134
1135         cue.text fails for some track element cues
1136         https://bugs.webkit.org/show_bug.cgi?id=81123
1137
1138         Reviewed by Eric Carlson.
1139
1140         Test: media/track/track-long-captions-file.html
1141
1142         * html/track/WebVTTParser.cpp:
1143         (WebCore::WebVTTParser::parseBytes): Use buffer when we don't have full lines.
1144         (WebCore::WebVTTParser::fileFinished): Force file to finish parsing.
1145         (WebCore::WebVTTParser::hasRequiredFileIdentifier): Simplify due to using String.
1146         (WebCore::WebVTTParser::collectCueText): Don't automatically create cues when we run out of data.
1147         (WebCore::WebVTTParser::collectNextLine): Use buffer.
1148         * html/track/WebVTTParser.h: Add m_buffer and Finished state.
1149         * loader/TextTrackLoader.cpp:
1150         (WebCore::TextTrackLoader::notifyFinished): Call m_parser->fileFinished() when done.
1151
1152 2013-10-22  peavo@outlook.com  <peavo@outlook.com>
1153
1154         [WinCairo] Compile error.
1155         https://bugs.webkit.org/show_bug.cgi?id=123161
1156
1157         Reviewed by Brent Fulgham.
1158
1159         * rendering/RenderFlowThread.h: Move USE(ACCELERATED_COMPOSITING) guard to expose needed type.
1160
1161 2013-10-21  Brady Eidson  <beidson@apple.com>
1162
1163         Add a cross-platform IDBRecordIdentifier
1164         https://bugs.webkit.org/show_bug.cgi?id=123138
1165
1166         Reviewed by Andreas Kling.
1167
1168         Add the cross-platform header:
1169         * Modules/indexeddb/IDBRecordIdentifier.h: Added.
1170         (WebCore::IDBRecordIdentifier::create):
1171         (WebCore::IDBRecordIdentifier::encodedPrimaryKey):
1172         (WebCore::IDBRecordIdentifier::version):
1173         (WebCore::IDBRecordIdentifier::reset):
1174         (WebCore::IDBRecordIdentifier::IDBRecordIdentifier):
1175         * WebCore.xcodeproj/project.pbxproj:
1176         * GNUmakefile.list.am:
1177
1178         Remove the old abstract and LevelDB classes:
1179         * Modules/indexeddb/IDBBackingStoreInterface.h:
1180         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
1181
1182         Use the cross-platform one everywhere:
1183         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
1184         (WebCore::IDBBackingStoreLevelDB::putRecord):
1185         (WebCore::IDBBackingStoreLevelDB::deleteRecord):
1186         (WebCore::IDBBackingStoreLevelDB::keyExistsInObjectStore):
1187         (WebCore::IDBBackingStoreLevelDB::putIndexDataForRecord):
1188         (WebCore::ObjectStoreKeyCursorImpl::loadCurrentRow):
1189         (WebCore::ObjectStoreCursorImpl::loadCurrentRow):
1190
1191         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
1192         (WebCore::IDBDatabaseBackendLevelDB::setIndexKeys):
1193
1194         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
1195         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::writeIndexKeys):
1196
1197         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.h:
1198         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.cpp:
1199         (WebCore::PutOperation::perform):
1200
1201 2013-10-22  Andrei Bucur  <abucur@adobe.com>
1202
1203         [CSS Regions] Possible performance regression after r157567
1204         https://bugs.webkit.org/show_bug.cgi?id=123016
1205
1206         Reviewed by Andreas Kling.
1207
1208         The revision 157567 http://trac.webkit.org/changeset/157567 may have regressed
1209         Parser/html5-full-render by ~1.1% and Parser/html-parser by ~2%. These changes
1210         try to optimize the initial patch, based on Andreas Kling's review.
1211
1212         The patch also adds a couple of refactorings that should make the code easier to read:
1213         - the CSS Shapes functions are now wrapped in a single #if clause
1214         - the CSS Shapes and CSS Regions pre-layout preparations are wrapped in a helper function
1215
1216         The RenderFlowThread::logicalWidthChangedInRegionsForBlock function is optimized by passing
1217         it information about the state of the relayout children flag. If the flag is true already,
1218         some of the steps are skipped.
1219
1220         Tests: no new tests.
1221
1222         * dom/Element.cpp:
1223         (WebCore::Element::webkitGetRegionFlowRanges):
1224         * inspector/InspectorOverlay.cpp:
1225         (WebCore::buildObjectForElementInfo):
1226         * rendering/RenderBlock.cpp:
1227         (WebCore::shapeInfoRequiresRelayout):
1228         (WebCore::RenderBlock::updateShapesBeforeBlockLayout):
1229         (WebCore::RenderBlock::computeShapeSize):
1230         (WebCore::RenderBlock::prepareShapesAndPaginationBeforeBlockLayout):
1231         * rendering/RenderBlock.h:
1232         * rendering/RenderBlockFlow.cpp:
1233         (WebCore::RenderBlockFlow::layoutBlock):
1234         (WebCore::RenderBlockFlow::createRenderNamedFlowFragmentIfNeeded):
1235         (WebCore::RenderBlockFlow::setRenderNamedFlowFragment):
1236         (WebCore::RenderBlockFlow::ensureRareData):
1237         * rendering/RenderBlockFlow.h:
1238         (WebCore::RenderBlockFlow::RenderBlockFlowRareData::RenderBlockFlowRareData):
1239         (WebCore::RenderElement::isRenderNamedFlowFragmentContainer):
1240         * rendering/RenderDeprecatedFlexibleBox.cpp:
1241         (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
1242         * rendering/RenderElement.h:
1243         (WebCore::RenderElement::generatingElement):
1244         * rendering/RenderFlexibleBox.cpp:
1245         (WebCore::RenderFlexibleBox::layoutBlock):
1246         * rendering/RenderFlowThread.cpp:
1247         (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
1248         * rendering/RenderFlowThread.h:
1249         * rendering/RenderGrid.cpp:
1250         (WebCore::RenderGrid::layoutBlock):
1251         * rendering/RenderNamedFlowFragment.h:
1252         * rendering/RenderObject.cpp:
1253         * rendering/RenderObject.h:
1254         * rendering/RenderTreeAsText.cpp:
1255         (WebCore::write):
1256         * style/StyleResolveTree.cpp:
1257         (WebCore::Style::elementInsideRegionNeedsRenderer):
1258
1259 2013-10-22  Andreas Kling  <akling@apple.com>
1260
1261         CSSStyleSheet constructor functions should return PassRef.
1262         <https://webkit.org/b/123156>
1263
1264         Make CSSStyleSheet::create*() return PassRef and tighten some call
1265         sites that were using them. Most callers didn't need any tweaks to
1266         take advantage of PassRef.
1267
1268         Reviewed by Antti Koivisto.
1269
1270 2013-10-22  Andreas Kling  <akling@apple.com>
1271
1272         CTTE: RenderMathMLFraction always has a MathMLInlineContainerElement.
1273         <https://webkit.org/b/123154>
1274
1275         This renderer is never anonymous and always has a corresponding
1276         MathMLInlineContainerElement. Overload element() with a tighter
1277         return type.
1278
1279         Also marked the class FINAL and made most member functions private.
1280
1281         Reviewed by Antti Koivisto.
1282
1283 2013-10-22  Andreas Kling  <akling@apple.com>
1284
1285         FontGlyphs constructor functions should return PassRef.
1286         <https://webkit.org/b/123159>
1287
1288         Made the two FontGlyphs creator functions return PassRef and tweaked
1289         the FontGlyphsCache in Font.cpp to make more efficient use of it.
1290
1291         Reviewed by Antti Koivisto.
1292
1293 2013-10-22  Andreas Kling  <akling@apple.com>
1294
1295         Fix some more code to use RenderElement instead of RenderObject.
1296         <https://webkit.org/b/123149>
1297
1298         Using RenderElement where possible lets us skip the isRenderElement()
1299         branch in RenderObject::style() and generates much tighter code.
1300
1301         Reviewed by Antti Koivisto.
1302
1303 2013-10-22  Andreas Kling  <akling@apple.com>
1304
1305         Merge SVG renderers' styleWillChange() into styleDidChange().
1306         <https://webkit.org/b/123108>
1307
1308         This work can just as well be done after setting the style.
1309         Three more styleWillChange() overloads gone.
1310
1311         Reviewed by Antti Koivisto.
1312
1313 2013-10-22  Andreas Kling  <akling@apple.com>
1314
1315         CSSValueList constructor functions should return PassRef.
1316         <https://webkit.org/b/123151>
1317
1318         These functions always return objects, and thus can return PassRef.
1319         Also made CSSValueList::createFromParserValueList() take a reference
1320         since that function is only ever called with a non-null value.
1321
1322         Reviewed by Antti Koivisto.
1323
1324 2013-10-22  Andreas Kling  <akling@apple.com>
1325
1326         Avoid parent style ref churn in createTextRendererIfNeeded().
1327         <https://webkit.org/b/123148>
1328
1329         There's no need to take a temporary ref on the parent's RenderStyle
1330         while creating a text renderer. It's not going away, and the text
1331         renderer is not going to participate in ownership afterwards.
1332
1333         Reviewed by Antti Koivisto.
1334
1335 2013-10-22  Andreas Kling  <akling@apple.com>
1336
1337         Remove some unnecessary null checks in RenderElement::setStyle().
1338         <https://webkit.org/b/123146>
1339
1340         After assigning the new style to RenderElement::m_style, we know that
1341         it'll be non-null, so remove all the checking for this.
1342
1343         Reviewed by Antti Koivisto.
1344
1345 2013-10-22  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1346
1347         Introduce ACCESSIBILITY_OBJECT_TYPE_CASTS to replace manual toFoo() in accessibility child class
1348         https://bugs.webkit.org/show_bug.cgi?id=123140
1349
1350         Reviewed by Andreas Kling.
1351
1352         As a step to let toFoo use TYPE_CASTS_BASE, DEFINE_TYPE_CASTS can be used for toFoo() in accessibility
1353         child class. The DEFINE_TYPE_CASTS will generate plenty more helper functions for accessibility type cast.
1354
1355         No new tests, no behavior changes.
1356
1357         * accessibility/AccessibilityList.h:
1358         * accessibility/AccessibilityMenuList.h:
1359         * accessibility/AccessibilityMockObject.h:
1360         * accessibility/AccessibilityNodeObject.h:
1361         * accessibility/AccessibilityObject.h:
1362         * accessibility/AccessibilityRenderObject.h:
1363         * accessibility/AccessibilitySVGRoot.h:
1364         * accessibility/AccessibilityScrollView.h:
1365         * accessibility/AccessibilitySpinButton.h:
1366         * accessibility/AccessibilityTable.h:
1367
1368 2013-10-22  Brian Holt  <brian.holt@samsung.com>
1369
1370         [GTK] Add WebKit2 API for TLS errors
1371         https://bugs.webkit.org/show_bug.cgi?id=120160
1372
1373         Reviewed by Carlos Garcia Campos.
1374
1375         Added a new constructor for CertificateInfo under Soup.
1376
1377         * platform/network/CertificateInfo.h:
1378         * platform/network/soup/CertificateInfoSoup.cpp:
1379         (WebCore::CertificateInfo::CertificateInfo): New constructor using
1380         GTlsCertificateFlags and GTlsCertificate.
1381
1382 2013-10-22  Mihnea Ovidenie  <mihnea@adobe.com>
1383
1384         [CSSRegions] Use RenderStyle::hasFlowFrom when needed
1385         https://bugs.webkit.org/show_bug.cgi?id=122543
1386
1387         Reviewed by David Hyatt.
1388
1389         Rename RenderStyle::hasStyleRegion -> RenderStyle::hasFlowFrom.
1390         Use RenderStyle::hasFlowFrom() helper function instead of directly
1391         checking the value of RenderStyle::regionThread().
1392
1393         No change of functionality, covered by existing tests.
1394
1395         * css/CSSComputedStyleDeclaration.cpp:
1396         (WebCore::contentToCSSValue):
1397         (WebCore::ComputedStyleExtractor::propertyValue):
1398         * css/StyleResolver.cpp:
1399         (WebCore::StyleResolver::adjustRenderStyle):
1400         * dom/PseudoElement.cpp:
1401         (WebCore::PseudoElement::didAttachRenderers):
1402         * dom/PseudoElement.h:
1403         (WebCore::pseudoElementRendererIsNeeded):
1404         * rendering/RenderBlockFlow.cpp:
1405         (WebCore::RenderBlockFlow::createRenderNamedFlowFragmentIfNeeded):
1406         * rendering/RenderLayer.cpp:
1407         (WebCore::RenderLayer::shouldBeNormalFlowOnly):
1408         * rendering/style/RenderStyle.h:
1409
1410 2013-10-21  Brent Fulgham  <bfulgham@apple.com>
1411
1412         [WIN] Properly support reverse animations without needing software fallback.
1413         https://bugs.webkit.org/show_bug.cgi?id=85121
1414
1415         Reviewed by Dean Jackson.
1416
1417         Testing is provided by existing animation tests.
1418
1419         * platform/animation/TimingFunction.h:
1420         (WebCore::CubicBezierTimingFunction::createReversed): Added.
1421         * platform/graphics/ca/GraphicsLayerCA.cpp:
1422         (WebCore::GraphicsLayerCA::addAnimation): The early return when performing a reverse or
1423         autoreverse animation is no longer needed.
1424         * platform/graphics/ca/PlatformCAAnimation.h:
1425         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
1426         (toCAMediaTimingFunction): Use new reversed function.
1427         * platform/graphics/ca/win/PlatformCAAnimationWin.cpp:
1428         (toCACFTimingFunction): Ditto.
1429         (PlatformCAAnimation::setTimingFunction): Pass 'reverse' flag.
1430         (PlatformCAAnimation::setTimingFunctions): Ditto.
1431
1432 2013-10-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1433
1434         Use TYPE_CASTS_BASE for CSS_VALUE_TYPE_CASTS
1435         https://bugs.webkit.org/show_bug.cgi?id=123126
1436
1437         Reviewed by Andreas Kling.
1438
1439         TYPE_CASTS_BASE was moved to common place to be used by all toFoo().
1440         CSS_VALUE_TYPE_CASTS starts to use it for CSS child value. This change
1441         generates plenty more helper functions for toCSSFooValue().
1442
1443         Additionally, this use support that toWebKitCSSFooValue, which couldn't
1444         use CSS_VALUE_TYPE_CASTS macro.
1445
1446         No new tests, no behavior change.
1447
1448         * css/CSSAspectRatioValue.h:
1449         * css/CSSBorderImageSliceValue.h:
1450         * css/CSSCalculationValue.h:
1451         * css/CSSCanvasValue.h:
1452         * css/CSSCrossfadeValue.h:
1453         * css/CSSCursorImageValue.h:
1454         * css/CSSFilterImageValue.h:
1455         * css/CSSFontFaceSrcValue.h:
1456         * css/CSSFontFeatureValue.h:
1457         * css/CSSFontValue.h:
1458         * css/CSSFunctionValue.h:
1459         * css/CSSGradientValue.h:
1460         * css/CSSGridTemplateValue.h:
1461         * css/CSSImageSetValue.h:
1462         * css/CSSImageValue.h:
1463         * css/CSSInheritedValue.h:
1464         * css/CSSInitialValue.h:
1465         * css/CSSLineBoxContainValue.h:
1466         * css/CSSPrimitiveValue.h:
1467         * css/CSSReflectValue.h:
1468         * css/CSSShadowValue.h:
1469         * css/CSSTimingFunctionValue.h:
1470         * css/CSSUnicodeRangeValue.h:
1471         * css/CSSValue.h:
1472         * css/CSSValueList.h:
1473         * css/CSSVariableValue.h:
1474         * css/WebKitCSSArrayFunctionValue.h:
1475         * css/WebKitCSSFilterValue.h:
1476         * css/WebKitCSSMatFunctionValue.h:
1477         * css/WebKitCSSMixFunctionValue.h:
1478         * css/WebKitCSSSVGDocumentValue.h:
1479         * css/WebKitCSSShaderValue.h:
1480
1481 2013-10-21  Joone Hur  <joone.hur@intel.com>
1482
1483         Bad cast with toRenderBoxModelObject in RenderBlock::updateFirstLetter()
1484         https://bugs.webkit.org/show_bug.cgi?id=123013
1485
1486         Reviewed by Andreas Kling.
1487
1488         No new tests because this was reported by Google ClusterFuzz.
1489         https://codereview.chromium.org/25713009/
1490
1491         There is a case that toRenderBoxModelObject causes a crash in RenderBlock::updateFirstLetter() 
1492         due to bad cast, so we need to check whether the RenderObject is a RenderBoxModelObject 
1493         by running isBoxModelObject() before calling toRenderBoxModelObject.  
1494
1495         * rendering/RenderBlock.cpp:
1496         (WebCore::RenderBlock::updateFirstLetter):
1497
1498 2013-10-21  Brady Eidson  <beidson@apple.com>
1499
1500         Make IDBTransactionCoordinatorLevelDB cross platform
1501         https://bugs.webkit.org/show_bug.cgi?id=123124
1502
1503         Enthusiastically reviewed by Tim Horton.
1504
1505         * CMakeLists.txt:
1506         * GNUmakefile.list.am:
1507         * WebCore.xcodeproj/project.pbxproj:
1508
1509         Make more methods pure virtual in the interface:
1510         * Modules/indexeddb/IDBTransactionBackendInterface.h:
1511         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
1512         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
1513
1514         Update the name of the class, and use IDBTransactionBackendInterface instead of IDBTransactionBackendLeveDB:
1515         * Modules/indexeddb/IDBTransactionCoordinator.cpp: Renamed from Source/WebCore/Modules/indexeddb/leveldb/IDBTransactionCoordinatorLevelDB.cpp.
1516         (WebCore::IDBTransactionCoordinator::create):
1517         (WebCore::IDBTransactionCoordinator::IDBTransactionCoordinator):
1518         (WebCore::IDBTransactionCoordinator::~IDBTransactionCoordinator):
1519         (WebCore::IDBTransactionCoordinator::didCreateTransaction):
1520         (WebCore::IDBTransactionCoordinator::didStartTransaction):
1521         (WebCore::IDBTransactionCoordinator::didFinishTransaction):
1522         (WebCore::IDBTransactionCoordinator::isActive):
1523         (WebCore::IDBTransactionCoordinator::processStartedTransactions):
1524         (WebCore::doScopesOverlap):
1525         (WebCore::IDBTransactionCoordinator::canRunTransaction):
1526         * Modules/indexeddb/IDBTransactionCoordinator.h: Renamed from Source/WebCore/Modules/indexeddb/leveldb/IDBTransactionCoordinatorLevelDB.h.
1527
1528         Update the name of the class elsewhere:
1529         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
1530         (WebCore::IDBDatabaseBackendLevelDB::IDBDatabaseBackendLevelDB):
1531         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.h:
1532         (WebCore::IDBDatabaseBackendLevelDB::transactionCoordinator):
1533         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
1534
1535 2013-10-21  Daniel Bates  <dabates@apple.com>
1536
1537         [iOS] Upstream JSGlobalObject::shouldInterruptScriptBeforeTimeout()
1538         https://bugs.webkit.org/show_bug.cgi?id=123045
1539
1540         Reviewed by Joseph Pecoraro.
1541
1542         * bindings/js/JSDOMWindowBase.cpp:
1543         (WebCore::shouldInterruptScriptToPreventInfiniteRecursionWhenClosingPage): Added.
1544         (WebCore::JSDOMWindowBase::shouldInterruptScript): Extracted comment and assertion
1545         about null Page object into WebCore::shouldInterruptScriptToPreventInfiniteRecursionWhenClosingPage()
1546         so that it can be shared by both this function and JSDOMWindowBase::shouldInterruptScriptBeforeTimeout().
1547         (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout):
1548         * bindings/js/JSDOMWindowBase.h:
1549         * bindings/js/JSWorkerGlobalScopeBase.cpp:
1550         (WebCore::JSWorkerGlobalScopeBase::shouldInterruptScriptBeforeTimeout): Added.
1551         * bindings/js/JSWorkerGlobalScopeBase.h:
1552         * loader/EmptyClients.h: Added isStopping(). We'll land the iOS chrome client implementation
1553         in a subsequent patch.
1554         * page/ChromeClient.h: Added isStopping().
1555
1556 2013-10-21  Anders Carlsson  <andersca@apple.com>
1557
1558         Navigation policy callback not called when performing the same fragment navigation twice
1559         https://bugs.webkit.org/show_bug.cgi?id=123121
1560         <rdar://problem/15230466>
1561
1562         Reviewed by Beth Dakin.
1563
1564         There's code in PolicyChecker::checkNavigationPolicy that will call the decision function right away 
1565         if the requests are equal, without consulting any policy client. Because of this, make sure to empty out
1566         the last checked request of the document loader when doing a fragment navigation.
1567
1568         * loader/FrameLoader.cpp:
1569         (WebCore::FrameLoader::loadURL):
1570         (WebCore::FrameLoader::loadWithDocumentLoader):
1571
1572 2013-10-21  Jer Noble  <jer.noble@apple.com>
1573
1574         Unreviewed build fix; unprotect the declaration of updateSleepDisabling();
1575
1576         * html/HTMLMediaElement.h:
1577
1578 2013-10-20  Mark Lam  <mark.lam@apple.com>
1579
1580         Avoid JSC debugger overhead unless needed.
1581         https://bugs.webkit.org/show_bug.cgi?id=123084.
1582
1583         Reviewed by Geoffrey Garen.
1584
1585         No new tests.
1586
1587         - If no breakpoints are set, we now avoid calling the debug hook callbacks.
1588         - If no break on exception is set, we also avoid exception event debug callbacks.
1589         - When we return from the ScriptDebugServer to the JSC::Debugger, we may no
1590           longer call the debug hook callbacks if not needed. Hence, the m_currentCallFrame
1591           pointer in the ScriptDebugServer may become stale. To avoid this issue, before
1592           returning, the ScriptDebugServer will clear its m_currentCallFrame if
1593           needsOpDebugCallbacks() is false.
1594
1595         * bindings/js/ScriptDebugServer.cpp:
1596         (WebCore::ScriptDebugServer::setBreakpoint):
1597         (WebCore::ScriptDebugServer::removeBreakpoint):
1598         (WebCore::ScriptDebugServer::clearBreakpoints):
1599         (WebCore::ScriptDebugServer::setPauseOnExceptionsState):
1600         (WebCore::ScriptDebugServer::setPauseOnNextStatement):
1601         (WebCore::ScriptDebugServer::breakProgram):
1602         (WebCore::ScriptDebugServer::stepIntoStatement):
1603         (WebCore::ScriptDebugServer::dispatchDidContinue):
1604         (WebCore::ScriptDebugServer::exception):
1605         (WebCore::ScriptDebugServer::didReachBreakpoint):
1606         * inspector/InspectorDebuggerAgent.cpp:
1607         (WebCore::InspectorDebuggerAgent::reset):
1608
1609 2013-10-21  Myles C. Maxfield  <mmaxfield@apple.com>
1610
1611         Grammar markers are not updated when switching between 1x and 2x
1612         https://bugs.webkit.org/show_bug.cgi?id=122146
1613
1614         Reviewed by Dean Jackson.
1615
1616         When running editing/spelling/grammar-markers-hidpi.html, the 2x
1617         grammar/spelling dot resources are cached. If you then run
1618         editing/spelling/grammar-markers.html without tearing down WebKit,
1619         it re-uses the 2x dots. The difference between the two tests is a call
1620         to testRunner.setBackingScaleFactor().
1621
1622         We create a NSColor from an NSImage, and remember it in a static
1623         variable. However, NSColor inspects the current graphics context to
1624         determine which resolution to use, and then remembers that decision.
1625         Therefore, we want to recreate the NSColor whenever the device pixel
1626         ratio changes. This patch adds a new static function to GraphicsContext
1627         which recreates this NSColor every time the ratio changes.
1628
1629         Tests: editing/spelling/grammar-markers.html
1630                editing/spelling/inline_spelling_markers.html
1631
1632         * platform/graphics/mac/GraphicsContextMac.mm:
1633         (WebCore::makePattern):
1634         (WebCore::GraphicsContext::drawLineForDocumentMarker):
1635
1636 2013-10-21  Simon Fraser  <simon.fraser@apple.com>
1637
1638         Use pink layer borders for compositing layers with a contents layer
1639         https://bugs.webkit.org/show_bug.cgi?id=123118
1640
1641         Reviewed by Dean Jackson.
1642
1643         With the existing layer border colors, it's not possible to distinguish an empty
1644         layer from one with solid color, image or video contents. So use a pink color
1645         for those. This makes it easier to diagnose bugs like 122784.
1646
1647         * platform/graphics/GraphicsLayer.cpp:
1648         (WebCore::GraphicsLayer::getDebugBorderInfo):
1649
1650 2013-10-21  Jer Noble  <jer.noble@apple.com>
1651
1652         Limit use of display sleep assertion when <video> element is off-screen.
1653         https://bugs.webkit.org/show_bug.cgi?id=123041
1654
1655         Reviewed by Darin Adler.
1656
1657         Use page visibility changes to suspend and resume the use of sleep assertions in
1658         HTMLMediaElement.
1659
1660         Page will propogate the page visibility change notifications to its Documents, which
1661         will further propogate those notifications to registered elements.  Upon receiving
1662         these notifications, HTMLMediaElement will release or take a DisplaySleepDisabler
1663         token if necessary.
1664
1665         Also, rename HTMLMediaElement's updateDisableSleep() to updateSleepDisabling() and wrap
1666         the implementation in a PLATFORM(MAC) guard rather than at each call site.
1667
1668         * dom/Document.cpp:
1669         (WebCore::Document::registerForVisibilityStateCallbacks): Added registration method.
1670         (WebCore::Document::unregisterForVisibilityStateCallbacks): Added unregistration method.
1671         (WebCore::Document::visibilityStateChanged): Call all registered clients.
1672         * dom/Document.h:
1673         * dom/Element.h:
1674         (WebCore::Element::visibilityStateChanged): Added default virtual method to be overridden
1675             by subclasses.
1676         * html/HTMLMediaElement.cpp:
1677         (WebCore::HTMLMediaElement::HTMLMediaElement): Register for the notification, and check the
1678             current status of Document::hidden().
1679         (WebCore::HTMLMediaElement::~HTMLMediaElement): Unregister for the notification.
1680         (WebCore::HTMLMediaElement::visibilityStateChanged): Set m_displaySleepDisablingSuspended
1681             and call updateSleepDisabling().
1682         (WebCore::HTMLMediaElement::shouldDisableSleep): Add a check for m_displaySleepDisablingSuspended.
1683         * html/HTMLMediaElement.h:
1684         * page/Page.cpp:
1685         (WebCore::Page::setVisibilityState): Pass to every child document.
1686
1687         Rename updateDisableSleep() -> updateSleepDisabling():
1688         * html/HTMLMediaElement.cpp:
1689         (WebCore::HTMLMediaElement::HTMLMediaElement):
1690         (WebCore::HTMLMediaElement::~HTMLMediaElement):
1691         (WebCore::HTMLMediaElement::parseAttribute):
1692         (WebCore::HTMLMediaElement::mediaPlayerRateChanged):
1693         (WebCore::HTMLMediaElement::clearMediaPlayer):
1694         (WebCore::HTMLMediaElement::stop):
1695
1696 2013-10-21  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1697
1698         MediaStreamTrack now tracks its own state
1699         https://bugs.webkit.org/show_bug.cgi?id=123025
1700
1701         Reviewed by Jer Noble.
1702
1703         The spec says that a MediaStreamSource can be shared by different tracks,
1704         so a track must have its own state tracking, synchronizing with its MediaStreamSource when
1705         the underlying MediaStreamSource changes the readyState.
1706         In the old implementation if a user invoked the stop method, its readyState method was still
1707         returning the MediaStreamSource state, which was wrong.
1708         This also adds a setEnabled method, which can be used to set the state of a track when a
1709         remote peer ends it, for instance.
1710
1711         No new tests needed.
1712
1713         * Modules/mediastream/MediaStreamTrack.cpp:
1714         (WebCore::MediaStreamTrack::readyState):
1715         (WebCore::MediaStreamTrack::setState):
1716         (WebCore::MediaStreamTrack::stopProducingData):
1717         (WebCore::MediaStreamTrack::ended):
1718         (WebCore::MediaStreamTrack::sourceStateChanged):
1719         (WebCore::MediaStreamTrack::trackDidEnd):
1720         * Modules/mediastream/MediaStreamTrack.h:
1721
1722 2013-10-21  Tim Horton  <timothy_horton@apple.com>
1723
1724         Remote Layer Tree: Clean up transaction logging
1725         https://bugs.webkit.org/show_bug.cgi?id=123116
1726
1727         Reviewed by Anders Carlsson.
1728
1729         * WebCore.exp.in:
1730         Export some TextStream functions.
1731
1732 2013-10-21  Brady Eidson  <beidson@apple.com>
1733
1734         Transition most use of IDBBackingStoreLevelDB to IDBBackingStoreInterface
1735         https://bugs.webkit.org/show_bug.cgi?id=123105
1736
1737         Reviewed by Anders Carlsson.
1738
1739         Export more required headers:
1740         * WebCore.xcodeproj/project.pbxproj:
1741
1742         Flesh out many of the pure virtual methods on IDBBackingStoreInterface, as well as
1743         the RecordIdentifier and Cursor classes:
1744
1745         * Modules/indexeddb/IDBBackingStoreInterface.h:
1746         (WebCore::IDBBackingStoreInterface::RecordIdentifier::~RecordIdentifier):
1747         (WebCore::IDBBackingStoreInterface::Cursor::~Cursor):
1748
1749         Use IDBBackingStoreInterface, IDBBackingStoreInterface::RecordIdentifier, and
1750         IDBBackingStoreInterface::Cursor wherever possible:
1751
1752         * Modules/indexeddb/IDBFactoryBackendInterface.cpp:
1753         * Modules/indexeddb/IDBFactoryBackendInterface.h:
1754
1755         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
1756         (WebCore::IDBBackingStoreLevelDB::putRecord):
1757         (WebCore::IDBBackingStoreLevelDB::deleteRecord):
1758         (WebCore::IDBBackingStoreLevelDB::keyExistsInObjectStore):
1759         (WebCore::IDBBackingStoreLevelDB::putIndexDataForRecord):
1760         (WebCore::ObjectStoreKeyCursorImpl::clone):
1761         (WebCore::ObjectStoreCursorImpl::clone):
1762         (WebCore::IndexKeyCursorImpl::clone):
1763         (WebCore::IndexCursorImpl::clone):
1764         (WebCore::IDBBackingStoreLevelDB::openObjectStoreCursor):
1765         (WebCore::IDBBackingStoreLevelDB::openObjectStoreKeyCursor):
1766         (WebCore::IDBBackingStoreLevelDB::openIndexKeyCursor):
1767         (WebCore::IDBBackingStoreLevelDB::openIndexCursor):
1768         (WebCore::IDBBackingStoreLevelDB::Transaction::Transaction):
1769         (WebCore::IDBBackingStoreLevelDB::Transaction::begin):
1770         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
1771         (WebCore::IDBBackingStoreLevelDB::RecordIdentifier::RecordIdentifier):
1772
1773         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
1774         (WebCore::IDBCursorBackendLevelDB::IDBCursorBackendLevelDB):
1775         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.h:
1776
1777         (WebCore::IDBCursorBackendLevelDB::create):
1778         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
1779         (WebCore::IDBDatabaseBackendLevelDB::create):
1780         (WebCore::IDBDatabaseBackendLevelDB::IDBDatabaseBackendLevelDB):
1781         (WebCore::IDBDatabaseBackendLevelDB::backingStore):
1782         (WebCore::IDBDatabaseBackendLevelDB::setIndexKeys):
1783         (WebCore::IDBDatabaseBackendLevelDB::createTransaction):
1784         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.h:
1785
1786         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
1787         (WebCore::IDBFactoryBackendLevelDB::createTransactionBackend):
1788         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
1789
1790         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
1791         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::verifyIndexKeys):
1792         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::writeIndexKeys):
1793         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::addingKeyAllowed):
1794         (WebCore::IDBObjectStoreBackendLevelDB::makeIndexWriters):
1795         (WebCore::IDBObjectStoreBackendLevelDB::generateKey):
1796         (WebCore::IDBObjectStoreBackendLevelDB::updateKeyGenerator):
1797         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.h:
1798
1799         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
1800         (WebCore::IDBTransactionBackendLevelDB::create):
1801         (WebCore::IDBTransactionBackendLevelDB::IDBTransactionBackendLevelDB):
1802         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
1803
1804         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.cpp:
1805         (WebCore::GetOperation::perform):
1806         (WebCore::OpenCursorOperation::perform):
1807         (WebCore::CountOperation::perform):
1808         (WebCore::DeleteRangeOperation::perform):
1809         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.h:
1810         (WebCore::CreateObjectStoreOperation::create):
1811         (WebCore::CreateObjectStoreOperation::CreateObjectStoreOperation):
1812         (WebCore::DeleteObjectStoreOperation::create):
1813         (WebCore::DeleteObjectStoreOperation::DeleteObjectStoreOperation):
1814         (WebCore::CreateIndexOperation::create):
1815         (WebCore::CreateIndexOperation::CreateIndexOperation):
1816         (WebCore::DeleteIndexOperation::create):
1817         (WebCore::DeleteIndexOperation::DeleteIndexOperation):
1818         (WebCore::GetOperation::create):
1819         (WebCore::GetOperation::GetOperation):
1820         (WebCore::PutOperation::create):
1821         (WebCore::PutOperation::PutOperation):
1822         (WebCore::OpenCursorOperation::create):
1823         (WebCore::OpenCursorOperation::OpenCursorOperation):
1824         (WebCore::CountOperation::create):
1825         (WebCore::CountOperation::CountOperation):
1826         (WebCore::DeleteRangeOperation::create):
1827         (WebCore::DeleteRangeOperation::DeleteRangeOperation):
1828         (WebCore::ClearOperation::create):
1829         (WebCore::ClearOperation::ClearOperation):
1830
1831 2013-10-21  Zoltan Horvath  <zoltan@webkit.org>
1832
1833         [CSS Shapes][CSS Regions] Don't apply shape-inside when we have multiple auto-height regions and the height is not resolved
1834         https://bugs.webkit.org/show_bug.cgi?id=123103
1835
1836         Reviewed by David Hyatt.
1837
1838         When we have multiple regions with auto-height, the region's height is not resolved from other elements we can't apply the
1839         the shape on the region. This patch prevents to apply the shape and fixes the behavior for these cases.
1840
1841         Test: fast/regions/shape-inside/shape-inside-on-multiple-autoheight-regions.html
1842
1843         * rendering/RenderBlock.cpp:
1844         (WebCore::RenderBlock::layoutShapeInsideInfo):
1845         * rendering/RenderBlockLineLayout.cpp:
1846         (WebCore::RenderBlockFlow::updateShapeAndSegmentsForCurrentLineInFlowThread):
1847
1848 2013-10-21  Tim Horton  <timothy_horton@apple.com>
1849
1850         Remote Layer Tree: Backing store should take contentsScale into account
1851         https://bugs.webkit.org/show_bug.cgi?id=123106
1852
1853         Reviewed by Simon Fraser.
1854
1855         * WebCore.exp.in:
1856         Export FloatRect::scale.
1857
1858 2013-10-21  Andreas Kling  <akling@apple.com>
1859
1860         RenderScrollbarPart doesn't need styleWillChange().
1861         <https://webkit.org/b/123113>
1862
1863         We will call setInline(false) in styleDidChange(), there's no need
1864         to override styleWillChange() just to do it twice.
1865
1866         Reviewed by Darin Adler.
1867
1868 2013-10-21  Mihai Maerean  <mmaerean@adobe.com>
1869
1870         [CSS Regions] The layers from the flow thread should be collected under the regions' layers.
1871         https://bugs.webkit.org/show_bug.cgi?id=120457
1872
1873         Reviewed by David Hyatt.
1874
1875         This patch is based on the work of Alexandru Chiculita at https://bugs.webkit.org/attachment.cgi?id=203872&action=review
1876
1877         The composited layers inside the named flow threads are collected as part of the regions (as children of the
1878         GraphicsLayer of the layer that corresponds to the region (which is attached to the parent renderer of
1879         RenderNameFlowFragment)).
1880         When a region displays a layer that needs accelerated compositing we activate the accelerated compositing for
1881         that region too (inside RenderLayerCompositor::computeRegionCompositingRequirements).
1882
1883         This patch has landed before (as http://trac.webkit.org/changeset/156451), but was reverted because
1884         fast/multicol/mixed-positioning-stacking-order.html failed. The fix is inside RenderLayerCompositor::canBeComposited
1885         that only enables compositing for layers inside flow threads that collect the graphics layers under the regions.
1886
1887         Another change from changeset #156451 is that now the region renderers are created as anonymous renderers under
1888         the element that has the flow-from property. When a composited layer is needed for the region, it sits in it's
1889         parent renderer, not in the region renderer (RenderNamedFlowFragment).
1890
1891         Tests: compositing/regions/crash-transform-inside-region.html
1892                compositing/regions/floated-region-with-transformed-child.html
1893                compositing/regions/move-layer-from-one-region-to-another.html
1894                compositing/regions/propagate-region-box-shadow-border-padding-for-video.html
1895                compositing/regions/propagate-region-box-shadow-border-padding.html
1896                compositing/regions/region-as-layer-in-another-flowthread.html
1897                compositing/regions/transform-transparent-positioned-video-inside-region.html
1898                compositing/regions/transformed-layer-inside-transformed-layer.html
1899                compositing/regions/z-index-update.html
1900                compositing/regions/z-index.html
1901
1902         * rendering/FlowThreadController.cpp:
1903         (WebCore::FlowThreadController::updateRenderFlowThreadLayersIfNeeded):
1904         * rendering/RenderElement.cpp:
1905         (WebCore::RenderElement::propagateStyleToAnonymousChildren): Not for RenderFlowThreads, as they are updated
1906         through the RenderView::styleDidChange function.
1907         * rendering/RenderFlowThread.cpp:
1908         (WebCore::RenderFlowThread::layout): When the layout of the flow thread is over (including the 2 phase layout),
1909         we update all the mappings between the layers inside the flow thread and the regions where those layers will be
1910         painted.
1911         (WebCore::RenderFlowThread::hasCompositingRegionDescendant): Whether any of the regions has a compositing descendant.
1912         (WebCore::RenderFlowThread::getLayerListForRegion):
1913         (WebCore::RenderFlowThread::regionForCompositedLayer):
1914         (WebCore::RenderFlowThread::cachedRegionForCompositedLayer):
1915         (WebCore::RenderFlowThread::collectsGraphicsLayersUnderRegions):
1916         (WebCore::RenderFlowThread::updateLayerToRegionMappings): Triggers an update of the layers if a layer has moved
1917         from a region to another since the last update.
1918         (WebCore::RenderFlowThread::updateAllLayerToRegionMappings):
1919         * rendering/RenderFlowThread.h:
1920         * rendering/RenderGeometryMap.cpp:
1921         (WebCore::RenderGeometryMap::pushRenderFlowThread):
1922         * rendering/RenderGeometryMap.h:
1923         * rendering/RenderLayer.cpp:
1924         (WebCore::RenderLayer::paintList):
1925         (WebCore::RenderLayer::enclosingFlowThreadAncestor):
1926         (WebCore::RenderLayer::isFlowThreadCollectingGraphicsLayersUnderRegions):
1927         (WebCore::RenderLayer::hitTestList):
1928         (WebCore::RenderLayer::calculateLayerBounds): When we calculate the bounds of the RenderView, we ignore those
1929         flow threads that collect the graphics layers under the regions.
1930         (WebCore::RenderLayer::dirtyZOrderLists):
1931         (WebCore::RenderLayer::dirtyNormalFlowList):
1932         * rendering/RenderLayer.h:
1933         * rendering/RenderLayerBacking.cpp:
1934         (WebCore::RenderLayerBacking::shouldClipCompositedBounds): Not if it's a flow thread that collects the graphics
1935         layers under the regions
1936         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Now adjusts the ancestorCompositingBounds for the FlowThread.
1937         (WebCore::RenderLayerBacking::adjustAncestorCompositingBoundsForFlowThread): Make sure that the region propagates
1938         its borders, paddings, outlines or box-shadows to layers inside it.
1939         (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer):
1940         * rendering/RenderLayerBacking.h:
1941         * rendering/RenderLayerCompositor.cpp:
1942         (WebCore::RenderLayerCompositor::computeCompositingRequirements): Now calls computeRegionCompositingRequirements.
1943         (WebCore::RenderLayerCompositor::computeRegionCompositingRequirements):
1944         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Do not iterate the RenderFlowThread directly if
1945         we are going to collect the composited layers as part of regions.
1946         (WebCore::RenderLayerCompositor::rebuildRegionCompositingLayerTree):
1947         (WebCore::RenderLayerCompositor::canBeComposited): CSS Regions flow threads do not need to be composited as we
1948         use composited RenderRegions to render the background of the RenderFlowThread.
1949         (WebCore::RenderLayerCompositor::requiresCompositingForIndirectReason): If it's a container of a css region.
1950         * rendering/RenderLayerCompositor.h:
1951         * rendering/RenderMultiColumnSet.cpp:
1952         (WebCore::RenderMultiColumnSet::adjustRegionBoundsFromFlowThreadPortionRect):
1953         * rendering/RenderMultiColumnSet.h:
1954         * rendering/RenderNamedFlowFragment.h:
1955         (WebCore::RenderNamedFlowFragment::layerOwner): When the content inside the region requires the region to have a
1956         layer, the layer will be created on the region's parent renderer instead. This method returns that renderer
1957         holding the layer. The return value may be null.
1958         * rendering/RenderNamedFlowThread.cpp:
1959         (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
1960         (WebCore::RenderNamedFlowThread::nextRendererForNode):
1961         (WebCore::RenderNamedFlowThread::previousRendererForNode):
1962         (WebCore::RenderNamedFlowThread::addFlowChild):
1963         (WebCore::RenderNamedFlowThread::removeFlowChild):
1964         (WebCore::RenderNamedFlowThread::collectsGraphicsLayersUnderRegions):
1965         * rendering/RenderNamedFlowThread.h: m_flowThreadChildList is now allocated through an OwnPtr to keep the render
1966         arena under the size limit.
1967         * rendering/RenderRegion.cpp:
1968         (WebCore::RenderRegion::adjustRegionBoundsFromFlowThreadPortionRect):
1969         * rendering/RenderRegion.h:
1970         (WebCore::toRenderRegion):
1971         * rendering/RenderTreeAsText.cpp:
1972         (WebCore::writeLayers):
1973         * WebCore.exp.in: WebCore::RenderLayer::isFlowThreadCollectingGraphicsLayersUnderRegions
1974
1975 2013-10-21  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1976
1977         Fixing mediastream debug build
1978         https://bugs.webkit.org/show_bug.cgi?id=123104
1979
1980         Reviewed by Andreas Kling.
1981
1982         No new tests needed.
1983
1984         * Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
1985         (WebCore::RTCDTMFToneChangeEvent::create):
1986
1987 2013-10-21  Andreas Kling  <akling@apple.com>
1988
1989         Merge RenderListMarker::styleWillChange() into styleDidChange().
1990         <https://webkit.org/b/123098>
1991
1992         If the marker's list-style-type or list-style-position changed, we
1993         need to dirty the layout. Move this logic to styleDidChange() so we
1994         can get rid of one styleWillChange() overload.
1995
1996         Reviewed by Antti Koivisto.
1997
1998 2013-10-21  Mihai Maerean  <mmaerean@adobe.com>
1999
2000         [CSS Regions] Fix WHITESPACE issues in the CSS grammar.
2001         https://bugs.webkit.org/show_bug.cgi?id=123082
2002
2003         Reviewed by Andreas Kling.
2004
2005         This is a port of Rune Lillesveen's patch from https://codereview.chromium.org/25607005
2006
2007         Fix WHITESPACE issues in the CSS grammar.
2008
2009         A single WHITESPACE token consumes consecutive spaces, but does not consume
2010         spaces separated by comments. That means S* and S+ in CSS grammars need to
2011         accept multiple WHITESPACE tokens. Additionally, white spaces are not
2012         mandatory to separate an @-symbol and the rest of the prelude.
2013
2014         Use space non-terminal instead of WHITESPACE for S+ in calc expressions.
2015
2016         Use maybe_space non-terminal instead of WHITESPACE for S* after @-webkit-filter
2017         and @-webkit-region.
2018
2019         Tests: fast/css/calc-comments-allowed.html
2020                fast/regions/webkit-region-syntax-space.html
2021
2022         * css/CSSGrammar.y.in:
2023
2024 2013-10-21  Anton Obzhirov  <a.obzhirov@samsung.com>
2025
2026         [ATK] Use atk_object_notify_state_change instead of manually emitting signals
2027         https://bugs.webkit.org/show_bug.cgi?id=122968
2028
2029         Reviewed by Mario Sanchez Prada.
2030
2031         Refactor emitting "state-change" event to use atk_object_notify_state_change
2032         instead of using g_signal_emit_by_name.
2033
2034         * accessibility/atk/AXObjectCacheAtk.cpp:
2035         (WebCore::notifyChildrenSelectionChange):
2036         (WebCore::AXObjectCache::postPlatformNotification):
2037         (WebCore::AXObjectCache::frameLoadingEventPlatformNotification):
2038         (WebCore::AXObjectCache::handleFocusedUIElementChanged):
2039         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
2040         (webkitAccessibleDetach):
2041         * editing/atk/FrameSelectionAtk.cpp:
2042         (WebCore::maybeEmitTextFocusChange):
2043
2044 2013-10-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2045
2046         Make TYPE_CASTS_BASE more flexible
2047         https://bugs.webkit.org/show_bug.cgi?id=122951
2048
2049         Reviewed by Andreas Kling.
2050
2051         TYPE_CASTS_BASE is being used by node|element type casts. However, it is difficult
2052         to be used by other type casts. For instance, CSSValue, Accessibility and so on.
2053         This patch modifies TYPE_CASTS_BASE which can support other type casts.
2054
2055         Besides TYPE_CASTS_BASE body is moved from node.h to Assertions.h.
2056
2057         No new tests, no behavior changes.
2058
2059         * dom/Document.h:
2060         * dom/Node.h:
2061
2062 2013-10-21  Santosh Mahto  <santosh.ma@samsung.com>
2063
2064         ASSERTION FAILED: !style->propertyIsImportant(propertyID) in WebCore::setTextDecorationProperty
2065         https://bugs.webkit.org/show_bug.cgi?id=122097
2066
2067         Reviewed by Ryosuke Niwa.
2068
2069         When remove format command is called we pushdown the ancestor style
2070         down to its children. Currently applying inline style to iframe
2071         while pushing down style which causes iframe to be reinserted in tree and
2072         triggres again subframe loading which repeats everytime and finally
2073         crash happens. So we should avoid applying inline style to iframe
2074         element as it doesnot reflect in its content while pushing down style
2075         on it.
2076
2077         And ASSERT call has been removed from setTextDecoration property as
2078         the scenario is perfectly valid case.
2079
2080         Test: editing/execCommand/remove-format-textdecoration-in-iframe.html
2081
2082         * editing/ApplyStyleCommand.cpp:
2083         (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Return if
2084         element is iframe.
2085         * editing/EditingStyle.cpp:
2086         (WebCore::StyleChange::setTextDecorationProperty): Remove ASSERT.
2087
2088 2013-10-20  Sam Weinig  <sam@webkit.org>
2089
2090         Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 5)
2091         https://bugs.webkit.org/show_bug.cgi?id=122969
2092
2093         Reviewed by Antti Koivisto.
2094
2095         - Move m_lineBoxes to RenderBlockFlow.
2096
2097         * accessibility/AccessibilityRenderObject.cpp:
2098         (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
2099         * rendering/HitTestResult.cpp:
2100         (WebCore::HitTestResult::innerTextIfTruncated):
2101         * rendering/RenderBlock.cpp:
2102         (WebCore::RenderBlock::RenderBlock):
2103         (WebCore::RenderBlock::willBeDestroyed):
2104         (WebCore::RenderBlock::deleteLineBoxTree):
2105         (WebCore::RenderBlock::isSelfCollapsingBlock):
2106         (WebCore::RenderBlock::removeFromDelayedUpdateScrollInfoSet):
2107         (WebCore::RenderBlock::paintContents):
2108         (WebCore::blockDirectionOffset):
2109         (WebCore::inlineDirectionOffset):
2110         (WebCore::RenderBlock::inlineSelectionGaps):
2111         (WebCore::RenderBlock::hitTestContents):
2112         (WebCore::positionForPointRespectingEditingBoundaries):
2113         (WebCore::RenderBlock::positionForPointWithInlineChildren):
2114         (WebCore::RenderBlock::firstLineBoxBaseline):
2115         (WebCore::RenderBlock::inlineBlockBaseline):
2116         (WebCore::RenderBlock::addFocusRingRectsForInlineChildren):
2117         (WebCore::RenderBlock::addFocusRingRects):
2118         (WebCore::RenderBlock::showLineTreeAndMark):
2119         * rendering/RenderBlock.h:
2120         (WebCore::RenderBlock::addOverflowFromInlineChildren):
2121         (WebCore::RenderBlock::hasInlineBoxChildren):
2122         (WebCore::RenderBlock::paintInlineChildren):
2123         (WebCore::RenderBlock::hitTestInlineChildren):
2124         * rendering/RenderBlockFlow.cpp:
2125         (WebCore::RenderBlockFlow::RenderBlockFlow):
2126         (WebCore::RenderBlockFlow::willBeDestroyed):
2127         (WebCore::RenderBlockFlow::deleteLineBoxTree):
2128         (WebCore::RenderBlockFlow::hitTestInlineChildren):
2129         (WebCore::RenderBlockFlow::adjustForBorderFit):
2130         (WebCore::RenderBlockFlow::fitBorderToLinesIfNeeded):
2131         (WebCore::RenderBlockFlow::markLinesDirtyInBlockRange):
2132         (WebCore::RenderBlockFlow::firstLineBoxBaseline):
2133         (WebCore::RenderBlockFlow::inlineBlockBaseline):
2134         (WebCore::RenderBlockFlow::inlineSelectionGaps):
2135         (WebCore::RenderBlockFlow::positionForBox):
2136         (WebCore::RenderBlockFlow::positionForPointWithInlineChildren):
2137         (WebCore::RenderBlockFlow::addFocusRingRectsForInlineChildren):
2138         (WebCore::RenderBlockFlow::paintInlineChildren):
2139         (WebCore::RenderBlockFlow::relayoutForPagination):
2140         (WebCore::RenderBlockFlow::showLineTreeAndMark):
2141         * rendering/RenderBlockFlow.h:
2142         (WebCore::RenderBlockFlow::lineBoxes):
2143         (WebCore::RenderBlockFlow::firstLineBox):
2144         (WebCore::RenderBlockFlow::lastLineBox):
2145         (WebCore::RenderBlockFlow::firstRootBox):
2146         (WebCore::RenderBlockFlow::lastRootBox):
2147         * rendering/RenderBlockLineLayout.cpp:
2148         (WebCore::RenderBlockFlow::addOverflowFromInlineChildren):
2149         * rendering/RootInlineBox.cpp:
2150         (WebCore::RootInlineBox::selectionTopAdjustedForPrecedingBlock):
2151
2152 2013-10-20  Andreas Kling  <akling@apple.com>
2153
2154         Avoid unnecessary vector copy in AnimationController event dispatch.
2155         <https://webkit.org/b/122994>
2156
2157         Use Vector's move constructor instead of making a copy of the pending
2158         events queue and then clearing it.
2159
2160         Reviewed by Simon Fraser.
2161
2162 2013-10-19  Brady Eidson  <beidson@apple.com>
2163
2164         Add abstract IDBBackingStoreInterface, use it to get IDBDatabaseBackendLevelDB closer to going cross-platform
2165         https://bugs.webkit.org/show_bug.cgi?id=123074
2166
2167         Reviewed by Andreas Kling.
2168
2169         * Modules/indexeddb/IDBBackingStoreInterface.h: Added.
2170         (WebCore::IDBBackingStoreInterface::~IDBBackingStoreInterface):
2171         (WebCore::IDBBackingStoreInterface::Transaction::~Transaction):
2172
2173         * Modules/indexeddb/IDBTransactionBackendInterface.h:
2174
2175         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2176         (WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseIntVersion):
2177         (WebCore::IDBBackingStoreLevelDB::createObjectStore):
2178         (WebCore::IDBBackingStoreLevelDB::deleteObjectStore):
2179         (WebCore::IDBBackingStoreLevelDB::getRecord):
2180         (WebCore::IDBBackingStoreLevelDB::putRecord):
2181         (WebCore::IDBBackingStoreLevelDB::clearObjectStore):
2182         (WebCore::IDBBackingStoreLevelDB::deleteRecord):
2183         (WebCore::IDBBackingStoreLevelDB::getKeyGeneratorCurrentNumber):
2184         (WebCore::IDBBackingStoreLevelDB::maybeUpdateKeyGeneratorCurrentNumber):
2185         (WebCore::IDBBackingStoreLevelDB::keyExistsInObjectStore):
2186         (WebCore::IDBBackingStoreLevelDB::createIndex):
2187         (WebCore::IDBBackingStoreLevelDB::deleteIndex):
2188         (WebCore::IDBBackingStoreLevelDB::putIndexDataForRecord):
2189         (WebCore::IDBBackingStoreLevelDB::findKeyInIndex):
2190         (WebCore::IDBBackingStoreLevelDB::getPrimaryKeyViaIndex):
2191         (WebCore::IDBBackingStoreLevelDB::keyExistsInIndex):
2192         (WebCore::IDBBackingStoreLevelDB::openObjectStoreCursor):
2193         (WebCore::IDBBackingStoreLevelDB::openObjectStoreKeyCursor):
2194         (WebCore::IDBBackingStoreLevelDB::openIndexKeyCursor):
2195         (WebCore::IDBBackingStoreLevelDB::openIndexCursor):
2196         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
2197         (WebCore::IDBBackingStoreLevelDB::Transaction::reset):
2198         (WebCore::IDBBackingStoreLevelDB::Transaction::levelDBTransactionFrom):
2199
2200         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
2201         (WebCore::IDBCursorBackendLevelDB::deleteFunction):
2202         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.h:
2203
2204         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
2205         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::verifyIndexKeys):
2206         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::writeIndexKeys):
2207         (WebCore::IDBObjectStoreBackendLevelDB::IndexWriter::addingKeyAllowed):
2208         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.h:
2209
2210         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
2211         (WebCore::IDBTransactionBackendLevelDB::backingStoreTransaction):
2212
2213         * WebCore.xcodeproj/project.pbxproj:
2214         * GNUmakefile.list.am:
2215
2216 2013-10-20  Andreas Kling  <akling@apple.com>
2217
2218         Use PassRef for StyleSheetContents.
2219         <https://webkit.org/b/123083>
2220
2221         Let functions that return newly-constructed StyleSheetContents
2222         objects vend PassRef<StyleSheetContents> instead of PassRefPtr.
2223
2224         Updated functions that take StyleSheetContents in arguments
2225         accordingly. And CSSStyleSheet now has a Ref internally. Woo!
2226
2227         Reviewed by Antti Koivisto.
2228
2229 2013-10-20  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
2230
2231         Removing "unused parameter" compiling warnings from WebKit2 and WebCore
2232         https://bugs.webkit.org/show_bug.cgi?id=123075
2233
2234         Reviewed by Andreas Kling.
2235
2236         No new tests needed.
2237
2238         * Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
2239         (WebCore::RTCDTMFToneChangeEvent::create):
2240         * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
2241         (lineAtPositionForAtkBoundary):
2242         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
2243         (WebCore::MediaPlayerPrivateGStreamer::processTableOfContentsEntry):
2244
2245 2013-10-19  Andreas Kling  <akling@apple.com>
2246
2247         Use PassRef for constructing StyleRules.
2248         <https://webkit.org/b/123072>
2249
2250         Let functions that return newly-constructed StyleRuleFoo objects
2251         vend PassRef<StyleRuleFoo> instead of PassRefPtr.
2252
2253         Since StyleRuleBase::copy() has to return something, we can't rely
2254         on ASSERT_NOT_REACHED() + return nullptr anymore, so I've replaced
2255         those with CRASH(). No call sites actually handled null anyway.
2256
2257         Reviewed by Sam Weinig.
2258
2259 2013-10-19  Jer Noble  <jer.noble@apple.com>
2260
2261         Unreviewed roll out of r157695; broke Mac builds.
2262
2263         * Configurations/FeatureDefines.xcconfig:
2264
2265 2013-10-07  Jer Noble  <jer.noble@apple.com>
2266
2267         [MSE] [Mac] Enable MediaSource on the Mac
2268         https://bugs.webkit.org/show_bug.cgi?id=122484
2269
2270         Reviewed by Darin Adler.
2271
2272         Enable ENABLE_MEDIA_SOURCE.
2273
2274         * Configurations/FeatureDefines.xcconfig:
2275
2276 2013-10-19  Sam Weinig  <sam@webkit.org>
2277
2278         CTTE: Tighten up type usage around InputType::innerTextElement()
2279         https://bugs.webkit.org/show_bug.cgi?id=123078
2280
2281         Reviewed by Anders Carlsson.
2282
2283         * editing/TextIterator.cpp:
2284         (WebCore::TextIterator::handleReplacedElement):
2285         * html/HTMLElement.h:
2286         (WebCore::HTMLElement::isTextControlInnerTextElement):
2287         * html/HTMLInputElement.cpp:
2288         (WebCore::HTMLInputElement::innerTextElement):
2289         * html/HTMLInputElement.h:
2290         * html/HTMLTextAreaElement.cpp:
2291         (WebCore::HTMLTextAreaElement::innerTextElement):
2292         * html/HTMLTextAreaElement.h:
2293         * html/HTMLTextFormControlElement.cpp:
2294         (WebCore::hasVisibleTextArea):
2295         (WebCore::HTMLTextFormControlElement::selection):
2296         (WebCore::HTMLTextFormControlElement::innerTextValue):
2297         (WebCore::HTMLTextFormControlElement::valueWithHardLineBreaks):
2298         * html/HTMLTextFormControlElement.h:
2299         * html/InputType.h:
2300         (WebCore::InputType::innerTextElement):
2301         * html/TextFieldInputType.cpp:
2302         (WebCore::TextFieldInputType::forwardEvent):
2303         (WebCore::TextFieldInputType::innerTextElement):
2304         * html/TextFieldInputType.h:
2305         * html/shadow/TextControlInnerElements.cpp:
2306         (WebCore::TextControlInnerTextElement::renderer):
2307         * html/shadow/TextControlInnerElements.h:
2308         (WebCore::isTextControlInnerTextElement):
2309         * rendering/RenderObject.h:
2310         (WebCore::RenderObject::isTextControlInnerBlock):
2311         * rendering/RenderTextControl.cpp:
2312         (WebCore::RenderTextControl::innerTextElement):
2313         (WebCore::RenderTextControl::styleDidChange):
2314         (WebCore::RenderTextControl::textBlockLogicalWidth):
2315         (WebCore::RenderTextControl::updateFromElement):
2316         (WebCore::RenderTextControl::computeLogicalHeight):
2317         (WebCore::RenderTextControl::hitInnerTextElement):
2318         * rendering/RenderTextControl.h:
2319         * rendering/RenderTextControlSingleLine.cpp:
2320         (WebCore::RenderTextControlSingleLine::layout):
2321         (WebCore::RenderTextControlSingleLine::styleDidChange):
2322         (WebCore::RenderTextControlSingleLine::autoscroll):
2323         (WebCore::RenderTextControlSingleLine::scroll):
2324         (WebCore::RenderTextControlSingleLine::logicalScroll):
2325         * rendering/RenderTextControlSingleLine.h:
2326         (WebCore::toRenderTextControlInnerBlock):
2327
2328 2013-10-19  Sam Weinig  <sam@webkit.org>
2329
2330         Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 4)
2331         https://bugs.webkit.org/show_bug.cgi?id=122969
2332
2333         Reviewed by Andreas Kling.
2334
2335         - Fix classes derived from RenderBlockFlow that were still calling
2336           up to RenderBlock rather than RenderBlockFlow.
2337
2338         * rendering/RenderDetailsMarker.cpp:
2339         (WebCore::RenderDetailsMarker::paint):
2340         * rendering/RenderFieldset.cpp:
2341         (WebCore::RenderFieldset::computePreferredLogicalWidths):
2342         (WebCore::RenderFieldset::paintBoxDecorations):
2343         (WebCore::RenderFieldset::paintMask):
2344         * rendering/RenderFileUploadControl.cpp:
2345         (WebCore::RenderFileUploadControl::paintObject):
2346         * rendering/RenderFlowThread.cpp:
2347         (WebCore::RenderFlowThread::styleDidChange):
2348         (WebCore::RenderFlowThread::layout):
2349         (WebCore::RenderFlowThread::nodeAtPoint):
2350         * rendering/RenderFullScreen.cpp:
2351         (RenderFullScreenPlaceholder::willBeDestroyed):
2352         * rendering/RenderListItem.cpp:
2353         (WebCore::RenderListItem::styleDidChange):
2354         * rendering/RenderMultiColumnBlock.cpp:
2355         (WebCore::RenderMultiColumnBlock::styleDidChange):
2356         (WebCore::RenderMultiColumnBlock::updateLogicalWidthAndColumnWidth):
2357         (WebCore::RenderMultiColumnBlock::addChild):
2358         * rendering/RenderProgress.cpp:
2359         (WebCore::RenderProgress::updateFromElement):
2360         * rendering/RenderRuby.cpp:
2361         (WebCore::RenderRubyAsBlock::styleDidChange):
2362         (WebCore::RenderRubyAsBlock::addChild):
2363         (WebCore::RenderRubyAsBlock::removeChild):
2364         * rendering/RenderRubyRun.cpp:
2365         (WebCore::RenderRubyRun::rubyBaseSafe):
2366         (WebCore::RenderRubyRun::addChild):
2367         (WebCore::RenderRubyRun::removeChild):
2368         (WebCore::RenderRubyRun::layout):
2369         * rendering/RenderRubyText.cpp:
2370         (WebCore::RenderRubyText::textAlignmentForLine):
2371         (WebCore::RenderRubyText::adjustInlineDirectionLineBounds):
2372         * rendering/RenderTableCaption.cpp:
2373         (WebCore::RenderTableCaption::willBeRemovedFromTree):
2374         * rendering/RenderTableCell.cpp:
2375         (WebCore::RenderTableCell::willBeRemovedFromTree):
2376         (WebCore::RenderTableCell::computePreferredLogicalWidths):
2377         (WebCore::RenderTableCell::offsetFromContainer):
2378         (WebCore::RenderTableCell::clippedOverflowRectForRepaint):
2379         (WebCore::RenderTableCell::computeRectForRepaint):
2380         (WebCore::RenderTableCell::styleDidChange):
2381         (WebCore::RenderTableCell::borderLeft):
2382         (WebCore::RenderTableCell::borderRight):
2383         (WebCore::RenderTableCell::borderTop):
2384         (WebCore::RenderTableCell::borderBottom):
2385         (WebCore::RenderTableCell::borderStart):
2386         (WebCore::RenderTableCell::borderEnd):
2387         (WebCore::RenderTableCell::borderBefore):
2388         (WebCore::RenderTableCell::borderAfter):
2389         (WebCore::RenderTableCell::paint):
2390         * rendering/RenderTextControl.cpp:
2391         (WebCore::RenderTextControl::styleDidChange):
2392         * rendering/RenderTextControlSingleLine.cpp:
2393         (WebCore::RenderTextControlSingleLine::scrollWidth):
2394         (WebCore::RenderTextControlSingleLine::scrollHeight):
2395         (WebCore::RenderTextControlSingleLine::scrollLeft):
2396         (WebCore::RenderTextControlSingleLine::scrollTop):
2397         (WebCore::RenderTextControlSingleLine::scroll):
2398         (WebCore::RenderTextControlSingleLine::logicalScroll):
2399         * rendering/RenderTextTrackCue.cpp:
2400         (WebCore::RenderTextTrackCue::layout):
2401         * rendering/RenderView.cpp:
2402         (WebCore::RenderView::layoutContent):
2403         (WebCore::RenderView::addChild):
2404         (WebCore::RenderView::visualOverflowRect):
2405         (WebCore::RenderView::styleDidChange):
2406         * rendering/svg/RenderSVGBlock.cpp:
2407         (WebCore::RenderSVGBlock::setStyle):
2408         (WebCore::RenderSVGBlock::updateFromStyle):
2409         (WebCore::RenderSVGBlock::willBeDestroyed):
2410         (WebCore::RenderSVGBlock::styleWillChange):
2411         (WebCore::RenderSVGBlock::styleDidChange):
2412         * rendering/svg/SVGTextQuery.cpp:
2413         (WebCore::flowBoxForRenderer):
2414
2415 2013-10-19  Sam Weinig  <sam@webkit.org>
2416
2417         Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 3)
2418         https://bugs.webkit.org/show_bug.cgi?id=122969
2419
2420         Reviewed by Andreas Kling.
2421
2422         - Move containsNonZeroBidiLevel to RenderBlockFlow.
2423
2424         * editing/Editor.cpp:
2425         (WebCore::Editor::hasBidiSelection):
2426         * rendering/RenderBlock.cpp:
2427         * rendering/RenderBlock.h:
2428         * rendering/RenderBlockFlow.cpp:
2429         (WebCore::RenderBlockFlow::containsNonZeroBidiLevel):
2430         * rendering/RenderBlockFlow.h:
2431
2432 2013-10-18  Sam Weinig  <sam@webkit.org>
2433
2434         Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 2)
2435         https://bugs.webkit.org/show_bug.cgi?id=122969
2436
2437         Reviewed by Antti Koivisto.
2438
2439         - Move truncation (e.g. line clamp and ellipse) support to RenderBlockFlow.
2440
2441         * rendering/EllipsisBox.cpp:
2442         (WebCore::EllipsisBox::EllipsisBox):
2443         (WebCore::EllipsisBox::paint):
2444         (WebCore::EllipsisBox::markupBox):
2445         (WebCore::EllipsisBox::selectionRect):
2446         (WebCore::EllipsisBox::paintSelection):
2447         (WebCore::EllipsisBox::nodeAtPoint):
2448         * rendering/EllipsisBox.h:
2449         * rendering/RenderBlock.cpp:
2450         * rendering/RenderBlock.h:
2451         * rendering/RenderBlockFlow.cpp:
2452         (WebCore::shouldCheckLines):
2453         (WebCore::RenderBlockFlow::lineAtIndex):
2454         (WebCore::RenderBlockFlow::lineCount):
2455         (WebCore::getHeightForLineCount):
2456         (WebCore::RenderBlockFlow::heightForLineCount):
2457         (WebCore::RenderBlockFlow::clearTruncation):
2458         * rendering/RenderBlockFlow.h:
2459         * rendering/RenderDeprecatedFlexibleBox.cpp:
2460         (WebCore::RenderDeprecatedFlexibleBox::applyLineClamp):
2461         (WebCore::RenderDeprecatedFlexibleBox::clearLineClamp):
2462         * rendering/RootInlineBox.cpp:
2463         (WebCore::RootInlineBox::placeEllipsis):
2464
2465 2013-10-19  Andreas Kling  <akling@apple.com>
2466
2467         StyleResolver should deal in PassRef<RenderStyle> where possible.
2468         <https://webkit.org/b/123061>
2469
2470         Make StyleResolver functions that returned or took RenderStyles
2471         by PassRefPtr use PassRef instead where possible.
2472
2473         Reviewed by Anders Carlsson.
2474
2475 2013-10-19  Brady Eidson  <beidson@apple.com>
2476
2477         Global rename of the class "IDBBackingStore" to "IDBBackingStoreLevelDB"
2478
2479         Rubberstamped by Anders Carlsson (And Andreas Kling wanted to, but he wasn’t around)
2480
2481         * Modules/indexeddb/IDBTransactionBackendInterface.h:
2482         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2483         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
2484         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
2485         * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.h:
2486         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
2487         * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.h:
2488         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
2489         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2490         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
2491         * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.h:
2492         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
2493         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.h:
2494         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.cpp:
2495         * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDBOperations.h:
2496
2497 2013-10-19  peavo@outlook.com  <peavo@outlook.com>
2498
2499         [WinCairo] Link fails.
2500         https://bugs.webkit.org/show_bug.cgi?id=123019
2501
2502         Reviewed by Darin Adler.
2503
2504         Added empty CertificateInfo implementation for Curl.
2505
2506         * WebCore.vcxproj/WebCore.vcxproj:
2507         * WebCore.vcxproj/WebCore.vcxproj.filters:
2508         * platform/network/curl/CertificateInfoCurl.cpp: Added.
2509         (WebCore::CertificateInfo::CertificateInfo):
2510         (WebCore::CertificateInfo::~CertificateInfo):
2511
2512 2013-10-19  Filip Pizlo  <fpizlo@apple.com>
2513
2514         libWebCoreTestSupport should have explicit exports
2515         https://bugs.webkit.org/show_bug.cgi?id=123053
2516
2517         Reviewed by Oliver Hunt.
2518
2519         No new tests because there is no change in behavior.
2520
2521         * Configurations/WebCoreTestSupport.xcconfig:
2522         * testing/js/WebCoreTestSupport.h:
2523
2524 2013-10-18  Andreas Kling  <akling@apple.com>
2525
2526         Start passing RenderStyle around with PassRef.
2527         <https://webkit.org/b/123051>
2528
2529         Made the RenderStyle::create methods return PassRef<RenderStyle>
2530         and RenderElement::setStyle take a PassRef<RenderStyle>.
2531
2532         Reviewed by Darin Adler.
2533
2534 2013-10-18  Sam Weinig  <sam@webkit.org>
2535
2536         Move m_lineBoxes from RenderBlock to RenderBlockFlow (Part 1)
2537         https://bugs.webkit.org/show_bug.cgi?id=122969
2538
2539         Reviewed by Dan Bernstein.
2540
2541         - Make the RootInlineBox constructor take a RenderBlockFlow.
2542         - Move createRootInlineBox, and createAndAppendRootInlineBox to RenderBlockFlow.
2543
2544         * editing/VisibleUnits.cpp:
2545         (WebCore::absoluteLineDirectionPointToLocalPointInBlock):
2546         * rendering/InlineBox.cpp:
2547         (WebCore::InlineBox::locationIncludingFlipping):
2548         (WebCore::InlineBox::flipForWritingMode):
2549         * rendering/InlineFlowBox.cpp:
2550         (WebCore::InlineFlowBox::placeBoxRangeInInlineDirection):
2551         * rendering/RenderBlock.cpp:
2552         * rendering/RenderBlock.h:
2553         * rendering/RenderBlockFlow.h:
2554         * rendering/RenderBlockLineLayout.cpp:
2555         (WebCore::RenderBlockFlow::createRootInlineBox):
2556         (WebCore::RenderBlockFlow::createAndAppendRootInlineBox):
2557         (WebCore::createInlineBoxForRenderer):
2558         (WebCore::RenderBlockFlow::createLineBoxes):
2559         * rendering/RenderBox.cpp:
2560         (WebCore::RenderBox::positionLineBox):
2561         * rendering/RenderListMarker.cpp:
2562         (WebCore::RenderListMarker::localSelectionRect):
2563         * rendering/RenderReplaced.cpp:
2564         (WebCore::RenderReplaced::localSelectionRect):
2565         * rendering/RootInlineBox.cpp:
2566         (WebCore::RootInlineBox::RootInlineBox):
2567         (WebCore::RootInlineBox::rendererLineBoxes):
2568         (WebCore::RootInlineBox::placeEllipsis):
2569         (WebCore::RootInlineBox::containingRegion):
2570         (WebCore::RootInlineBox::setContainingRegion):
2571         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
2572         (WebCore::RootInlineBox::beforeAnnotationsAdjustment):
2573         (WebCore::RootInlineBox::lineSnapAdjustment):
2574         (WebCore::RootInlineBox::lineSelectionGap):
2575         (WebCore::RootInlineBox::computeCaretRect):
2576         (WebCore::RootInlineBox::selectionTop):
2577         (WebCore::RootInlineBox::selectionTopAdjustedForPrecedingBlock):
2578         (WebCore::RootInlineBox::selectionBottom):
2579         (WebCore::RootInlineBox::blockDirectionPointInLine):
2580         (WebCore::RootInlineBox::blockFlow):
2581         (WebCore::RootInlineBox::closestLeafChildForPoint):
2582         (WebCore::RootInlineBox::removeLineBoxFromRenderObject):
2583         (WebCore::RootInlineBox::extractLineBoxFromRenderObject):
2584         (WebCore::RootInlineBox::attachLineBoxToRenderObject):
2585         * rendering/RootInlineBox.h:
2586         * rendering/TrailingFloatsRootInlineBox.h:
2587         * rendering/svg/RenderSVGText.h:
2588         (WebCore::toRenderSVGText):
2589         * rendering/svg/SVGRootInlineBox.cpp:
2590         (WebCore::SVGRootInlineBox::SVGRootInlineBox):
2591         (WebCore::SVGRootInlineBox::renderSVGText):
2592         (WebCore::SVGRootInlineBox::paint):
2593         (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
2594         (WebCore::SVGRootInlineBox::layoutRootBox):
2595         * rendering/svg/SVGRootInlineBox.h:
2596
2597 2013-10-18  Tim Horton  <timothy_horton@apple.com>
2598
2599         Remote Layer Tree: Double-buffering and minimization of repaints
2600         https://bugs.webkit.org/show_bug.cgi?id=123043
2601
2602         Reviewed by Simon Fraser.
2603
2604         No new tests, not yet testable.
2605
2606         * WebCore.exp.in:
2607         Export one version of drawLayerContents and Region::contains.
2608
2609         * WebCore.xcodeproj/project.pbxproj:
2610         Expose WebLayer.h as a private header.
2611
2612         * platform/graphics/mac/WebLayer.h:
2613         Clean up this header, and add a new drawLayerContents that can operate without a CALayer.
2614
2615         * platform/graphics/mac/WebLayer.mm:
2616         (WebCore::drawLayerContents):
2617         Split drawLayerContents into one method that acquires properties CALayer,
2618         and one that just does the painting.
2619
2620 2013-10-18  Anders Carlsson  <andersca@apple.com>
2621
2622         Try to fix the Lion build.
2623
2624         * bindings/objc/ObjCNodeFilterCondition.h:
2625
2626 2013-10-18  Daniel Bates  <dabates@apple.com>
2627
2628         [iOS] Upstream WebSafe{GCActivityCallback, IncrementalSweeper}IOS
2629         https://bugs.webkit.org/show_bug.cgi?id=123049
2630
2631         Reviewed by Mark Hahnenberg.
2632
2633         * WebCore.xcodeproj/project.pbxproj:
2634         * platform/ios/WebSafeGCActivityCallbackIOS.h: Added.
2635         * platform/ios/WebSafeIncrementalSweeperIOS.h: Added.
2636
2637 2013-10-18  Anders Carlsson  <andersca@apple.com>
2638
2639         Remove spaces between template angle brackets
2640         https://bugs.webkit.org/show_bug.cgi?id=123040
2641
2642         Reviewed by Andreas Kling.
2643
2644         * Modules/encryptedmedia/MediaKeySession.h:
2645         * Modules/encryptedmedia/MediaKeys.h:
2646         * Modules/geolocation/Geolocation.h:
2647         * Modules/geolocation/GeolocationController.cpp:
2648         (WebCore::GeolocationController::positionChanged):
2649         (WebCore::GeolocationController::errorOccurred):
2650         * Modules/geolocation/GeolocationController.h:
2651         * Modules/indexeddb/IDBCallbacks.h:
2652         * Modules/indexeddb/IDBDatabase.h:
2653         * Modules/indexeddb/IDBDatabaseBackendInterface.h:
2654         * Modules/indexeddb/IDBEventDispatcher.cpp:
2655         (WebCore::IDBEventDispatcher::dispatch):
2656         * Modules/indexeddb/IDBEventDispatcher.h:
2657         * Modules/indexeddb/IDBKey.h:
2658         * Modules/indexeddb/IDBObjectStore.h:
2659         * Modules/indexeddb/IDBPendingTransactionMonitor.cpp:
2660         * Modules/indexeddb/IDBRequest.cpp:
2661         (WebCore::IDBRequest::dispatchEvent):
2662         * Modules/indexeddb/IDBRequest.h:
2663         (WebCore::IDBRequest::onSuccessWithPrefetch):
2664         * Modules/indexeddb/IDBTransaction.cpp:
2665         (WebCore::IDBTransaction::dispatchEvent):
2666         * Modules/indexeddb/IDBTransaction.h:
2667         * Modules/mediacontrols/MediaControlsHost.cpp:
2668         (WebCore::MediaControlsHost::sortedTrackListForMenu):
2669         * Modules/mediacontrols/MediaControlsHost.h:
2670         * Modules/mediasource/MediaSource.cpp:
2671         (WebCore::MediaSource::activeRanges):
2672         * Modules/mediasource/MediaSource.h:
2673         * Modules/mediasource/MediaSourceBase.cpp:
2674         (WebCore::MediaSourceBase::buffered):
2675         * Modules/mediasource/MediaSourceBase.h:
2676         * Modules/mediasource/MediaSourceRegistry.cpp:
2677         (WebCore::MediaSourceRegistry::unregisterURL):
2678         * Modules/mediasource/MediaSourceRegistry.h:
2679         * Modules/mediasource/SourceBufferList.h:
2680         * Modules/mediasource/WebKitMediaSource.cpp:
2681         (WebCore::WebKitMediaSource::activeRanges):
2682         * Modules/mediasource/WebKitMediaSource.h:
2683         * Modules/mediasource/WebKitSourceBufferList.h:
2684         * Modules/mediastream/MediaStream.cpp:
2685         (WebCore::MediaStream::scheduledEventTimerFired):
2686         * Modules/mediastream/MediaStream.h:
2687         * Modules/mediastream/MediaStreamRegistry.h:
2688         * Modules/mediastream/MediaStreamTrack.h:
2689         * Modules/mediastream/RTCDTMFSender.cpp:
2690         (WebCore::RTCDTMFSender::scheduledEventTimerFired):
2691         * Modules/mediastream/RTCDTMFSender.h:
2692         * Modules/mediastream/RTCDataChannel.cpp:
2693         (WebCore::RTCDataChannel::scheduledEventTimerFired):
2694         * Modules/mediastream/RTCDataChannel.h:
2695         * Modules/mediastream/RTCPeerConnection.cpp:
2696         (WebCore::RTCPeerConnection::stop):
2697         (WebCore::RTCPeerConnection::scheduledEventTimerFired):
2698         * Modules/mediastream/RTCPeerConnection.h:
2699         * Modules/mediastream/RTCStatsResponse.h:
2700         (WebCore::RTCStatsResponse::result):
2701         * Modules/notifications/Notification.h:
2702         * Modules/notifications/NotificationCenter.h:
2703         * Modules/speech/SpeechSynthesis.cpp:
2704         (WebCore::SpeechSynthesis::getVoices):
2705         * Modules/speech/SpeechSynthesis.h:
2706         * Modules/webaudio/AudioBuffer.h:
2707         * Modules/webaudio/AudioNode.h:
2708         * Modules/webaudio/AudioNodeOutput.h:
2709         * Modules/webaudio/MediaStreamAudioSource.cpp:
2710         (WebCore::MediaStreamAudioSource::setAudioFormat):
2711         (WebCore::MediaStreamAudioSource::consumeAudio):
2712         * Modules/webaudio/PeriodicWave.h:
2713         * Modules/webaudio/ScriptProcessorNode.h:
2714         * Modules/webdatabase/AbstractDatabaseServer.h:
2715         * Modules/webdatabase/DatabaseBackend.h:
2716         * Modules/webdatabase/DatabaseManager.cpp:
2717         (WebCore::DatabaseManager::origins):
2718         * Modules/webdatabase/DatabaseManager.h:
2719         * Modules/webdatabase/DatabaseServer.cpp:
2720         (WebCore::DatabaseServer::origins):
2721         * Modules/webdatabase/DatabaseServer.h:
2722         * Modules/webdatabase/DatabaseThread.h:
2723         * Modules/webdatabase/DatabaseTracker.cpp:
2724         (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
2725         (WebCore::DatabaseTracker::origins):
2726         (WebCore::DatabaseTracker::getOpenDatabases):
2727         (WebCore::DatabaseTracker::deleteAllDatabases):
2728         (WebCore::DatabaseTracker::deleteDatabaseFile):
2729         * Modules/webdatabase/DatabaseTracker.h:
2730         * Modules/webdatabase/SQLStatementBackend.cpp:
2731         * Modules/webdatabase/SQLTransactionBackend.cpp:
2732         * Modules/webdatabase/SQLTransactionBackend.h:
2733         * Modules/webdatabase/SQLTransactionCoordinator.cpp:
2734         (WebCore::SQLTransactionCoordinator::shutdown):
2735         * Modules/webdatabase/SQLTransactionCoordinator.h:
2736         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
2737         (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
2738         (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
2739         (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback):
2740         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
2741         * Modules/websockets/WebSocket.cpp:
2742         (WebCore::WebSocket::didReceiveBinaryData):
2743         * Modules/websockets/WebSocket.h:
2744         * Modules/websockets/WebSocketChannel.cpp:
2745         (WebCore::WebSocketChannel::processFrame):
2746         * Modules/websockets/WebSocketChannel.h:
2747         * Modules/websockets/WebSocketChannelClient.h:
2748         (WebCore::WebSocketChannelClient::didReceiveBinaryData):
2749         * Modules/websockets/WebSocketExtensionDispatcher.h:
2750         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
2751         (WebCore::workerGlobalScopeDidReceiveBinaryData):
2752         (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
2753         (WebCore::WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer):
2754         (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
2755         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
2756         * accessibility/AXObjectCache.cpp:
2757         (WebCore::AXObjectCache::~AXObjectCache):
2758         * accessibility/AXObjectCache.h:
2759         * accessibility/AccessibilityNodeObject.cpp:
2760         (WebCore::AccessibilityNodeObject::ariaLabeledByText):
2761         * accessibility/AccessibilityObject.h:
2762         (WebCore::AccessibilityText::AccessibilityText):
2763         * bindings/js/DOMWrapperWorld.h:
2764         * bindings/js/JSDOMBinding.h:
2765         (WebCore::toRefPtrNativeArray):
2766         * bindings/js/JSDOMGlobalObject.h:
2767         * bindings/js/JSMutationCallback.cpp:
2768         (WebCore::JSMutationCallback::call):
2769         * bindings/js/JSMutationCallback.h:
2770         * bindings/js/JSWebGLRenderingContextCustom.cpp:
2771         (WebCore::JSWebGLRenderingContext::getAttachedShaders):
2772         * bindings/js/PageScriptDebugServer.h:
2773         * bindings/js/ScheduledAction.h:
2774         * bindings/js/ScriptController.cpp:
2775         (WebCore::ScriptController::collectIsolatedContexts):
2776         * bindings/js/ScriptController.h:
2777         * bindings/js/ScriptDebugServer.h:
2778         * bindings/js/ScriptProfile.cpp:
2779         (WebCore::buildInspectorObjectFor):
2780         * bindings/objc/ObjCNodeFilterCondition.h:
2781         * bridge/objc/objc_class.h:
2782         * bridge/runtime_root.cpp:
2783         (JSC::Bindings::RootObject::invalidate):
2784         * bridge/runtime_root.h:
2785         * css/BasicShapeFunctions.cpp:
2786         (WebCore::basicShapeForValue):
2787         * css/CSSBasicShapes.h:
2788         (WebCore::CSSBasicShapePolygon::values):
2789         * css/CSSComputedStyleDeclaration.cpp:
2790         (WebCore::ComputedStyleExtractor::valueForFilter):
2791         * css/CSSFontFace.h:
2792         * css/CSSFontFaceSource.h:
2793         * css/CSSFontSelector.cpp:
2794         (WebCore::CSSFontSelector::addFontFaceRule):
2795         (WebCore::CSSFontSelector::getFontFace):
2796         (WebCore::CSSFontSelector::beginLoadTimerFired):
2797         * css/CSSFontSelector.h:
2798         * css/CSSGroupingRule.h:
2799         * css/CSSImageGeneratorValue.h:
2800         * css/CSSParserValues.cpp:
2801         (WebCore::CSSParserSelector::adoptSelectorVector):
2802         * css/CSSParserValues.h:
2803         * css/CSSPropertySourceData.h:
2804         * css/CSSRuleList.h:
2805         (WebCore::StaticCSSRuleList::rules):
2806         * css/CSSSegmentedFontFace.cpp:
2807         (WebCore::CSSSegmentedFontFace::fontLoaded):
2808         * css/CSSSegmentedFontFace.h:
2809         * css/CSSSelectorList.cpp:
2810         (WebCore::CSSSelectorList::adoptSelectorVector):
2811         * css/CSSSelectorList.h:
2812         * css/CSSStyleSheet.h:
2813         * css/CSSValue.h:
2814         (WebCore::compareCSSValueVector):
2815         * css/CSSValuePool.h:
2816         * css/DocumentRuleSets.cpp:
2817         (WebCore::DocumentRuleSets::collectRulesFromUserStyleSheets):
2818         (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
2819         * css/DocumentRuleSets.h:
2820         * css/ElementRuleCollector.cpp:
2821         (WebCore::ElementRuleCollector::matchedRuleList):
2822         * css/ElementRuleCollector.h:
2823         * css/FontLoader.h:
2824         * css/InspectorCSSOMWrappers.cpp:
2825         (WebCore::InspectorCSSOMWrappers::collectFromStyleSheetContents):
2826         (WebCore::InspectorCSSOMWrappers::collectFromStyleSheets):
2827         * css/InspectorCSSOMWrappers.h:
2828         * css/MediaList.cpp:
2829         (WebCore::MediaQuerySet::parse):
2830         (WebCore::MediaList::item):
2831         (WebCore::reportMediaQueryWarningIfNeeded):
2832         * css/MediaList.h:
2833         (WebCore::MediaQuerySet::queryVector):
2834         * css/MediaQueryEvaluator.cpp:
2835         (WebCore::MediaQueryEvaluator::eval):
2836         * css/MediaQueryMatcher.h:
2837         * css/PropertySetCSSStyleDeclaration.cpp:
2838         (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
2839         * css/PropertySetCSSStyleDeclaration.h:
2840         * css/RuleSet.cpp:
2841         (WebCore::RuleSet::addToRuleSet):
2842         (WebCore::RuleSet::addRegionRule):
2843         (WebCore::RuleSet::addChildRules):
2844         (WebCore::RuleSet::addRulesFromSheet):
2845         * css/RuleSet.h:
2846         * css/SelectorFilter.h:
2847         * css/StyleInvalidationAnalysis.cpp:
2848         (WebCore::StyleInvalidationAnalysis::analyzeStyleSheet):
2849         * css/StylePropertySet.cpp:
2850         (WebCore::StylePropertySet::getLayeredShorthandValue):
2851         * css/StyleResolver.cpp:
2852         (WebCore::StyleResolver::appendAuthorStyleSheets):
2853         (WebCore::StyleResolver::keyframeStylesForAnimation):
2854         (WebCore::StyleResolver::styleRulesForElement):
2855         (WebCore::StyleResolver::pseudoStyleRulesForElement):
2856         (WebCore::StyleResolver::resolveVariables):
2857         (WebCore::StyleResolver::applyProperty):
2858         (WebCore::StyleResolver::loadPendingSVGDocuments):
2859         (WebCore::StyleResolver::loadPendingShaders):
2860         * css/StyleResolver.h:
2861         * css/StyleRule.cpp:
2862         (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
2863         (WebCore::StyleRuleGroup::StyleRuleGroup):
2864         (WebCore::StyleRuleMedia::StyleRuleMedia):
2865         (WebCore::StyleRuleSupports::StyleRuleSupports):
2866         (WebCore::StyleRuleRegion::StyleRuleRegion):
2867         * css/StyleRule.h:
2868         (WebCore::StyleRule::parserAdoptSelectorVector):
2869         (WebCore::StyleRulePage::parserAdoptSelectorVector):
2870         (WebCore::StyleRuleGroup::childRules):
2871         (WebCore::StyleRuleMedia::create):
2872         (WebCore::StyleRuleSupports::create):
2873         (WebCore::StyleRuleRegion::create):
2874         (WebCore::StyleRuleHost::create):
2875         (WebCore::StyleRuleHost::StyleRuleHost):
2876         * css/StyleScopeResolver.h:
2877         * css/StyleSheetContents.cpp:
2878         (WebCore::StyleSheetContents::parserAppendRule):
2879         (WebCore::childRulesHaveFailedOrCanceledSubresources):
2880         * css/StyleSheetContents.h:
2881         (WebCore::StyleSheetContents::childRules):
2882         (WebCore::StyleSheetContents::importRules):
2883         * css/StyleSheetList.cpp:
2884         (WebCore::StyleSheetList::styleSheets):
2885         (WebCore::StyleSheetList::item):
2886         * css/StyleSheetList.h:
2887         * css/WebKitCSSKeyframesRule.h:
2888         (WebCore::StyleRuleKeyframes::keyframes):
2889         * dom/CheckedRadioButtons.h:
2890         * dom/ClientRectList.h:
2891         * dom/ContainerNode.h:
2892         (WebCore::ChildNodesLazySnapshot::nextNode):
2893         (WebCore::ChildNodesLazySnapshot::takeSnapshot):
2894         * dom/CrossThreadTask.h:
2895         * dom/Document.cpp:
2896         (WebCore::Document::webkitCancelFullScreen):
2897         (WebCore::Document::webkitExitFullscreen):
2898         (WebCore::Document::fullScreenChangeDelayTimerFired):
2899         (WebCore::Document::didAssociateFormControlsTimerFired):
2900         * dom/Document.h:
2901         * dom/DocumentMarkerController.cpp:
2902         (WebCore::DocumentMarkerController::removeMarkers):
2903         * dom/DocumentMarkerController.h:
2904         * dom/DocumentStyleSheetCollection.cpp:
2905         (WebCore::DocumentStyleSheetCollection::injectedUserStyleSheets):
2906         (WebCore::DocumentStyleSheetCollection::injectedAuthorStyleSheets):
2907         (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
2908         (WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange):
2909         (WebCore::styleSheetsUseRemUnits):
2910         (WebCore::filterEnabledNonemptyCSSStyleSheets):
2911         (WebCore::collectActiveCSSStyleSheetsFromSeamlessParents):
2912         (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
2913         * dom/DocumentStyleSheetCollection.h:
2914         * dom/Element.cpp:
2915         (WebCore::Element::attrNodeList):
2916         (WebCore::Element::webkitGetRegionFlowRanges):
2917         * dom/Element.h:
2918         * dom/EventListenerMap.h:
2919         * dom/EventSender.h:
2920         (WebCore::EventSender::timerFired):
2921         * dom/IdTargetObserverRegistry.h:
2922         * dom/MutationCallback.h:
2923         * dom/MutationObserver.cpp:
2924         (WebCore::MutationObserver::takeRecords):
2925         (WebCore::MutationObserver::deliver):
2926         (WebCore::MutationObserver::deliverAllMutations):
2927         * dom/MutationObserver.h:
2928         * dom/MutationObserverRegistration.h:
2929         * dom/NamedFlowCollection.cpp:
2930         (WebCore::NamedFlowCollection::namedFlows):
2931         * dom/NamedFlowCollection.h:
2932         * dom/Node.cpp:
2933         (WebCore::Node::didMoveToNewDocument):
2934         (WebCore::Node::mutationObserverRegistry):
2935         (WebCore::Node::registerMutationObserver):
2936         (WebCore::Node::unregisterMutationObserver):
2937         (WebCore::Node::notifyMutationObserversNodeWillDetach):
2938         * dom/Node.h:
2939         * dom/NodeRareData.h:
2940         * dom/Range.cpp:
2941         (WebCore::Range::processContents):
2942         (WebCore::Range::processNodes):
2943         (WebCore::Range::processAncestorsAndTheirSiblings):
2944         * dom/Range.h:
2945         * dom/ScopedEventQueue.h:
2946         * dom/ScriptExecutionContext.cpp:
2947         (WebCore::ScriptExecutionContext::reportException):
2948         * dom/ScriptExecutionContext.h:
2949         * dom/ScriptedAnimationController.h:
2950         * editing/ApplyStyleCommand.cpp:
2951         (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
2952         * editing/BreakBlockquoteCommand.cpp:
2953         (WebCore::BreakBlockquoteCommand::doApply):
2954         * editing/CompositeEditCommand.cpp:
2955         (WebCore::CompositeEditCommand::removeChildrenInRange):
2956         (WebCore::CompositeEditCommand::deleteInsignificantText):
2957         (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
2958         * editing/CompositeEditCommand.h:
2959         * editing/EditingStyle.cpp:
2960         (WebCore::htmlElementEquivalents):
2961         (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement):
2962         (WebCore::htmlAttributeEquivalents):
2963         (WebCore::EditingStyle::conflictsWithImplicitStyleOfAttributes):
2964         (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes):
2965         (WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent):
2966         (WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement):
2967         (WebCore::styleFromMatchedRulesForElement):
2968         * editing/Editor.cpp:
2969         (WebCore::Editor::countMatchesForText):
2970         * editing/Editor.h:
2971         * editing/InsertParagraphSeparatorCommand.cpp:
2972         (WebCore::InsertParagraphSeparatorCommand::getAncestorsInsideBlock):
2973         (WebCore::InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock):
2974         (WebCore::InsertParagraphSeparatorCommand::doApply):
2975         * editing/InsertParagraphSeparatorCommand.h:
2976         * editing/MergeIdenticalElementsCommand.cpp:
2977         (WebCore::MergeIdenticalElementsCommand::doApply):
2978         (WebCore::MergeIdenticalElementsCommand::doUnapply):
2979         * editing/RemoveNodePreservingChildrenCommand.cpp:
2980         (WebCore::RemoveNodePreservingChildrenCommand::doApply):
2981         * editing/ReplaceSelectionCommand.cpp:
2982         (WebCore::ReplacementFragment::removeUnrenderedNodes):
2983         * editing/SimplifyMarkupCommand.cpp:
2984         (WebCore::SimplifyMarkupCommand::doApply):
2985         (WebCore::SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove):
2986         * editing/SimplifyMarkupCommand.h:
2987         * editing/SpellChecker.h:
2988         * editing/SplitElementCommand.cpp:
2989         (WebCore::SplitElementCommand::executeApply):
2990         (WebCore::SplitElementCommand::doUnapply):
2991         * editing/WrapContentsInDummySpanCommand.cpp:
2992         (WebCore::WrapContentsInDummySpanCommand::executeApply):
2993         (WebCore::WrapContentsInDummySpanCommand::doUnapply):
2994         * editing/mac/AlternativeTextUIController.h:
2995         * fileapi/FileList.h:
2996         * history/BackForwardList.h:
2997         * history/HistoryItem.cpp:
2998         (WebCore::HistoryItem::setRedirectURLs):
2999         * history/HistoryItem.h:
3000         * history/mac/HistoryItemMac.mm:
3001         (WebCore::HistoryItem::setTransientProperty):
3002         * html/FormController.h:
3003         * html/HTMLAnchorElement.cpp:
3004         * html/HTMLCollection.cpp:
3005         (WebCore::HTMLCollection::append):
3006         * html/HTMLCollection.h:
3007         * html/HTMLFormControlElement.cpp:
3008         (WebCore::HTMLFormControlElement::checkValidity):
3009         * html/HTMLFormControlElement.h:
3010         * html/HTMLFormElement.cpp:
3011         (WebCore::HTMLFormElement::validateInteractively):
3012         (WebCore::HTMLFormElement::checkValidity):
3013         (WebCore::HTMLFormElement::checkInvalidControlsAndCollectUnhandled):
3014         * html/HTMLFormElement.h:
3015         * html/HTMLMediaElement.cpp:
3016         (WebCore::HTMLMediaElement::updateActiveTextTrackCues):
3017         (WebCore::HTMLMediaElement::platformTextTracks):
3018         (WebCore::HTMLMediaElement::configureTextTrackGroup):
3019         * html/HTMLMediaElement.h:
3020         * html/HTMLPlugInImageElement.cpp:
3021         * html/HTMLSelectElement.cpp:
3022         (WebCore::HTMLSelectElement::setLength):
3023         * html/MediaController.cpp:
3024         (MediaController::asyncEventTimerFired):
3025         * html/MediaController.h:
3026         * html/MediaFragmentURIParser.h:
3027         * html/ValidationMessage.h:
3028         * html/canvas/WebGLFramebuffer.h:
3029         * html/canvas/WebGLRenderingContext.cpp:
3030         (WebCore::WebGLRenderingContext::getAttachedShaders):
3031         * html/canvas/WebGLRenderingContext.h:
3032         * html/canvas/WebGLTexture.h:
3033         * html/parser/BackgroundHTMLParser.cpp:
3034         (WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
3035         * html/parser/BackgroundHTMLParser.h:
3036         (WebCore::BackgroundHTMLParser::create):
3037         * html/parser/HTMLDocumentParser.cpp:
3038         (WebCore::HTMLDocumentParser::startBackgroundParser):
3039         * html/parser/HTMLDocumentParser.h:
3040         * html/parser/HTMLMetaCharsetParser.h:
3041         * html/parser/HTMLPreloadScanner.cpp:
3042         (WebCore::TokenPreloadScanner::scan):
3043         (WebCore::TokenPreloadScanner::scanCommon):
3044         * html/parser/HTMLResourcePreloader.h:
3045         * html/parser/XSSAuditor.h:
3046         * html/shadow/ContentDistributor.cpp:
3047         (WebCore::ContentDistributor::ensureInsertionPointList):
3048         (WebCore::ContentDistributor::distribute):
3049         (WebCore::ContentDistributor::invalidate):
3050         * html/shadow/ContentDistributor.h:
3051         * html/shadow/MediaControlElements.cpp:
3052         (WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu):
3053         (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
3054         * html/shadow/MediaControlElements.h:
3055         * html/track/InbandGenericTextTrack.h:
3056         * html/track/InbandWebVTTTextTrack.cpp:
3057         (WebCore::InbandWebVTTTextTrack::newCuesParsed):
3058         * html/track/LoadableTextTrack.cpp:
3059         (WebCore::LoadableTextTrack::newCuesAvailable):
3060         (WebCore::LoadableTextTrack::newRegionsAvailable):
3061         * html/track/TextTrackCueList.h:
3062         * html/track/TextTrackList.cpp:
3063         (TextTrackList::invalidateTrackIndexesAfterTrack):
3064         (TextTrackList::remove):
3065         (TextTrackList::contains):
3066         * html/track/TextTrackList.h:
3067         * html/track/TrackListBase.cpp:
3068         (TrackListBase::asyncEventTimerFired):
3069         * html/track/TrackListBase.h:
3070         * html/track/WebVTTParser.cpp:
3071         (WebCore::WebVTTParser::getNewCues):
3072         (WebCore::WebVTTParser::getNewRegions):
3073         * html/track/WebVTTParser.h:
3074         * inspector/ConsoleMessage.cpp:
3075         (WebCore::ConsoleMessage::addToFrontend):
3076         * inspector/ContentSearchUtils.cpp:
3077         (WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines):
3078         (WebCore::ContentSearchUtils::lineEndings):
3079         (WebCore::ContentSearchUtils::searchInTextByLines):
3080         * inspector/ContentSearchUtils.h:
3081         * inspector/DOMPatchSupport.cpp:
3082         (WebCore::DOMPatchSupport::patchNode):
3083         (WebCore::DOMPatchSupport::diff):
3084         (WebCore::DOMPatchSupport::innerPatchChildren):
3085         * inspector/DOMPatchSupport.h:
3086         * inspector/InjectedScript.cpp:
3087         (WebCore::InjectedScript::getProperties):
3088         (WebCore::InjectedScript::getInternalProperties):
3089         (WebCore::InjectedScript::wrapCallFrames):
3090         * inspector/InjectedScript.h:
3091         * inspector/InjectedScriptHost.h:
3092         * inspector/InspectorAgent.cpp:
3093         (WebCore::InspectorAgent::enable):
3094         * inspector/InspectorApplicationCacheAgent.cpp:
3095         (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
3096         (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
3097         * inspector/InspectorApplicationCacheAgent.h:
3098         * inspector/InspectorBaseAgent.h:
3099         * inspector/InspectorCSSAgent.cpp:
3100         (WebCore::SelectorProfile::toInspectorObject):
3101         (WebCore::UpdateRegionLayoutTask::onTimer):
3102         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
3103         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
3104         (WebCore::InspectorCSSAgent::getAllStyleSheets):
3105         (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
3106         (WebCore::InspectorCSSAgent::getNamedFlowCollection):
3107         (WebCore::InspectorCSSAgent::buildArrayForRuleList):
3108         (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
3109         (WebCore::InspectorCSSAgent::buildArrayForRegions):
3110         (WebCore::InspectorCSSAgent::buildObjectForNamedFlow):
3111         * inspector/InspectorCSSAgent.h:
3112         * inspector/InspectorConsoleAgent.h:
3113         * inspector/InspectorDOMAgent.cpp:
3114         (WebCore::RevalidateStyleAttributeTask::onTimer):
3115         (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
3116         (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
3117         (WebCore::InspectorDOMAgent::getEventListenersForNode):
3118         (WebCore::InspectorDOMAgent::performSearch):
3119         (WebCore::InspectorDOMAgent::getSearchResults):
3120         (WebCore::InspectorDOMAgent::getAttributes):
3121         (WebCore::InspectorDOMAgent::buildObjectForNode):
3122         (WebCore::InspectorDOMAgent::buildArrayForElementAttributes):
3123         (WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
3124         (WebCore::InspectorDOMAgent::styleAttributeInvalidated):
3125         * inspector/InspectorDOMAgent.h:
3126         * inspector/InspectorDOMStorageAgent.cpp:
3127         (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
3128         * inspector/InspectorDOMStorageAgent.h:
3129         * inspector/InspectorDatabaseAgent.cpp:
3130         (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
3131         * inspector/InspectorDatabaseAgent.h:
3132         * inspector/InspectorDebuggerAgent.cpp:
3133         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
3134         (WebCore::InspectorDebuggerAgent::searchInContent):
3135         (WebCore::InspectorDebuggerAgent::setScriptSource):
3136         (WebCore::InspectorDebuggerAgent::currentCallFrames):
3137         * inspector/InspectorDebuggerAgent.h:
3138         * inspector/InspectorHeapProfilerAgent.cpp:
3139         (WebCore::InspectorHeapProfilerAgent::getProfileHeaders):
3140         * inspector/InspectorHeapProfilerAgent.h:
3141         * inspector/InspectorHistory.h:
3142         * inspector/InspectorIndexedDBAgent.cpp:
3143         * inspector/InspectorLayerTreeAgent.cpp:
3144         (WebCore::InspectorLayerTreeAgent::layersForNode):
3145         (WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderObjectHierarchy):
3146         (WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderLayerHierarchy):
3147         * inspector/InspectorLayerTreeAgent.h:
3148         * inspector/InspectorMemoryAgent.h:
3149         * inspector/InspectorPageAgent.cpp:
3150         (WebCore::buildArrayForCookies):
3151         (WebCore::InspectorPageAgent::getCookies):
3152         (WebCore::InspectorPageAgent::searchInResource):
3153         (WebCore::InspectorPageAgent::searchInResources):
3154         (WebCore::InspectorPageAgent::buildObjectForFrameTree):
3155         * inspector/InspectorPageAgent.h:
3156         * inspector/InspectorProfilerAgent.cpp:
3157         (WebCore::InspectorProfilerAgent::getProfileHeaders):
3158         * inspector/InspectorProfilerAgent.h:
3159         * inspector/InspectorResourceAgent.h:
3160         * inspector/InspectorRuntimeAgent.cpp:
3161         (WebCore::InspectorRuntimeAgent::getProperties):
3162         * inspector/InspectorRuntimeAgent.h:
3163         * inspector/InspectorState.h:
3164         * inspector/InspectorStyleSheet.cpp:
3165         (WebCore::asCSSRuleList):
3166         (WebCore::InspectorStyle::buildArrayForComputedStyle):
3167         (WebCore::InspectorStyle::styleWithProperties):
3168         (WebCore::selectorsFromSource):
3169         (WebCore::InspectorStyleSheet::buildObjectForSelectorList):
3170         (WebCore::InspectorStyleSheet::buildObjectForRule):
3171         (WebCore::InspectorStyleSheet::lineEndings):
3172         (WebCore::InspectorStyleSheet::buildArrayForRuleList):
3173         (WebCore::InspectorStyleSheetForInlineStyle::lineEndings):
3174         * inspector/InspectorStyleSheet.h:
3175         * inspector/InspectorValues.cpp:
3176         (WebCore::InspectorArrayBase::writeJSON):
3177         * inspector/InspectorValues.h:
3178         * inspector/PageRuntimeAgent.cpp:
3179         (WebCore::PageRuntimeAgent::reportExecutionContextCreation):
3180         * inspector/ScriptCallStack.cpp:
3181         (WebCore::ScriptCallStack::buildInspectorArray):
3182         * inspector/ScriptCallStack.h:
3183         * loader/CrossOriginPreflightResultCache.h:
3184         * loader/DocumentLoader.cpp:
3185         (WebCore::cancelAll):
3186         (WebCore::setAllDefersLoading):
3187         (WebCore::DocumentLoader::getSubresources):
3188         * loader/DocumentLoader.h:
3189         * loader/FormState.h:
3190         * loader/FormSubmission.cpp:
3191         (WebCore::FormSubmission::create):
3192         * loader/ProgressTracker.h:
3193         * loader/ResourceLoadScheduler.h:
3194         * loader/TextTrackLoader.cpp:
3195         (WebCore::TextTrackLoader::getNewCues):
3196         (WebCore::TextTrackLoader::getNewRegions):
3197         * loader/TextTrackLoader.h:
3198         * loader/WorkerThreadableLoader.cpp:
3199         (WebCore::workerGlobalScopeDidReceiveData):
3200         (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
3201         * loader/appcache/ApplicationCache.cpp:
3202         (WebCore::ApplicationCache::removeResource):
3203         (WebCore::ApplicationCache::dump):
3204         * loader/appcache/ApplicationCache.h:
3205         * loader/appcache/ApplicationCacheStorage.cpp:
3206         (WebCore::ApplicationCacheStorage::getOriginsWithCache):
3207         * loader/archive/Archive.cpp:
3208         (WebCore::Archive::clearAllSubframeArchives):
3209         (WebCore::Archive::clearAllSubframeArchivesImpl):
3210         * loader/archive/Archive.h:
3211         (WebCore::Archive::subresources):
3212         (WebCore::Archive::subframeArchives):
3213         * loader/archive/ArchiveResourceCollection.cpp:
3214         (WebCore::ArchiveResourceCollection::addAllResources):
3215         * loader/archive/ArchiveResourceCollection.h:
3216         * loader/archive/cf/LegacyWebArchive.cpp:
3217         (WebCore::LegacyWebArchive::createPropertyListRepresentation):
3218         (WebCore::LegacyWebArchive::create):
3219         (WebCore::LegacyWebArchive::createFromSelection):
3220         * loader/archive/cf/LegacyWebArchive.h:
3221         * loader/archive/mhtml/MHTMLParser.h:
3222         * loader/cache/CachedResource.h:
3223         * loader/cache/CachedResourceLoader.h:
3224         * loader/cache/MemoryCache.h:
3225         * loader/icon/IconDatabase.cpp:
3226         (WebCore::IconDatabase::notifyPendingLoadDecisions):
3227         * loader/icon/IconDatabase.h:
3228         * page/CaptionUserPreferencesMediaAF.cpp:
3229         (WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu):
3230         * page/CaptionUserPreferencesMediaAF.h:
3231         * page/ChromeClient.h:
3232         (WebCore::ChromeClient::didAssociateFormControls):
3233         * page/Console.h:
3234         * page/ContentSecurityPolicy.h:
3235         * page/DOMWindow.cpp:
3236         (WebCore::DOMWindow::getMatchedCSSRules):
3237         * page/DeviceController.cpp:
3238         (WebCore::DeviceController::dispatchDeviceEvent):
3239         (WebCore::DeviceController::fireDeviceEvent):
3240         * page/DeviceController.h:
3241         * page/EditorClient.h:
3242         * page/EventHandler.cpp:
3243         (WebCore::EventHandler::handleTouchEvent):
3244         * page/EventHandler.h:
3245         * page/FrameView.cpp:
3246         (WebCore::FrameView::serviceScriptedAnimations):
3247         * page/Page.cpp:
3248         (WebCore::Page::findStringMatchingRanges):
3249         * page/Page.h:
3250         * page/PageGroup.h:
3251         * page/Performance.cpp:
3252         (WebCore::Performance::webkitGetEntriesByType):
3253         (WebCore::Performance::webkitGetEntriesByName):
3254         * page/Performance.h:
3255         * page/PerformanceEntryList.cpp:
3256         (WebCore::PerformanceEntryList::appendAll):
3257         * page/PerformanceEntryList.h:
3258         * page/SecurityOriginHash.h:
3259         * page/SecurityPolicy.cpp:
3260         * page/SpeechInputResult.h:
3261         * page/animation/AnimationController.cpp:
3262         (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
3263         * page/animation/AnimationControllerPrivate.h:
3264         * page/animation/CSSPropertyAnimation.cpp:
3265         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
3266         * page/animation/CompositeAnimation.h:
3267         * page/scrolling/ScrollingStateNode.cpp:
3268         (WebCore::ScrollingStateNode::appendChild):
3269         * page/scrolling/ScrollingStateNode.h:
3270         (WebCore::ScrollingStateNode::children):
3271         * page/scrolling/ScrollingThread.cpp:
3272         (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
3273         * page/scrolling/ScrollingThread.h:
3274         * page/scrolling/ScrollingTree.cpp:
3275         (WebCore::ScrollingTree::updateTreeFromStateNode):
3276         * page/scrolling/ScrollingTreeNode.cpp:
3277         (WebCore::ScrollingTreeNode::appendChild):
3278         * page/scrolling/ScrollingTreeNode.h:
3279         * page/scrolling/mac/ScrollingCoordinatorMac.mm:
3280         (WebCore::ScrollingCoordinatorMac::syncChildPositions):
3281         * platform/CrossThreadCopier.cpp:
3282         * platform/CrossThreadCopier.h:
3283         * platform/DragData.h:
3284         * platform/MainThreadTask.h:
3285         * platform/PODFreeListArena.h:
3286         (WebCore::PODFreeListArena::freeObject):
3287         (WebCore::PODFreeListArena::allocate):
3288         * platform/PODIntervalTree.h:
3289         * platform/PODRedBlackTree.h:
3290         (WebCore::PODRedBlackTree::PODRedBlackTree):
3291         * platform/PlatformSpeechSynthesizer.cpp:
3292         (WebCore::PlatformSpeechSynthesizer::voiceList):
3293         * platform/PlatformSpeechSynthesizer.h:
3294         * platform/RunLoop.h:
3295         * platform/ScrollView.cpp:
3296         (WebCore::ScrollView::frameRectsChanged):
3297         (WebCore::ScrollView::clipRectChanged):
3298         (WebCore::ScrollView::setParentVisible):
3299         (WebCore::ScrollView::show):
3300         (WebCore::ScrollView::hide):
3301         * platform/ScrollView.h:
3302         * platform/SharedBuffer.h:
3303         * platform/Supplementable.h:
3304         (WebCore::Supplement::provideTo):
3305         (WebCore::Supplementable::provideSupplement):
3306         * platform/URL.cpp:
3307         (WebCore::findHostnamesInMailToURL):
3308         (WebCore::encodeHostnames):
3309         * platform/audio/AudioBus.h:
3310         * platform/audio/AudioDSPKernelProcessor.h:
3311         * platform/audio/AudioResampler.h:
3312         * platform/audio/DynamicsCompressor.h:
3313         * platform/audio/DynamicsCompressorKernel.h:
3314         * platform/audio/HRTFDatabase.h:
3315         * platform/audio/HRTFKernel.h:
3316         * platform/audio/MultiChannelResampler.h:
3317         * platform/audio/Reverb.h:
3318         * platform/audio/ReverbConvolver.h:
3319         * platform/cf/SharedBufferCF.cpp:
3320         (WebCore::SharedBuffer::copyBufferAndClear):
3321         (WebCore::SharedBuffer::copySomeDataFromDataArray):
3322         * platform/graphics/FloatPolygon.cpp:
3323         (WebCore::FloatPolygon::FloatPolygon):
3324         * platform/graphics/FloatPolygon.h:
3325         * platform/graphics/FontCache.cpp:
3326         (WebCore::FontCache::getCachedFontData):
3327         (WebCore::FontCache::purgeInactiveFontData):
3328         * platform/graphics/GlyphMetricsMap.h:
3329         (WebCore::::locatePageSlowCase):
3330         * platform/graphics/GlyphPageTreeNode.h:
3331         * platform/graphics/GraphicsContext3D.h:
3332         * platform/graphics/GraphicsLayer.cpp:
3333         * platform/graphics/GraphicsLayer.h:
3334         * platform/graphics/PlatformTextTrackMenu.h:
3335         * platform/graphics/SimpleFontData.h:
3336         * platform/graphics/WidthCache.h:
3337         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
3338         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
3339         (WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks):
3340         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
3341         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
3342         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
3343         (WebCore::MediaPlayerPrivateAVFoundationObjC::processLegacyClosedCaptionsTracks):
3344         (WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions):
3345         * platform/graphics/ca/GraphicsLayerCA.cpp:
3346         (WebCore::GraphicsLayerCA::setFilterAnimationKeyframes):
3347         (WebCore::GraphicsLayerCA::fetchCloneLayers):
3348         * platform/graphics/ca/GraphicsLayerCA.h:
3349         * platform/graphics/ca/PlatformCAAnimation.h:
3350         * platform/graphics/ca/PlatformCALayer.h:
3351         * platform/graphics/ca/mac/LayerPool.h:
3352         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
3353         (PlatformCAAnimation::setValues):
3354         * platform/graphics/ca/mac/TileController.h:
3355         * platform/graphics/cg/SubimageCacheWithTimer.h:
3356         * platform/graphics/filters/CustomFilterParameterList.h:
3357         * platform/graphics/filters/FilterEffect.h:
3358         * platform/graphics/filters/FilterOperations.h:
3359         (WebCore::FilterOperations::operations):
3360         * platform/graphics/gpu/Texture.cpp:
3361         (WebCore::Texture::Texture):
3362         (WebCore::Texture::create):
3363         * platform/graphics/gpu/Texture.h:
3364         * platform/graphics/mac/ComplexTextController.h:
3365         * platform/graphics/mac/SimpleFontDataCoreText.cpp:
3366         (WebCore::SimpleFontData::getCFStringAttributes):
3367         * platform/graphics/transforms/TransformOperations.h:
3368         (WebCore::TransformOperations::operations):
3369         * platform/ios/PasteboardIOS.mm:
3370         (WebCore::documentFragmentWithRTF):
3371         * platform/mac/PlatformSpeechSynthesizerMac.mm:
3372         (-[WebSpeechSynthesisWrapper speakUtterance:WebCore::]):
3373         * platform/mediastream/MediaStreamDescriptor.h:
3374         * platform/mediastream/MediaStreamSource.h:
3375         * platform/mediastream/RTCConfiguration.h:
3376         * platform/network/BlobRegistryImpl.h:
3377         * platform/network/HTTPHeaderMap.h:
3378         * platform/network/ResourceResponseBase.cpp:
3379         (WebCore::ResourceResponseBase::parseCacheControlDirectives):
3380         (WebCore::parseCacheHeader):
3381         * platform/network/cf/ResourceHandleCFNet.cpp:
3382         (WebCore::clientCerts):
3383         (WebCore::ResourceHandle::createCFURLConnection):
3384         * platform/text/cf/HyphenationCF.cpp:
3385         (WebCore::::createValueForNullKey):
3386         (WebCore::::createValueForKey):
3387         (WebCore::cfLocaleCache):
3388         * plugins/PluginMainThreadScheduler.h:
3389         * rendering/HitTestResult.h:
3390         * rendering/InlineFlowBox.h:
3391         * rendering/RenderBlock.cpp:
3392         (WebCore::RenderBlock::paintContinuationOutlines):
3393         (WebCore::RenderBlock::removeFromTrackedRendererMaps):
3394         * rendering/RenderBlock.h:
3395         * rendering/RenderButton.h:
3396         * rendering/RenderCounter.cpp:
3397         * rendering/RenderGrid.cpp:
3398         (WebCore::RenderGrid::GridIterator::GridIterator):
3399         * rendering/RenderGrid.h:
3400         * rendering/RenderLayer.cpp:
3401         (WebCore::RenderLayer::updateDescendantsAreContiguousInStackingOrder):
3402         (WebCore::RenderLayer::rebuildZOrderLists):
3403         (WebCore::RenderLayer::collectLayers):
3404         * rendering/RenderLayer.h:
3405         * rendering/RenderNamedFlowThread.cpp:
3406         (WebCore::RenderNamedFlowThread::getRanges):
3407         * rendering/RenderNamedFlowThread.h:
3408         * rendering/RenderRegion.cpp:
3409         (WebCore::RenderRegion::getRanges):
3410         * rendering/RenderRegion.h:
3411         * rendering/RenderView.cpp:
3412         (WebCore::RenderView::selectionBounds):
3413         (WebCore::RenderView::setSelection):
3414         * rendering/RootInlineBox.h:
3415         * rendering/shapes/PolygonShape.cpp:
3416         (WebCore::computeShapePaddingBounds):
3417         (WebCore::computeShapeMarginBounds):
3418         * rendering/shapes/PolygonShape.h:
3419         (WebCore::PolygonShape::PolygonShape):
3420         * rendering/shapes/Shape.cpp:
3421         (WebCore::createPolygonShape):
3422         (WebCore::Shape::createShape):
3423         * rendering/shapes/ShapeInfo.h:
3424         * rendering/shapes/ShapeInterval.h:
3425         * rendering/style/QuotesData.cpp:
3426         (WebCore::QuotesData::create):
3427         (WebCore::QuotesData::QuotesData):
3428         * rendering/style/QuotesData.h:
3429         * rendering/style/RenderStyle.cpp:
3430         (WebCore::requireTransformOrigin):
3431         (WebCore::RenderStyle::applyTransform):
3432         * rendering/style/StyleGridData.h:
3433         * rendering/svg/RenderSVGResourceGradient.h:
3434         * rendering/svg/RenderSVGResourcePattern.h:
3435         * rendering/svg/SVGResourcesCache.h:
3436         * storage/StorageEventDispatcher.cpp:
3437         (WebCore::StorageEventDispatcher::dispatchSessionStorageEvents):
3438         (WebCore::StorageEventDispatcher::dispatchLocalStorageEvents):
3439         (WebCore::StorageEventDispatcher::dispatchSessionStorageEventsToFrames):
3440         (WebCore::StorageEventDispatcher::dispatchLocalStorageEventsToFrames):
3441         * storage/StorageEventDispatcher.h:
3442         * storage/StorageNamespaceImpl.h:
3443         * storage/StorageThread.h:
3444         * storage/StorageTracker.cpp:
3445         (WebCore::StorageTracker::origins):
3446         * storage/StorageTracker.h:
3447         * svg/SVGAnimatedPath.cpp:
3448         (WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
3449         * svg/SVGAnimatedTypeAnimator.cpp:
3450         (WebCore::SVGElementAnimatedProperties::SVGElementAnimatedProperties):
3451         (WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):
3452         * svg/SVGAnimatedTypeAnimator.h:
3453         * svg/SVGDocumentExtensions.cpp:
3454         (WebCore::SVGDocumentExtensions::startAnimations):
3455         (WebCore::SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements):
3456         (WebCore::SVGDocumentExtensions::addPendingResource):
3457         (WebCore::SVGDocumentExtensions::isElementPendingResources):
3458         (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
3459         (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
3460         (WebCore::SVGDocumentExtensions::addElementReferencingTarget):
3461         (WebCore::SVGDocumentExtensions::rebuildAllElementReferencesForTarget):
3462         * svg/SVGDocumentExtensions.h:
3463         * svg/SVGFontElement.h: