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