Web Inspector: clear fixme in generator script
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2011-11-17  Peter Rybin  <peter.rybin@gmail.com>
2
3         Web Inspector: clear fixme in generator script
4         https://bugs.webkit.org/show_bug.cgi?id=71372
5
6         Remove unnecessary field name map and update license year number.
7
8         Reviewed by Pavel Feldman.
9
10         * inspector/CodeGeneratorInspector.py:
11
12 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
13
14         [EFL] Clean up the use of DATA_DIR in the buildsystem
15         https://bugs.webkit.org/show_bug.cgi?id=72681
16
17         Reviewed by Daniel Bates.
18
19         Add the -DDATA_DIR definition here instead of defining it globally in
20         OptionsEfl.cmake, as WebCore is the only place which needs it.
21
22         No new tests, this is a buildsystem change.
23
24         * PlatformEfl.cmake:
25
26 2011-11-17  Adam Klein  <adamk@chromium.org>
27
28         Move JS recursion counter from V8Proxy to V8BindingPerIsolateData
29         https://bugs.webkit.org/show_bug.cgi?id=72645
30
31         Reviewed by Adam Barth.
32
33         With the JS recursion level stored as a member of V8Proxy, it's tied
34         to a frame. But this is incorrect, as there's no reason that a JS call
35         stack need be restricted to a single frame (see my new test case for
36         an example of code going across frames).
37
38         In order to get the correct accounting of JS recursion level, per-Isolate
39         is the right granularity (per dslomov), which is what this patch accomplishes.
40
41         Test: storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html
42
43         * bindings/v8/V8Binding.cpp:
44         (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
45         * bindings/v8/V8Binding.h:
46         (WebCore::V8BindingPerIsolateData::recursionLevel):
47         (WebCore::V8BindingPerIsolateData::incrementRecursionLevel):
48         (WebCore::V8BindingPerIsolateData::decrementRecursionLevel):
49         (WebCore::V8RecursionScope::V8RecursionScope):
50         (WebCore::V8RecursionScope::~V8RecursionScope):
51         * bindings/v8/V8Proxy.cpp:
52         (WebCore::incrementRecursionLevel):
53         (WebCore::decrementRecursionLevel):
54         (WebCore::recursionLevel):
55         (WebCore::V8Proxy::V8Proxy):
56         (WebCore::V8Proxy::runScript):
57         (WebCore::V8Proxy::callFunction):
58         (WebCore::V8Proxy::didLeaveScriptContext):
59         * bindings/v8/V8Proxy.h:
60
61 2011-11-17  Robin Cao  <robin.cao@torchmobile.com.cn>
62
63         [chromium] Font::drawComplexText can not draw a segment of text run
64         https://bugs.webkit.org/show_bug.cgi?id=72095
65
66         Reviewed by Adam Barth.
67
68         drawComplexText() should respect the 'from' and 'to' arguments.
69         Drawing the whole text run may result in text overlapping.
70
71         Test: platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html
72
73         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
74         (WebCore::ComplexTextController::glyphsForRange):
75         * platform/graphics/chromium/ComplexTextControllerLinux.h:
76         * platform/graphics/chromium/FontLinux.cpp:
77         (WebCore::Font::drawComplexText):
78
79 2011-11-17  Adam Barth  <abarth@webkit.org>
80
81         Unique SecurityOrigins shouldn't remember their old schemes and hosts
82         https://bugs.webkit.org/show_bug.cgi?id=71745
83
84         Reviewed by Darin Adler.
85
86         This is the final step in this series of patches.
87
88         This patch removes the forceUnique flag from SecurityOrigin::create.
89         Now, we create unique origins without passing in the document's URL,
90         preventing information from the document's URL from leaking into the
91         unique origin.
92
93         * WebCore.exp.in:
94         * dom/Document.cpp:
95         (WebCore::Document::setIsViewSource):
96         (WebCore::Document::initSecurityContext):
97         * loader/cache/MemoryCache.cpp:
98         (WebCore::MemoryCache::getOriginsWithCache):
99             - Update this callsite to use createFromString, which does exactly
100               what this code is doing manually.
101         * page/SecurityOrigin.cpp:
102         (WebCore::SecurityOrigin::create):
103         * page/SecurityOrigin.h:
104
105 2011-11-17  Vincent Scheib  <scheib@chromium.org>
106
107         Pointer Lock: Page Settings unecessary
108         https://bugs.webkit.org/show_bug.cgi?id=72662
109
110         Reviewed by Darin Fisher.
111
112         No new tests.
113
114         * page/Settings.cpp:
115         (WebCore::Settings::Settings):
116         * page/Settings.h:
117
118 2011-11-17  James Robinson  <jamesr@chromium.org>
119
120         [chromium] Disable incremental uploading in threaded compositing path
121         https://bugs.webkit.org/show_bug.cgi?id=72669
122
123         Reviewed by Kenneth Russell.
124
125         Since we don't currently support atomic incremental uploads, incremental uploads in the threaded path result in
126         very strange-looking texture popping as tiles come in on pages that require more than 16 tile uploads per frame.
127         This disables that logic (by setting the upload limit per frame to 99999) until we handle the incremental
128         updates in an atomic fashion.
129
130         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
131         (WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):
132
133 2011-11-06  Nat Duca  <nduca@chromium.org>
134
135         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
136         https://bugs.webkit.org/show_bug.cgi?id=71638
137
138         Reviewed by James Robinson.
139
140         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
141         (WebCore::CCThreadProxy::CCThreadProxy):
142         (WebCore::CCThreadProxy::setNeedsAnimate):
143         (WebCore::CCThreadProxy::beginFrameAndCommit):
144
145 2011-11-17  Adam Barth  <abarth@webkit.org>
146
147         Remove bogus ASSERT.
148
149         * page/SecurityOrigin.cpp:
150         (WebCore::SecurityOrigin::SecurityOrigin):
151
152 2011-11-17  Peter Kasting  <pkasting@google.com>
153
154         Unreviewed, rolling out r100698.
155         http://trac.webkit.org/changeset/100698
156         https://bugs.webkit.org/show_bug.cgi?id=72239
157
158         This change wasn't the problem either.
159
160         * dom/Document.cpp:
161         (WebCore::Document::implicitClose):
162
163 2011-11-17  David Reveman  <reveman@chromium.org>
164
165         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
166         https://bugs.webkit.org/show_bug.cgi?id=72630
167
168         Reviewed by James Robinson.
169
170         Layer property changes during paintContent() can leave the layer
171         in an invalid state as paintContentsIfDirty() has been called
172         without a matching updateCompositorResources() call. Removing
173         conditionals around these calls ensure they are balanced.
174
175         This patch is tested by the following unit test:
176         - CCLayerTreeHostTestOpacityChange.runMultiThread
177
178         * platform/graphics/chromium/ContentLayerChromium.cpp:
179         (WebCore::ContentLayerChromium::paintContentsIfDirty):
180         * platform/graphics/chromium/VideoLayerChromium.cpp:
181         (WebCore::VideoLayerChromium::updateCompositorResources):
182         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
183         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
184         (WebCore::CCLayerTreeHost::paintLayerContents):
185         (WebCore::CCLayerTreeHost::updateCompositorResources):
186         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
187
188 2011-11-17  Peter Kasting  <pkasting@google.com>
189
190         Unreviewed, rolling out r100584.
191         http://trac.webkit.org/changeset/100584
192         https://bugs.webkit.org/show_bug.cgi?id=72239
193
194         See if this change caused Linux dbg crashes.
195
196         * dom/Document.cpp:
197         (WebCore::Document::implicitClose):
198
199 2011-11-17  Adam Barth  <abarth@webkit.org>
200
201         Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
202         https://bugs.webkit.org/show_bug.cgi?id=72676
203
204         Reviewed by Eric Seidel.
205
206         It looks like this cargo-cult started with initDNSPrefetch being hacked
207         into setSecurityOrigin.  I've removed this hack along with the
208         copy/paste code.
209
210         * dom/DOMImplementation.cpp:
211         * dom/Document.cpp:
212         (WebCore::Document::setIsViewSource):
213         (WebCore::Document::open):
214         (WebCore::Document::initSecurityContext):
215         (WebCore::Document::setSecurityOrigin):
216         * dom/Document.h:
217         * xml/XSLTProcessor.cpp:
218
219 2011-11-17  Peter Kasting  <pkasting@google.com>
220
221         Unreviewed, rolling out r100676.
222         http://trac.webkit.org/changeset/100676
223         https://bugs.webkit.org/show_bug.cgi?id=72393
224
225         Looks like r100572 was not the source of the crashes.
226
227         * bindings/js/ScriptDebugServer.cpp:
228         (WebCore::ScriptDebugServer::canSetScriptSource):
229         * bindings/js/ScriptDebugServer.h:
230         * bindings/v8/ScriptDebugServer.cpp:
231         (WebCore::ScriptDebugServer::stepOutOfFunction):
232         (WebCore::ScriptDebugServer::canSetScriptSource):
233         * bindings/v8/ScriptDebugServer.h:
234         * inspector/CodeGeneratorInspector.py:
235         * inspector/Inspector.json:
236         * inspector/InspectorDebuggerAgent.cpp:
237         (WebCore::InspectorDebuggerAgent::getCapabilities):
238         * inspector/InspectorDebuggerAgent.h:
239         * inspector/front-end/DebuggerModel.js:
240         (WebInspector.DebuggerModel):
241         (WebInspector.DebuggerModel.prototype.enableDebugger):
242         (WebInspector.DebuggerModel.prototype.disableDebugger):
243         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
244         * inspector/front-end/DebuggerPresentationModel.js:
245         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
246         * inspector/front-end/Settings.js:
247
248 2011-11-17  Konstantin Scheglov  <scheglov@google.com>
249
250         Absolute child is not repainted when parent opacity changes
251         https://bugs.webkit.org/show_bug.cgi?id=68777
252
253         Reviewed by Simon Fraser.
254
255         First time when we change opacity for parent we don't have layer, so
256         diff=StyleDifferenceRepaint is used instead of diff=StyleDifferenceRepaintLayer.
257         Layer is created later, in styleDidChange().
258         So, when we recalculate later diff, we now check for diff=StyleDifferenceRepaintLayer and
259         performs repaintIncludingDescendants().
260
261         Test: fast/layers/layer-absolute-parent-opacity.html
262
263         * rendering/RenderObject.cpp:
264         (WebCore::RenderObject::setStyle): Call repaintIncludingDescendants() instead of repaint().
265         * rendering/style/RenderStyle.cpp:
266         (WebCore::RenderStyle::diff): Add ContextSensitivePropertyOpacity when change opacity.
267
268 2011-11-17  Nate Chapin  <japhet@chromium.org>
269
270         r100311 dropped a RefPtr that is very
271         helpful. Add it back.
272         https://bugs.webkit.org/show_bug.cgi?id=72647
273
274         Reviewed by Adam Barth.
275
276         http/tests/misc/xslt-bad-import.html should
277         stop crashing in full chromium builds.
278
279         * loader/cache/CachedResourceLoader.cpp:
280         (WebCore::CachedResourceLoader::loadDone):
281
282 2011-11-17  Adam Barth  <abarth@webkit.org>
283
284         Refactor SecurityOrigin::create to be easier to understand
285         https://bugs.webkit.org/show_bug.cgi?id=72342
286
287         Reviewed by Eric Seidel.
288
289         Over time, the SecurityOrigin constructor has grown a bit out of
290         control.  This patch attempts to separate the different concerns into
291         free functions.  The general approach is to put more logic in the
292         "create" function and introduce a simple constructor for unique
293         origins.
294
295         This patch shouldn't change any behavior.
296
297         * page/SecurityOrigin.cpp:
298         (WebCore::schemeRequiresAuthority):
299         (WebCore::shouldUseInnerURL):
300         (WebCore::extractInnerURL):
301         (WebCore::isDirectory):
302         (WebCore::shouldTreatAsUniqueOrigin):
303         (WebCore::SecurityOrigin::SecurityOrigin):
304         (WebCore::SecurityOrigin::create):
305         (WebCore::SecurityOrigin::createUnique):
306         (WebCore::SecurityOrigin::databaseIdentifier):
307         * page/SecurityOrigin.h:
308
309 2011-11-17  Shawn Singh  <shawnsingh@chromium.org>
310
311         [chromium] Fix minor style nit in CCLayerImpl
312         https://bugs.webkit.org/show_bug.cgi?id=71070
313
314         Reviewed by James Robinson.
315
316         Fixes if-statements on several settors to follow WebKit
317         conventions. Existing CCLayerImplTest unit tests already cover
318         this change.
319
320         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
321         (WebCore::CCLayerImpl::setBounds):
322         (WebCore::CCLayerImpl::setMaskLayer):
323         (WebCore::CCLayerImpl::setReplicaLayer):
324         (WebCore::CCLayerImpl::setDrawsContent):
325         (WebCore::CCLayerImpl::setAnchorPoint):
326         (WebCore::CCLayerImpl::setAnchorPointZ):
327         (WebCore::CCLayerImpl::setBackgroundColor):
328         (WebCore::CCLayerImpl::setMasksToBounds):
329         (WebCore::CCLayerImpl::setOpaque):
330         (WebCore::CCLayerImpl::setOpacity):
331         (WebCore::CCLayerImpl::setPosition):
332         (WebCore::CCLayerImpl::setPreserves3D):
333         (WebCore::CCLayerImpl::setZoomAnimatorTransform):
334         (WebCore::CCLayerImpl::setSublayerTransform):
335         (WebCore::CCLayerImpl::setTransform):
336         (WebCore::CCLayerImpl::setDebugBorderColor):
337         (WebCore::CCLayerImpl::setDebugBorderWidth):
338         (WebCore::CCLayerImpl::setContentBounds):
339         (WebCore::CCLayerImpl::setScrollPosition):
340         (WebCore::CCLayerImpl::setScrollDelta):
341         (WebCore::CCLayerImpl::setScaleDelta):
342         (WebCore::CCLayerImpl::setDoubleSided):
343
344 2011-11-17  Michael Saboff  <msaboff@apple.com>
345
346         Leaks seen in MemoryPressureHandlerMac.mm on Leaks bot
347         https://bugs.webkit.org/show_bug.cgi?id=72416
348
349         Added code to release _cache_event_source and _timer_event_source
350         after they are canceled.  Also added defensive code to
351         clean up the _timer_event_source in uninstall().
352
353         Reviewed by Geoffrey Garen.
354
355         No new tests, fixing leaks caught by leaks bot.
356
357         * platform/mac/MemoryPressureHandlerMac.mm:
358         (WebCore::MemoryPressureHandler::uninstall):
359         (WebCore::MemoryPressureHandler::holdOff):
360
361 2011-11-17  Ken Buchanan <kenrb@chromium.org>
362
363         Crash from positioned generated content under run-in
364         https://bugs.webkit.org/show_bug.cgi?id=70456
365
366         Reviewed by David Hyatt.
367
368         Modified handling of run-in children to clear generated children
369         before removing the parent from the render tree. This caused problems
370         with absolute positioned children being not properly removed from the
371         positioned object list of the RenderView.
372
373         * rendering/RenderBlock.cpp:
374         (WebCore::RenderBlock::handleRunInChild):
375
376 2011-11-17  Peter Kasting  <pkasting@google.com>
377
378         Unreviewed, rolling out r100572.
379         https://bugs.webkit.org/show_bug.cgi?id=72393
380         https://bugs.webkit.org/show_bug.cgi?id=72651
381
382         May have caused seg faults on Chromium Linux dbg bot.
383
384         * bindings/js/ScriptDebugServer.cpp:
385         * bindings/js/ScriptDebugServer.h:
386         * bindings/v8/ScriptDebugServer.cpp:
387         (WebCore::ScriptDebugServer::stepOutOfFunction):
388         * bindings/v8/ScriptDebugServer.h:
389         * inspector/CodeGeneratorInspector.py:
390         * inspector/Inspector.json:
391         * inspector/InspectorDebuggerAgent.cpp:
392         * inspector/InspectorDebuggerAgent.h:
393         * inspector/front-end/DebuggerModel.js:
394         (WebInspector.DebuggerModel):
395         (WebInspector.DebuggerModel.prototype.enableDebugger):
396         (WebInspector.DebuggerModel.prototype.disableDebugger):
397         * inspector/front-end/DebuggerPresentationModel.js:
398         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
399         * inspector/front-end/Settings.js:
400
401 2011-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
402
403         Unreviewed, rolling out r100652.
404         http://trac.webkit.org/changeset/100652
405         https://bugs.webkit.org/show_bug.cgi?id=72648
406
407         "Caused outline-offset-min-assert.html to assert on debug
408         builds" (Requested by mwenge2 on #webkit).
409
410         * rendering/RenderObject.cpp:
411         (WebCore::RenderObject::paintOutline):
412
413 2011-11-17  Mark Rowe  <mrowe@apple.com>
414
415         <http://webkit.org/b/72637> Stop performing runtime version checks on OS versions where the check can never possibly fail.
416
417         Reviewed by Simon Fraser.
418
419         * platform/graphics/cg/ImageBufferDataCG.cpp:
420         (WebCore::haveVImageRoundingErrorFix): When not targeting Snow Leopard we always have the fix.
421
422 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
423
424         AX: The scrollArea is not correctly returning the scrollbars
425         https://bugs.webkit.org/show_bug.cgi?id=70247
426
427         Reviewed by Beth Dakin.
428
429         A few bugs that were preventing this from working.
430            1) In accessibilityAttributeValue: when an element did not have a renderer() we were returning earlier than we should have
431            2) We were not updating and clearing the scrollbars correctly when children were cleared or when asked for.
432
433         Test: platform/mac/accessibility/scrollbars.html
434
435         * accessibility/AccessibilityScrollView.cpp:
436         (WebCore::AccessibilityScrollView::scrollBar):
437         (WebCore::AccessibilityScrollView::clearChildren):
438         * accessibility/AccessibilityScrollView.h:
439         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
440         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
441
442 2011-11-14  Adam Barth  <abarth@webkit.org>
443
444         Unique origins shouldn't remember their scheme, host, or port
445         https://bugs.webkit.org/show_bug.cgi?id=72308
446
447         Reviewed by Eric Seidel.
448
449         This patch contains the bulk (all?) of the behavior differences in this
450         patch series.  Unique origins shouldn't remember their schemes.  Doing
451         so causes some privileges (e.g., local access) to leak into unique
452         origins.
453
454         * page/SecurityOrigin.cpp:
455         (WebCore::SecurityOrigin::SecurityOrigin):
456             - Explicitly clear out the protocol, host, and port for unique
457               origins.  A future patch will refactor all this code to be more
458               elegant.
459         * platform/SchemeRegistry.cpp:
460         (WebCore::schemesWithUniqueOrigins):
461             - Merge "about" and "javascript" in with the general case now that
462               we don't have a separate notion of an empty origin.
463
464 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
465
466         AX: cleanup style and naming and code in accessibility search mechanism
467         https://bugs.webkit.org/show_bug.cgi?id=72570
468
469         Reviewed by Beth Dakin.
470
471         Cleanup the naming and code style within the element searching mechanism.
472
473         * accessibility/AccessibilityObject.cpp:
474         (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
475         (WebCore::AccessibilityObject::isAccessibilityTextSearchMatch):
476         (WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
477         (WebCore::AccessibilityObject::findMatchingObjects):
478         * accessibility/AccessibilityObject.h:
479         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
480         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
481
482 2011-11-17  Julien Chaffraix  <jchaffraix@webkit.org>
483
484         CSS table with 100% width can overflow their containing block
485         https://bugs.webkit.org/show_bug.cgi?id=72180
486
487         Reviewed by David Hyatt.
488
489         Tests: fast/table/table-in-table-percent-width-collapsing-border-quirks-mode.html
490                fast/table/table-in-table-percent-width-collapsing-border.html
491                fast/table/table-in-table-percent-width-quirks-mode.html
492                fast/table/table-in-table-percent-width.html
493
494         After r97555, we would include the borders in a CSS table's logical width even if the 'width'
495         property was a percent. This does not match what Firefox and IE are doing. Thus don't apply
496         this behavior to percent 'width'.
497
498         * rendering/RenderTable.cpp:
499         (WebCore::RenderTable::computeLogicalWidth):
500
501 2011-11-17  Adrienne Walker  <enne@google.com>
502
503         [chromium] Implicitly skip render surfaces that won't be drawn
504         https://bugs.webkit.org/show_bug.cgi?id=71038
505
506         Rather than having redundant checks in three places for how to walk
507         through a render surface list, instead don't add render surfaces that
508         don't need to get rendered to the render surface list.
509
510         Reviewed by James Robinson.
511
512         Covered by existing layout tests and unit tests.
513
514         * platform/graphics/chromium/LayerRendererChromium.cpp:
515         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
516         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
517         (WebCore::CCLayerTreeHost::paintLayerContents):
518         (WebCore::CCLayerTreeHost::updateCompositorResources):
519         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
520         (WebCore::calculateDrawTransformsAndVisibilityInternal):
521
522 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
523
524         [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
525         https://bugs.webkit.org/show_bug.cgi?id=72595
526
527         Reviewed by Noam Rosenthal.
528
529         Removed QWebElement and QtDRTNode usage that reached from WebCore into
530         WebKit/qt and replaced it with the ability to register custom JSValue
531         conversion functions. The old code has been moved to WebKit/qt.
532
533         * bridge/qt/qt_instance.cpp:
534         (JSC::Bindings::QtInstance::QtInstance): Remove unnecessary meta type registration
535         (now done in QtWebElementRuntime::initialize in WebKit/qt).
536         * bridge/qt/qt_runtime.cpp:
537         (JSC::Bindings::registerCustomType):
538         (JSC::Bindings::convertValueToQVariant):
539         (JSC::Bindings::convertQVariantToValue):
540         * bridge/qt/qt_runtime.h:
541
542 2011-11-17  Fady Samuel  <fsamuel@chromium.org>
543
544         Pass Aspect Ratio to RenderStyle
545         https://bugs.webkit.org/show_bug.cgi?id=72350
546
547         Reviewed by Ojan Vafai.
548
549         * css/CSSComputedStyleDeclaration.cpp:
550         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
551         * css/CSSStyleApplyProperty.cpp:
552         (WebCore::ApplyPropertyAspectRatio::applyInheritValue):
553         (WebCore::ApplyPropertyAspectRatio::applyInitialValue):
554         (WebCore::ApplyPropertyAspectRatio::applyValue):
555         (WebCore::ApplyPropertyAspectRatio::createHandler):
556         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
557         * css/CSSStyleSelector.cpp:
558         (WebCore::CSSStyleSelector::applyProperty):
559         * css/CSSValue.h:
560         (WebCore::CSSValue::isAspectRatioValue):
561         * rendering/style/RenderStyle.h:
562         (WebCore::InheritedFlags::hasAspectRatio):
563         (WebCore::InheritedFlags::aspectRatio):
564         (WebCore::InheritedFlags::aspectRatioDenominator):
565         (WebCore::InheritedFlags::aspectRatioNumerator):
566         (WebCore::InheritedFlags::setHasAspectRatio):
567         (WebCore::InheritedFlags::setAspectRatioDenominator):
568         (WebCore::InheritedFlags::setAspectRatioNumerator):
569         (WebCore::InheritedFlags::initialHasAspectRatio):
570         (WebCore::InheritedFlags::initialAspectRatioDenominator):
571         (WebCore::InheritedFlags::initialAspectRatioNumerator):
572         * rendering/style/StyleRareNonInheritedData.cpp:
573         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
574         (WebCore::StyleRareNonInheritedData::operator==):
575         * rendering/style/StyleRareNonInheritedData.h:
576
577 2011-11-09  Robert Hogan  <robert@webkit.org>
578
579         CSS 2.1 failure: outline-color-* tests fail
580         https://bugs.webkit.org/show_bug.cgi?id=71931
581
582         Reviewed by Julien Chaffraix.
583
584         WebKit wasn't displaying the top block in these tests because it did not paint the outline
585         of divs with zero size.
586
587         * rendering/RenderObject.cpp:
588         (WebCore::RenderObject::paintOutline): paint the outline even when the block has zero size
589
590 2011-11-17  Sergio Villar Senin  <svillar@igalia.com>
591
592         [GTK] plugins/get-url-notify-with-url-that-fails-to-load.html on bots after r100466
593         https://bugs.webkit.org/show_bug.cgi?id=72613
594
595         Reviewed by Martin Robinson.
596
597         Do not assume that a SoupRequest always exists, it is not
598         generated for example when the provided URL is
599         invalid. ResourceHandle::platformSetDefersLoading was crashing
600         because of that.
601
602         * platform/network/soup/ResourceHandleSoup.cpp:
603         (WebCore::ResourceHandle::platformSetDefersLoading):
604
605 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
606
607         Web Inspector: Remove onlineDetectionEnabled from Preferences
608         https://bugs.webkit.org/show_bug.cgi?id=72617
609
610         Reviewed by Pavel Feldman.
611
612         * inspector/front-end/ApplicationCacheItemsView.js:
613         (WebInspector.ApplicationCacheItemsView):
614         (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
615         * inspector/front-end/Settings.js:
616
617 2011-11-17  Ken Buchanan  <kenrb@chromium.org>
618
619         Crash from nested tables with generated content
620         https://bugs.webkit.org/show_bug.cgi?id=68811
621
622         Reviewed by David Hyatt.
623
624         When adding a child to a table that has generated content, this change
625         ensures that we leave alone any generated content renderers that belong
626         to descendants in the tree. They don't need to be touched, and doing so
627         can create confusion about who the content belongs to.
628
629         This patch also simplifies some existing code for finding pseudoelement
630         renderers. 
631
632         * rendering/RenderBlock.cpp:
633         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
634         * rendering/RenderObject.cpp:
635         (WebCore::RenderObject::addChild):
636         (WebCore::RenderObject::isBeforeAfterContentGeneratedByAncestor): Added
637         * rendering/RenderObject.h:
638         (WebCore::RenderObject::findAfterContentRenderer): Deleted
639         (WebCore::RenderObject::findBeforeContentRenderer): Deleted
640         * rendering/RenderObjectChildList.cpp:
641         (WebCore::RenderObjectChildList::beforePseudoElementRenderer):
642         (WebCore::RenderObjectChildList::afterPseudoElementRenderer):
643         * rendering/RenderTable.cpp:
644         (WebCore::RenderTable::addChild):
645         * rendering/RenderTableRow.cpp:
646         (WebCore::RenderTableRow::addChild):
647         * rendering/RenderTableSection.cpp:
648         (WebCore::RenderTableSection::addChild):
649
650 2011-11-17  Patrick Gansterer  <paroga@webkit.org>
651
652         Unreviewed WinCE build fix for r94119.
653
654         MSVC throws multiply defined symbols linker error when using local class in inline function.
655
656         * bindings/js/JSDictionary.h:
657         (WebCore::JSDictionary::IdentitySetter::identitySetter):
658         (WebCore::JSDictionary::tryGetProperty):
659
660 2011-11-17  Eric Carlson  <eric.carlson@apple.com>
661
662         TextTrackList not sorted correctly
663         https://bugs.webkit.org/show_bug.cgi?id=72545
664
665         Reviewed by Darin Adler.
666
667         Test: media/track/track-texttracks.html
668
669         * WebCore.xcodeproj/project.pbxproj: Add TextTrack.h to WebCore private headers because 
670             it is included by HTMLMediaElement.h.
671         * html/LoadableTextTrack.cpp:
672         (WebCore::LoadableTextTrack::LoadableTextTrack): Pass track type to base class constructor.
673         (WebCore::LoadableTextTrack::trackElementIndex): New, return the <track> element's tree order
674             for sorting.
675         * html/LoadableTextTrack.h:
676
677         * html/TextTrack.cpp:
678         (WebCore::TextTrack::TextTrack): Set track type.
679         * html/TextTrack.h:
680         (WebCore::TextTrack::create): Ditto.
681         (WebCore::TextTrack::trackType): Ditto.
682
683         * html/track/TextTrackList.cpp:
684         (TextTrackList::length): Update to deal with two TextTrack vectors.
685         (TextTrackList::item): Ditto.
686         (TextTrackList::append): Ditto.
687         (TextTrackList::remove): Ditto
688         * html/track/TextTrackList.h: Store the two types of TextTracks in separate Vectors to make
689             it simpler to keep them in the correct order.
690
691 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
692
693         [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
694         https://bugs.webkit.org/show_bug.cgi?id=72596
695
696         Reviewed by Kenneth Rohde Christiansen.
697
698         We don't need to use QWebSettings here, because we now propagate the DNS prefetch
699         setting to WebCore::Settings and the rest of WebCore checks the setting before calling
700         WebCore::prefetchDNS.
701
702         * platform/network/qt/DnsPrefetchHelper.cpp:
703         (WebCore::prefetchDNS): Removed the use of QWebSettings.
704         * platform/network/qt/DnsPrefetchHelper.h: Remove offending qwebsettings.h inclusion.
705
706 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
707
708         [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
709         https://bugs.webkit.org/show_bug.cgi?id=72594
710
711         Reviewed by Kenneth Rohde Christiansen.
712
713         Move the cache for the resource pixmaps into ImageQt.cpp.
714
715         * platform/graphics/Image.h: Add Qt specific setter for resource pixmaps.
716         * platform/graphics/qt/ImageQt.cpp: Moved resource pixmap hash from qwebsettings.
717         (earlyClearGraphics):
718         (graphics):
719         (loadResourcePixmap):
720         (WebCore::Image::setPlatformResource):
721
722 2011-11-17  Zeno Albisser  <zeno@webkit.org>
723
724         [Qt][WK2] Touch/Mouse events are delivered with wrong coordinates.
725         https://bugs.webkit.org/show_bug.cgi?id=72604
726
727         When using the QtViewportInterationEngine for zooming/panning,
728         no additional scroll offset should be applied to input events
729         by the ScrollView.
730
731         This patch is based on work by Andreas Kling.
732
733         Reviewed by Kenneth Rohde Christiansen.
734
735         * platform/ScrollView.cpp:
736         (WebCore::ScrollView::windowToContents):
737         (WebCore::ScrollView::contentsToWindow):
738
739 2011-11-17  Ben Murdoch  <benm@google.com>
740
741         Unreviewed build fix.
742
743         Fix the Windows builds by adding WorkerEventQueue.cpp|h to the
744         vcproj. Build break was introduced in
745         https://bugs.webkit.org/show_bug.cgi?id=72528
746
747         * WebCore.vcproj/WebCore.vcproj: Add missing files.
748
749 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
750
751         CSS Exclusions: parse the wrap-margin and wrap-padding properties
752         https://bugs.webkit.org/show_bug.cgi?id=71900
753
754         Reviewed by Dean Jackson.
755
756         Tests: fast/exclusions/wrap-margin-parsing.html
757                fast/exclusions/wrap-padding-parsing.html
758
759         * css/CSSComputedStyleDeclaration.cpp:
760         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
761         * css/CSSParser.cpp:
762         (WebCore::isSimpleLengthPropertyID):
763         (WebCore::CSSParser::parseValue):
764         * css/CSSProperty.cpp:
765         (WebCore::CSSProperty::isInheritedProperty):
766         * css/CSSPropertyNames.in:
767         * css/CSSStyleApplyProperty.cpp:
768         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
769         * css/CSSStyleSelector.cpp:
770         (WebCore::CSSStyleSelector::applyProperty):
771         * rendering/style/RenderStyle.cpp:
772         (WebCore::RenderStyle::diff):
773         * rendering/style/RenderStyle.h:
774         (WebCore::InheritedFlags::wrapPadding):
775         (WebCore::InheritedFlags::setWrapPadding):
776         (WebCore::InheritedFlags::initialWrapPadding):
777         (WebCore::InheritedFlags::wrapMargin):
778         (WebCore::InheritedFlags::setWrapMargin):
779         (WebCore::InheritedFlags::initialWrapMargin):
780         * rendering/style/StyleRareNonInheritedData.cpp:
781         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
782         (WebCore::StyleRareNonInheritedData::operator==):
783         * rendering/style/StyleRareNonInheritedData.h:
784
785 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
786
787         [chromium] don't call fontconfig twice in complex text path
788         https://bugs.webkit.org/show_bug.cgi?id=38701
789
790         Adds a new API for getting font family. For now, FontCacheLinux calls the new API, but don't use additional properties for compatibility. The old API will be removed when Chromium is ready to use new API.
791
792         Reviewed by Tony Chang.
793
794         No new tests. No behavior changes for now.
795
796         * platform/chromium/PlatformSupport.h: Added FontFamily struct and changed the declaration of getFontFamilyForCharacters().
797         * platform/graphics/chromium/FontCacheLinux.cpp:
798         (WebCore::FontCache::getFontDataForCharacters): Uses new PlatformSupport::getFontFamilyForCharacters().
799         * platform/graphics/chromium/FontPlatformDataLinux.h:
800         (WebCore::FontPlatformData::setFakeBold): Added.
801         (WebCore::FontPlatformData::setFakeItalic): Added.
802
803 2011-11-17  Mario Sanchez Prada  <msanchez@igalia.com>
804
805         [GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
806         https://bugs.webkit.org/show_bug.cgi?id=72525
807
808         Reviewed by Xan Lopez.
809
810         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
811         (webkit_accessible_get_parent): Call to the implementation of
812         atk_object_get_parent in AtkObject class to check whether a parent
813         AtkObject has been previously set, before trying to find one.
814
815 2011-11-17  Pavel Feldman  <pfeldman@google.com>
816
817         Not reviewed: fix IE user agents strings in the inspector.
818
819         * inspector/front-end/SettingsScreen.js:
820         (WebInspector.SettingsScreen.prototype._createUserAgentSelectRowElement.get const):
821
822 2011-11-16  Kenneth Rohde Christiansen  <kenneth@webkit.org>
823
824         Make use-fixed-layout work reliable
825         https://bugs.webkit.org/show_bug.cgi?id=72511
826
827         Reviewed by Simon Hausmann.
828
829         Always send a viewport update per page load as we depend on that,
830         to reset all viewport handling before doing layout.
831
832         * page/Page.cpp:
833         (WebCore::Page::updateViewportArguments):
834
835 2011-11-16  Alexander Pavlov  <apavlov@chromium.org>
836
837         Web Inspector: inspector follows javascript: hrefs as relative
838         https://bugs.webkit.org/show_bug.cgi?id=72373
839
840         javascript: hrefs should never be linkified for security.
841
842         Reviewed by Yury Semikhatsky.
843
844         * inspector/front-end/ElementsTreeOutline.js:
845         (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
846         * inspector/front-end/ResourceUtils.js:
847         (WebInspector.completeURL):
848
849 2011-11-17  Nikolas Zimmermann  <nzimmermann@rim.com>
850
851         Not reviewed. Fix 32bit builds.
852
853         * platform/ClockGeneric.cpp:
854         (ClockGeneric::now): Use narrowPrecisionToFloat.
855         * rendering/FilterEffectRenderer.cpp:
856         (WebCore::FilterEffectRenderer::build): Use it correctly.
857
858 2011-11-17  Dominic Mazzoni  <dmazzoni@google.com>
859
860         Accessibility: Chromium requires an AX notification when an iframe loads.
861         https://bugs.webkit.org/show_bug.cgi?id=72239
862
863         When a document finishes loading, we were sending an AXLoadComplete if it
864         was the top document. Now, if it's a document in an iframe, send an
865         AXLayoutComplete on the iframe.
866
867         Reviewed by Chris Fleizach.
868
869         Test: accessibility/loading-iframe-sends-notification.html
870
871         * dom/Document.cpp:
872         (WebCore::Document::implicitClose):
873
874 2011-11-16  Mark Rowe  <mrowe@apple.com>
875
876         <http://webkit.org/b/72574> Remove unnecessary use of CarbonCore APIs from Audio code
877
878         Reviewed by Andy Estes.
879
880         * platform/audio/mac/AudioDestinationMac.cpp:
881         (WebCore::AudioDestinationMac::AudioDestinationMac): Switch from using the Carbon Component Manager
882         to using AudioUnit's own component interface.
883         (WebCore::AudioDestinationMac::~AudioDestinationMac): Ditto.
884         * platform/audio/mac/AudioFileReaderMac.cpp:
885         (WebCore::AudioFileReader::AudioFileReader): Remove an unncessary trip through the Carbon File Manager
886         when converting a char* path to a CFURLRef representing the same.
887
888 2011-11-17  Adam Barth  <abarth@webkit.org>
889
890         CSP report-only mode doesn't work from an HTTP header
891         https://bugs.webkit.org/show_bug.cgi?id=71958
892
893         Reviewed by Eric Seidel.
894
895         "It's tested or it's broken." -- Adam Leventhal
896
897         Test: http/tests/security/contentSecurityPolicy/report-only-from-header.php
898
899         * loader/FrameLoader.cpp:
900         (WebCore::FrameLoader::didBeginDocument):
901
902 2011-11-15  Pavel Feldman  <pfeldman@google.com>
903
904         Web Inspector: introduce Debugger domain capabilities concept.
905         https://bugs.webkit.org/show_bug.cgi?id=72393
906
907         Many of the Preferences that we have in Settings.js and override in DevTools.js
908         are really not preferences, but capabilities. Protocol clients should have a way
909         of figuring out whether some capability is present before using it.
910
911         Reviewed by Yury Semikhatsky.
912
913         * bindings/js/ScriptDebugServer.cpp:
914         (WebCore::ScriptDebugServer::canSetScriptSource):
915         * bindings/js/ScriptDebugServer.h:
916         * bindings/v8/ScriptDebugServer.cpp:
917         (WebCore::ScriptDebugServer::canSetScriptSource):
918         * bindings/v8/ScriptDebugServer.h:
919         * inspector/CodeGeneratorInspector.py:
920         * inspector/Inspector.json:
921         * inspector/InspectorDebuggerAgent.cpp:
922         (WebCore::InspectorDebuggerAgent::getCapabilities):
923         * inspector/InspectorDebuggerAgent.h:
924         * inspector/front-end/DebuggerModel.js:
925         (WebInspector.DebuggerModel):
926         (WebInspector.DebuggerModel.prototype.enableDebugger):
927         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
928         * inspector/front-end/DebuggerPresentationModel.js:
929         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
930         * inspector/front-end/Settings.js:
931
932 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
933
934         CSS exclusions: parse the wrap-flow and wrap-through properties
935         https://bugs.webkit.org/show_bug.cgi?id=71904
936
937         Reviewed by Dean Jackson.
938
939         Tests: fast/exclusions/wrap-flow-parsing.html
940                fast/exclusions/wrap-through-parsing.html
941
942         * css/CSSComputedStyleDeclaration.cpp:
943         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
944         * css/CSSParser.cpp:
945         (WebCore::CSSParser::parseValue):
946         * css/CSSPrimitiveValueMappings.h:
947         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
948         (WebCore::CSSPrimitiveValue::operator WrapFlow):
949         (WebCore::CSSPrimitiveValue::operator WrapThrough):
950         * css/CSSProperty.cpp:
951         (WebCore::CSSProperty::isInheritedProperty):
952         * css/CSSPropertyNames.in:
953         * css/CSSStyleSelector.cpp:
954         (WebCore::CSSStyleSelector::applyProperty):
955         * css/CSSValueKeywords.in:
956         * rendering/style/RenderStyle.cpp:
957         (WebCore::RenderStyle::diff):
958         * rendering/style/RenderStyle.h:
959         (WebCore::InheritedFlags::wrapFlow):
960         (WebCore::InheritedFlags::wrapThrough):
961         (WebCore::InheritedFlags::setWrapFlow):
962         (WebCore::InheritedFlags::setWrapThrough):
963         (WebCore::InheritedFlags::initialWrapFlow):
964         (WebCore::InheritedFlags::initialWrapThrough):
965         * rendering/style/RenderStyleConstants.h:
966         * rendering/style/StyleRareNonInheritedData.cpp:
967         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
968         (WebCore::StyleRareNonInheritedData::operator==):
969         * rendering/style/StyleRareNonInheritedData.h:
970
971 2011-11-16  Dean Jackson  <dino@apple.com>
972
973         Implement filter function shorthands
974         https://bugs.webkit.org/show_bug.cgi?id=68475
975
976         Reviewed by Simon Fraser.
977
978         Implement the shorthand functions for filter effects.
979         This includes grayscale, sepia, invert, hue-rotate, saturate,
980         opacity, gamma, drop-shadow and blur. At the moment sharpen
981         and url are not supported.
982
983         CSSParser needed to be updated because it was mistakenly
984         clamping saturation values to [0,1]. Any positive number
985         is allowed so you can produce super-saturated images.
986
987         The biggest change was the API to FilterEffectRenderer. It now
988         builds a list of effects and applies the filter itself.
989
990         Note that the drop-shadow and blur operations don't yet
991         provide accurate results because they produce an output image
992         that is larger than the input. See
993         https://bugs.webkit.org/show_bug.cgi?id=71929
994         https://bugs.webkit.org/show_bug.cgi?id=71930
995
996         While I was there, I fixed a small style issue in
997         CustomFilterOperation.
998
999         Tests: css3/filters/effect-blur.html
1000                css3/filters/effect-combined.html
1001                css3/filters/effect-drop-shadow.html
1002                css3/filters/effect-gamma.html
1003                css3/filters/effect-grayscale.html
1004                css3/filters/effect-hue-rotate.html
1005                css3/filters/effect-invert.html
1006                css3/filters/effect-opacity.html
1007                css3/filters/effect-saturate.html
1008                css3/filters/effect-sepia.html
1009
1010         * WebCore.xcodeproj/project.pbxproj: Add StyleShader.h to
1011         the project (missing from earlier commit).
1012         * css/CSSParser.cpp:
1013         (WebCore::CSSParser::isValidFilterArgument): Don't clamp
1014         saturate to [0,1]
1015         * platform/graphics/filters/CustomFilterOperation.h:
1016         * rendering/FilterEffectRenderer.cpp:
1017         (WebCore::endMatrixRow):
1018         (WebCore::lastMatrixRow):
1019         (WebCore::FilterEffectRenderer::FilterEffectRenderer):
1020         (WebCore::FilterEffectRenderer::inputContext):
1021         (WebCore::FilterEffectRenderer::build):
1022         (WebCore::FilterEffectRenderer::prepare):
1023         (WebCore::FilterEffectRenderer::apply):
1024         * rendering/FilterEffectRenderer.h:
1025         (WebCore::FilterEffectRenderer::setSourceImageRect):
1026         (WebCore::FilterEffectRenderer::output):
1027         (WebCore::FilterEffectRenderer::setMaxEffectRects):
1028         (WebCore::FilterEffectRenderer::lastEffect):
1029         * rendering/RenderLayer.cpp:
1030         (WebCore::RenderLayer::paintLayer):
1031         (WebCore::RenderLayer::updateOrRemoveFilterEffect):
1032         (WebCore::RenderLayer::updateFilterBackingStore):
1033
1034 2011-11-16  Kentaro Hara  <haraken@chromium.org>
1035
1036         Remove all custom constructors of Events from JSC
1037         https://bugs.webkit.org/show_bug.cgi?id=72577
1038
1039         Reviewed by Adam Barth.
1040
1041         - Makes CodeGeneratorJS.pm generate Event constructors
1042         if [ConstructorTemplate=Event] IDL is specified.
1043         - Removes EventConstructors.h and JSEventConstructors.cpp.
1044         - Replaces all JSC custom constructors of Events
1045         with the generated code by [ConstructorTemplate=Event] IDL.
1046
1047         Tests: fast/events/constructors/before-load-event-constructor.html
1048                fast/events/constructors/close-event-constructor.html
1049                fast/events/constructors/custom-event-constructor.html
1050                fast/events/constructors/error-event-constructor.html
1051                fast/events/constructors/event-constructors.html
1052                fast/events/constructors/hash-change-event-constructor.html
1053                fast/events/constructors/message-event-constructor.html
1054                fast/events/constructors/overflow-event-constructor.html
1055                fast/events/constructors/page-transition-event-constructor.html
1056                fast/events/constructors/pop-state-event-constructor.html
1057                fast/events/constructors/progress-event-constructor.html
1058                fast/events/constructors/track-event-constructor.html
1059                fast/events/constructors/webkit-animation-event-constructor.html
1060                fast/events/constructors/webkit-transition-event-constructor.html
1061
1062         * bindings/generic/EventConstructors.h: Removed. This is what we wanted to do in this patch.
1063         * bindings/js/JSEventConstructors.cpp: Ditto.
1064         * GNUmakefile.list.am: Removed EventConstructors.h and JSEventConstructors.cpp.
1065         * Target.pri: Ditto.
1066         * UseJSC.cmake: Ditto.
1067         * WebCore.gypi: Ditto.
1068         * WebCore.vcproj/WebCore.vcproj: Ditto.
1069         * WebCore.xcodeproj/project.pbxproj: Ditto.
1070         * bindings/js/JSBindingsAllInOne.cpp: Ditto.
1071
1072         * bindings/scripts/CodeGeneratorJS.pm:
1073         (GenerateHeader): Added JSDictionary.h.
1074         (GenerateConstructorDeclaration): Added a header for fillXXXXEventInit(...).
1075         (GenerateConstructorDefinition): Generates an Event constructor. The generated code is the same as the code that had been written in JSEventConstructors.cpp.
1076         (IsConstructable): Judges if a given interface is constructable.
1077         (IsConstructorTemplate): Judges if a given interface has a given template, e.g. judges if an interface has [ConstructorTemplate=Event].
1078
1079         * bindings/scripts/test/TestEventConstructor.idl: Changed 'CustomConstructor=Event' to 'ConstructorTemplate=Event'. We should have changed this in r100108.
1080         * bindings/scripts/test/JS/JSTestEventConstructor.cpp: Updated a run-bindings-tests result.
1081         (WebCore::JSTestEventConstructorConstructor::constructJSTestEventConstructor):
1082         (WebCore::fillTestEventConstructorInit):
1083         * bindings/scripts/test/JS/JSTestEventConstructor.h: Ditto.
1084         * bindings/scripts/test/V8/V8TestEventConstructor.cpp: Ditto.
1085         (WebCore::V8TestEventConstructor::constructorCallback):
1086         (WebCore::fillTestEventConstructorInit):
1087         * bindings/scripts/test/V8/V8TestEventConstructor.h: Ditto.
1088
1089         * dom/BeforeLoadEvent.idl: In essence, replaced [JSCustomConstructor] IDL with [JSConstructorTemplate=Event] IDL.
1090         * dom/CustomEvent.idl: Ditto.
1091         * dom/ErrorEvent.idl: Ditto.
1092         * dom/Event.idl: Ditto.
1093         * dom/HashChangeEvent.idl: Ditto.
1094         * dom/MessageEvent.idl: Ditto.
1095         * dom/OverflowEvent.idl: Ditto.
1096         * dom/PageTransitionEvent.idl: Ditto.
1097         * dom/PopStateEvent.idl: Ditto.
1098         * dom/ProgressEvent.idl: Ditto.
1099         * dom/WebKitAnimationEvent.idl: Ditto.
1100         * dom/WebKitTransitionEvent.idl: Ditto.
1101         * html/track/TrackEvent.idl: Ditto.
1102         * websockets/CloseEvent.idl: Ditto.
1103
1104 2011-11-16  Dean Jackson  <dino@apple.com>
1105
1106         Build fix for Apple WebKit due to r100560.
1107         When I removed the violating header file it lost the
1108         reference to Color.
1109
1110         No review.
1111
1112         * platform/graphics/filters/FilterOperation.h:
1113
1114 2011-11-16  Dean Jackson  <dino@apple.com>
1115
1116         DropShadowFilterOperation violates platform isolation
1117         https://bugs.webkit.org/show_bug.cgi?id=72544
1118
1119         Reviewed by Simon Fraser.
1120
1121         Move ShadowData properties into the DropShadowFilterOperation
1122         to avoid depending on something outside platform.
1123
1124         * css/CSSComputedStyleDeclaration.cpp:
1125         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
1126         * css/CSSStyleSelector.cpp:
1127         (WebCore::CSSStyleSelector::createFilterOperations):
1128         * platform/graphics/filters/FilterOperation.h:
1129         (WebCore::DropShadowFilterOperation::create):
1130         (WebCore::DropShadowFilterOperation::x):
1131         (WebCore::DropShadowFilterOperation::y):
1132         (WebCore::DropShadowFilterOperation::stdDeviation):
1133         (WebCore::DropShadowFilterOperation::color):
1134         (WebCore::DropShadowFilterOperation::operator==):
1135         (WebCore::DropShadowFilterOperation::DropShadowFilterOperation):
1136
1137 2011-11-16  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1138
1139         Use a simple page client for user consent in getUserMedia()
1140         https://bugs.webkit.org/show_bug.cgi?id=70897
1141
1142         Reviewed by Adam Barth.
1143
1144         This is one in a series of patches that update the MediaStream feature
1145         to use WebCore platform interfaces.
1146
1147         Covered by existing tests.
1148
1149         * GNUmakefile.list.am:
1150         * WebCore.gypi:
1151         * mediastream/MediaStreamClient.h: Removed.
1152         * mediastream/MediaStreamController.cpp: Removed.
1153         * mediastream/MediaStreamController.h: Removed.
1154         * mediastream/MediaStreamFrameController.cpp: Removed.
1155         * mediastream/MediaStreamFrameController.h: Removed.
1156         * mediastream/UserMediaClient.h: Added.
1157         (WebCore::UserMediaClient::~UserMediaClient):
1158         * mediastream/UserMediaRequest.cpp: Added.
1159         (WebCore::UserMediaRequest::create):
1160         (WebCore::UserMediaRequest::UserMediaRequest):
1161         (WebCore::UserMediaRequest::~UserMediaRequest):
1162         (WebCore::UserMediaRequest::start):
1163         (WebCore::UserMediaRequest::mediaStreamSourcesQueryCompleted):
1164         (WebCore::UserMediaRequest::succeed):
1165         (WebCore::UserMediaRequest::fail):
1166         (WebCore::UserMediaRequest::contextDestroyed):
1167         (WebCore::UserMediaRequest::parseOptions):
1168         * mediastream/UserMediaRequest.h: Added.
1169         (WebCore::UserMediaRequest::audio):
1170         (WebCore::UserMediaRequest::video):
1171         (WebCore::UserMediaRequest::cameraPreferenceUser):
1172         (WebCore::UserMediaRequest::cameraPreferenceEnvironment):
1173         (WebCore::UserMediaRequest::successCallback):
1174         (WebCore::UserMediaRequest::errorCallback):
1175         * page/CallbackTask.h: Removed.
1176         * page/Frame.cpp:
1177         (WebCore::Frame::Frame):
1178         (WebCore::Frame::~Frame):
1179         (WebCore::Frame::pageDestroyed):
1180         (WebCore::Frame::transferChildFrameToNewDocument):
1181         * page/Frame.h:
1182         * page/Navigator.cpp:
1183         (WebCore::Navigator::webkitGetUserMedia):
1184         * page/NavigatorUserMediaErrorCallback.h:
1185         * page/Page.cpp:
1186         (WebCore::Page::Page):
1187         (WebCore::Page::~Page):
1188         (WebCore::Page::PageClients::PageClients):
1189         * page/Page.h:
1190         (WebCore::Page::userMediaClient):
1191
1192 2011-11-16  David Grogan  <dgrogan@chromium.org>
1193
1194         instantiate WorkerEventQueue in WorkerContext
1195         https://bugs.webkit.org/show_bug.cgi?id=72528
1196
1197         Reviewed by David Levin.
1198
1199         No new tests - nothing uses it yet.
1200
1201         * workers/WorkerContext.cpp:
1202         (WebCore::WorkerContext::WorkerContext):
1203         Instantiate WorkerEventQueue in InitializerList
1204
1205         * workers/WorkerEventQueue.h:
1206         Don't inherit from RefCounted, WorkerContext has an OwnPtr to it
1207
1208 2011-11-16  Kentaro Hara  <haraken@chromium.org>
1209
1210         Unreviewed. Rebaselined run-bindings-tests results.
1211
1212         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
1213         (WebCore::JSTestEventConstructor::JSTestEventConstructor):
1214         (WebCore::JSTestEventConstructorOwner::finalize):
1215         * bindings/scripts/test/JS/JSTestEventConstructor.h:
1216         (WebCore::JSTestEventConstructor::impl):
1217         (WebCore::JSTestEventConstructor::releaseImpl):
1218         * bindings/scripts/test/JS/JSTestInterface.cpp:
1219         (WebCore::JSTestInterface::JSTestInterface):
1220         (WebCore::JSTestInterfaceOwner::finalize):
1221         * bindings/scripts/test/JS/JSTestInterface.h:
1222         (WebCore::JSTestInterface::impl):
1223         (WebCore::JSTestInterface::releaseImpl):
1224         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
1225         (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
1226         (WebCore::JSTestMediaQueryListListenerOwner::finalize):
1227         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
1228         (WebCore::JSTestMediaQueryListListener::impl):
1229         (WebCore::JSTestMediaQueryListListener::releaseImpl):
1230         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
1231         (WebCore::JSTestNamedConstructor::JSTestNamedConstructor):
1232         (WebCore::JSTestNamedConstructorOwner::finalize):
1233         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
1234         (WebCore::JSTestNamedConstructor::impl):
1235         (WebCore::JSTestNamedConstructor::releaseImpl):
1236         * bindings/scripts/test/JS/JSTestObj.cpp:
1237         (WebCore::JSTestObj::JSTestObj):
1238         (WebCore::JSTestObjOwner::finalize):
1239         * bindings/scripts/test/JS/JSTestObj.h:
1240         (WebCore::JSTestObj::impl):
1241         (WebCore::JSTestObj::releaseImpl):
1242         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
1243         (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
1244         (WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
1245         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
1246         (WebCore::JSTestSerializedScriptValueInterface::impl):
1247         (WebCore::JSTestSerializedScriptValueInterface::releaseImpl):
1248
1249 2011-11-16  Jay Civelli  <jcivelli@chromium.org>
1250
1251         Make sure MHTML documents use the domain of the MHTML file.
1252         https://bugs.webkit.org/show_bug.cgi?id=72445
1253
1254         Reviewed by Adam Barth.
1255
1256         * dom/Document.h:
1257         (WebCore::Document::setBaseURL):
1258         * loader/FrameLoader.cpp:
1259         (WebCore::FrameLoader::receivedFirstData):
1260
1261 2011-11-16  Julien Chaffraix  <jchaffraix@webkit.org>
1262
1263         Update supported display list after -webkit-grid and -webkit-inline-grid addition
1264         https://bugs.webkit.org/show_bug.cgi?id=72559
1265
1266         Reviewed by Tony Chang.
1267
1268         * css/CSSParser.cpp:
1269         (WebCore::CSSParser::parseValue): Added the 2 new supported
1270         values (forgotten in the previous change).
1271
1272 2011-11-11  Adrienne Walker  <enne@google.com>
1273
1274         [chromium] Expose mock scrollbars to window.internals
1275         https://bugs.webkit.org/show_bug.cgi?id=72195
1276
1277         Reviewed by James Robinson.
1278
1279         * testing/Internals.cpp:
1280         (WebCore::Internals::setMockScrollbarsEnabled):
1281         * testing/Internals.h:
1282         * testing/Internals.idl:
1283
1284 2011-11-16  Michael Nordman  <michaeln@google.com>
1285
1286         ApplicationCache manifest should work with any MIME type.
1287         https://bugs.webkit.org/show_bug.cgi?id=72082
1288
1289         Reviewed by Alexey Proskuryakov.
1290
1291         * loader/appcache/ApplicationCacheGroup.cpp:
1292         (WebCore::ApplicationCacheGroup::didReceiveManifestResponse): Remove the test for a particular type.
1293
1294 2011-11-16  Daniel Sievers  <sievers@chromium.org>
1295
1296         [Chromium] Avoid color mask operations for root layers
1297         https://bugs.webkit.org/show_bug.cgi?id=72452
1298
1299         Instead of relying on the combination of clearing the surface and initializing
1300         the alpha channel to 1.0 followed by disabling alpha in the color mask when
1301         rendering the root layer tiles, add shaders to support writing out opaque layers
1302         (alpha channel values written as 1.0).
1303
1304         Reviewed by James Robinson.
1305
1306         No functional change made that requires new tests.
1307
1308         * platform/graphics/chromium/LayerRendererChromium.cpp:
1309         (WebCore::LayerRendererChromium::drawLayersInternal):
1310         (WebCore::LayerRendererChromium::initializeSharedObjects):
1311         (WebCore::LayerRendererChromium::tilerProgramOpaque):
1312         (WebCore::LayerRendererChromium::tilerProgramOpaqueAA):
1313         (WebCore::LayerRendererChromium::tilerProgramSwizzleOpaque):
1314         (WebCore::LayerRendererChromium::tilerProgramSwizzleOpaqueAA):
1315         (WebCore::LayerRendererChromium::cleanupSharedObjects):
1316         * platform/graphics/chromium/LayerRendererChromium.h:
1317         * platform/graphics/chromium/ShaderChromium.cpp:
1318         (WebCore::FragmentTexOpaqueBinding::FragmentTexOpaqueBinding):
1319         (WebCore::FragmentTexOpaqueBinding::init):
1320         (WebCore::FragmentShaderRGBATexOpaque::getShaderString):
1321         (WebCore::FragmentShaderRGBATexSwizzleOpaque::getShaderString):
1322         (WebCore::FragmentTexClampOpaqueAABinding::FragmentTexClampOpaqueAABinding):
1323         (WebCore::FragmentTexClampOpaqueAABinding::init):
1324         (WebCore::FragmentShaderRGBATexClampOpaqueAA::getShaderString):
1325         (WebCore::FragmentShaderRGBATexClampSwizzleOpaqueAA::getShaderString):
1326         * platform/graphics/chromium/ShaderChromium.h:
1327         (WebCore::FragmentTexOpaqueBinding::alphaLocation):
1328         (WebCore::FragmentTexOpaqueBinding::samplerLocation):
1329         (WebCore::FragmentTexClampOpaqueAABinding::alphaLocation):
1330         (WebCore::FragmentTexClampOpaqueAABinding::samplerLocation):
1331         (WebCore::FragmentTexClampOpaqueAABinding::fragmentTexTransformLocation):
1332         (WebCore::FragmentTexClampOpaqueAABinding::edgeLocation):
1333         * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
1334         (WebCore::CCTiledLayerImpl::draw):
1335         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
1336
1337 2011-11-16  Tim Horton  <timothy_horton@apple.com>
1338
1339         Implement CSS3 Images cross-fade() image function
1340         https://bugs.webkit.org/show_bug.cgi?id=52162
1341         <rdar://problem/10209254>
1342
1343         Reviewed by Simon Fraser.
1344
1345         Render -webkit-cross-fade. Only cross-fades entirely composed of images will render for now,
1346         cross-fades involving generated images are not yet implemented.
1347
1348         Reorganize GeneratedImage to be the base class for GeneratorGeneratedImage and CrossfadeGeneratedImage.
1349
1350         Add a pending state to CSSImageGeneratorValue, which is used to enable the pending-images loading
1351         mechanism for -webkit-cross-fade's sub-images. Rework the logic in CSSStyleSelector to support pending
1352         generated images.
1353         
1354         Support parsing fractional values for the cross-fade amount (for example, 0.5 = 50%). Clamp cross-fade
1355         amount to 0-1 range.
1356
1357         Tests: css3/images/cross-fade-invalidation.html
1358                css3/images/cross-fade-simple.html
1359                css3/images/cross-fade-sizing.html
1360                css3/images/cross-fade-tiled.html
1361
1362         * CMakeLists.txt:
1363         * GNUmakefile.list.am:
1364         * Target.pri:
1365         * WebCore.gypi:
1366         * WebCore.xcodeproj/project.pbxproj:
1367         * css/CSSCanvasValue.h:
1368         (WebCore::CSSCanvasValue::isPending):
1369         (WebCore::CSSCanvasValue::loadSubimages):
1370         * css/CSSCrossfadeValue.cpp:
1371         (WebCore::CSSCrossfadeValue::isPending):
1372         (WebCore::CSSCrossfadeValue::loadSubimages):
1373         (WebCore::subimageIsPending):
1374         (WebCore::loadSubimage):
1375         (WebCore::cachedImageForCSSValue):
1376         (WebCore::CSSCrossfadeValue::image):
1377         (WebCore::CSSCrossfadeValue::crossfadeChanged):
1378         * css/CSSCrossfadeValue.h:
1379         (WebCore::CSSCrossfadeValue::create):
1380         (WebCore::CSSCrossfadeValue::~CSSCrossfadeValue):
1381         (WebCore::CSSCrossfadeValue::fixedSize):
1382         (WebCore::CSSCrossfadeValue::CSSCrossfadeValue):
1383         (WebCore::CSSCrossfadeValue::CrossfadeObserverProxy::CrossfadeObserverProxy):
1384         * css/CSSGradientValue.cpp:
1385         (WebCore::CSSGradientValue::image):
1386         * css/CSSGradientValue.h:
1387         (WebCore::CSSGradientValue::isPending):
1388         (WebCore::CSSGradientValue::loadSubimages):
1389         * css/CSSImageGeneratorValue.cpp:
1390         (WebCore::CSSImageGeneratorValue::generatedOrPendingImage):
1391         (WebCore::CSSImageGeneratorValue::generatedImage):
1392         (WebCore::CSSImageGeneratorValue::isPending):
1393         (WebCore::CSSImageGeneratorValue::loadSubimages):
1394         * css/CSSImageGeneratorValue.h:
1395         * css/CSSParser.cpp:
1396         (WebCore::CSSParser::parseCrossfade):
1397         * css/CSSStyleSelector.cpp:
1398         (WebCore::CSSStyleSelector::styleImage):
1399         (WebCore::CSSStyleSelector::generatedOrPendingFromValue):
1400         (WebCore::CSSStyleSelector::loadPendingImage):
1401         (WebCore::CSSStyleSelector::loadPendingImages):
1402         * css/CSSStyleSelector.h:
1403         * platform/graphics/BitmapImage.h:
1404         * platform/graphics/CrossfadeGeneratedImage.cpp: Added.
1405         (WebCore::CrossfadeGeneratedImage::CrossfadeGeneratedImage):
1406         (WebCore::CrossfadeGeneratedImage::~CrossfadeGeneratedImage):
1407         (WebCore::CrossfadeGeneratedImage::drawCrossfade):
1408         (WebCore::CrossfadeGeneratedImage::draw):
1409         (WebCore::CrossfadeGeneratedImage::drawPattern):
1410         (WebCore::CrossfadeGeneratedImage::imageChanged):
1411         * platform/graphics/CrossfadeGeneratedImage.h: Added.
1412         (WebCore::CrossfadeGeneratedImage::create):
1413         (WebCore::CrossfadeSubimageObserverProxy::CrossfadeSubimageObserverProxy):
1414         (WebCore::CrossfadeSubimageObserverProxy::setReady):
1415         * platform/graphics/GeneratedImage.h:
1416         (WebCore::GeneratedImage::GeneratedImage):
1417         * platform/graphics/GeneratorGeneratedImage.cpp: Renamed from Source/WebCore/platform/graphics/GeneratedImage.cpp.
1418         (WebCore::GeneratorGeneratedImage::draw):
1419         (WebCore::GeneratorGeneratedImage::drawPattern):
1420         (WebCore::GeneratedImage::computeIntrinsicDimensions):
1421         * platform/graphics/GeneratorGeneratedImage.h: Copied from Source/WebCore/platform/graphics/GeneratedImage.h.
1422         (WebCore::GeneratorGeneratedImage::create):
1423         (WebCore::GeneratorGeneratedImage::~GeneratorGeneratedImage):
1424         (WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage):
1425         * platform/graphics/Image.h:
1426         * platform/graphics/ImageBuffer.h:
1427         * rendering/style/StylePendingImage.h:
1428         (WebCore::StylePendingImage::create):
1429         (WebCore::StylePendingImage::data):
1430         (WebCore::StylePendingImage::cssImageValue):
1431         (WebCore::StylePendingImage::cssImageGeneratorValue):
1432         (WebCore::StylePendingImage::StylePendingImage):
1433
1434
1435 2011-11-16  Dan Bernstein  <mitz@apple.com>
1436
1437         WebCore part of <rdar://problem/10262242> Add API for paginated display
1438         https://bugs.webkit.org/show_bug.cgi?id=72537
1439
1440         Reviewed by Anders Carlsson.
1441
1442         * WebCore.exp.in: Exported Page::pageCount().
1443         * page/Page.cpp:
1444         (WebCore::Page::pageCount): Added this getter.
1445         * page/Page.h:
1446
1447 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
1448
1449         [chromium] Track property changes for render surfaces.
1450         https://bugs.webkit.org/show_bug.cgi?id=72521
1451
1452         Reviewed by James Robinson.
1453
1454         Created CCRenderSurfaceTest for testing.
1455
1456         * platform/graphics/chromium/LayerRendererChromium.cpp:
1457         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
1458         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1459         (WebCore::CCLayerImpl::resetPropertyChangedFlagForSubtree):
1460         * platform/graphics/chromium/cc/CCLayerImpl.h:
1461         * platform/graphics/chromium/cc/CCRenderSurface.cpp:
1462         (WebCore::CCRenderSurface::CCRenderSurface):
1463         (WebCore::CCRenderSurface::setClipRect):
1464         (WebCore::CCRenderSurface::setContentRect):
1465         (WebCore::CCRenderSurface::surfacePropertyChanged):
1466         * platform/graphics/chromium/cc/CCRenderSurface.h:
1467         (WebCore::CCRenderSurface::resetPropertyChangedFlag):
1468
1469 2011-11-16  Ben Wells  <benwells@chromium.org>
1470
1471         Seaming on border corners with mixed colour alpha borders
1472         https://bugs.webkit.org/show_bug.cgi?id=70471
1473
1474         Reviewed by Simon Fraser.
1475
1476         Seaming is fixed by antialiasing mitred corners for edges that have alpha and are joining
1477         a side that is of a different color.
1478
1479         Test: fast/borders/border-mixed-alpha.html
1480
1481         * rendering/RenderBoxModelObject.cpp:
1482         (WebCore::colorNeedsAntiAliasAtCorner):
1483         (WebCore::RenderBoxModelObject::paintOneBorderSide):
1484
1485 2011-11-16  Sam Weinig  <sam@webkit.org>
1486
1487         JS wrappers of DOM objects should have no-op constructors
1488         https://bugs.webkit.org/show_bug.cgi?id=72556
1489
1490         Reviewed by Geoffrey Garen.
1491
1492         Stop using a RefPtr to hold DOM objects contained by JavaScript
1493         wrappers and instead use a raw pointer. We were already releasing
1494         the underlying object before the destructor ran (via the finalizer)
1495         so the default behavior of destroying the RefPtr is always unnecessary
1496         busy work. 
1497
1498         * bindings/js/JSCSSValueCustom.cpp:
1499         (WebCore::JSCSSValueOwner::finalize):
1500         * bindings/js/JSNodeCustom.cpp:
1501         (WebCore::JSNodeOwner::finalize):
1502         (WebCore::JSNode::visitChildren):
1503         Call releaseImpl() instead of clearImpl().
1504
1505         * bindings/scripts/CodeGeneratorJS.pm:
1506         (GenerateHeader):
1507         Stop storing m_impl in a RefPtr and instead use a raw pointer. Switch
1508         clearImpl() to releaseImpl(), which explicitly derefs the pointer and
1509         clear it.
1510
1511         (GenerateImplementation):
1512         Use leakPtr() to explicitly adopt the PassRefPtr into the raw pointer.
1513         Change default finalize to call releaseImpl() instead of clearImpl().
1514
1515 2011-11-16  Michael Saboff  <msaboff@apple.com>
1516
1517         Enable 8 Bit Strings in JavaScriptCore
1518         https://bugs.webkit.org/show_bug.cgi?id=71337
1519
1520         This patch turns on 8 bit strings in StringImpl and enables
1521         their use in JavaScriptCore. Some of the changes are to
1522         turn on code that had been staged (Lexer.cpp, Identifier.cpp,
1523         SmallStrings.cpp and some of StringImpl.{h,cpp}).
1524         Other changes are minor fixes to make 8 bit strings work
1525         (UString.h, StringImpl::getData16SlowCase()).
1526         Changed StringBuffer to be a templated class based on character
1527         type.  This change riplled into WebCore code as well.
1528
1529         Reviewed by Geoffrey Garen.
1530
1531         No new tests - Changes in response to refactoring StringBuffer to
1532         be a template on character type.
1533
1534         * css/CSSParser.cpp:
1535         (WebCore::quoteCSSString):
1536         * css/CSSPrimitiveValue.cpp:
1537         (WebCore::formatNumber):
1538         * dom/Document.cpp:
1539         (WebCore::canonicalizedTitle):
1540         * platform/Length.cpp:
1541         (WebCore::newCoordsArray):
1542         * platform/sql/SQLiteStatement.cpp:
1543         (WebCore::SQLiteStatement::prepare):
1544         * platform/text/TextCodecUTF16.cpp:
1545         (WebCore::TextCodecUTF16::decode):
1546         * platform/text/TextCodecUTF8.cpp:
1547         (WebCore::TextCodecUTF8::decode):
1548         * rendering/RenderText.cpp:
1549         (WebCore::makeCapitalized):
1550         * xml/XSLTProcessorLibxslt.cpp:
1551         (WebCore::writeToStringBuilder):
1552
1553 2011-11-16  Alexandre Elias  <aelias@google.com>
1554
1555         [chromium] Improvements for page scale delta during commit
1556         https://bugs.webkit.org/show_bug.cgi?id=72471
1557
1558         Reviewed by James Robinson.
1559
1560         Page scale now follows the same commit flow as scroll position:
1561         the delta is folded into m_pageScale at BFAC time, and a "sent" value
1562         is preserved for temporary use until the commit finishes.
1563
1564         I also merged setPageScaleFactor and setPageScaleFactorLimits into one
1565         function on the impl side.  The reason is that setPageFactor must
1566         be applied after the limits are updated, but on the other hand setting
1567         the limits first may cause an unnecessary clamp of the scale delta.
1568         Merging the methods avoids this bind.
1569
1570         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
1571
1572         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1573         (WebCore::CCLayerTreeHost::finishCommitOnImplThread):
1574         (WebCore::CCLayerTreeHost::applyScrollAndScale):
1575         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
1576         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1577         (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
1578         (WebCore::CCLayerTreeHostImpl::setPageScaleFactorAndLimits):
1579         (WebCore::CCLayerTreeHostImpl::adjustScrollsForPageScaleChange):
1580         (WebCore::CCLayerTreeHostImpl::setScaleDelta):
1581         (WebCore::CCLayerTreeHostImpl::applyScaleDeltaToScrollLayer):
1582         (WebCore::CCLayerTreeHostImpl::scrollRootLayer):
1583         (WebCore::CCLayerTreeHostImpl::processScrollDeltas):
1584         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
1585
1586 2011-11-16  Joshua Bell  <jsbell@chromium.org>
1587
1588         IndexedDB: Reduce nested key depth threshold, re-enable flaky test
1589         https://bugs.webkit.org/show_bug.cgi?id=72529
1590
1591         Reviewed by Adam Barth.
1592
1593         Drop maximum array key depth from 20k to 2k.
1594
1595         * bindings/v8/IDBBindingUtilities.cpp:
1596
1597 2011-11-16  Nate Chapin  <japhet@chromium.org>
1598
1599         Fix incorrect multipart handling in r100311.
1600         SubresourceLoader::didReceiveData() is getting called
1601         twice, which has unintended side effects.
1602         https://bugs.webkit.org/show_bug.cgi?id=72436
1603
1604         Reviewed by Adam Barth.
1605
1606         http/tests/multipart/invalid-image-data.html should stop
1607         asserting after this.
1608
1609         * loader/SubresourceLoader.cpp:
1610         (WebCore::SubresourceLoader::didReceiveResponse):
1611         (WebCore::SubresourceLoader::didReceiveData):
1612         (WebCore::SubresourceLoader::sendDataToResource):
1613         * loader/SubresourceLoader.h:
1614
1615 2011-11-16  Justin Schuh  <jschuh@chromium.org>
1616
1617         Clear SVG filter client when its node is detached
1618         https://bugs.webkit.org/show_bug.cgi?id=71741
1619
1620         Reviewed by Eric Seidel.
1621
1622         Test: svg/filters/reparent-animated-filter-target.html
1623
1624         * rendering/svg/SVGResourcesCache.cpp:
1625         (WebCore::SVGResourcesCache::clientDestroyed):
1626
1627 2011-11-16  John Bates  <jbates@google.com>
1628
1629         Page/layer flashes after GPU-accelerated CSS transition
1630         https://bugs.webkit.org/show_bug.cgi?id=72343
1631
1632         LayerRendererChromium was resizing the window to 1x1 at initialization.
1633         In some cases, there is no drawLayers before switching back to
1634         software rendering. This left the window resized to 1x1 and the
1635         following software paints would therefore not be visible. This change
1636         moves the reshape call into drawLayers so that it will only be called
1637         if rendering will occur.
1638
1639         Reviewed by James Robinson.
1640
1641         New test: CCLayerTreeHostImplTest.reshapeNotCalledUntilDraw.
1642
1643         * platform/graphics/chromium/LayerRendererChromium.cpp:
1644         (WebCore::LayerRendererChromium::viewportChanged):
1645         (WebCore::LayerRendererChromium::doViewportChanged):
1646         (WebCore::LayerRendererChromium::drawLayersInternal):
1647         * platform/graphics/chromium/LayerRendererChromium.h:
1648
1649 2011-11-16  Alexandre Elias  <aelias@google.com>
1650
1651         [chromium] Add null pointer check in setDeviceScaleFactor
1652         https://bugs.webkit.org/show_bug.cgi?id=72464
1653
1654         Reviewed by James Robinson.
1655
1656         No new tests. (Tiny fix.)
1657
1658         * page/Page.cpp:
1659         (WebCore::Page::setDeviceScaleFactor):
1660
1661 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1662
1663         Unreviewed, rolling out r100438.
1664         http://trac.webkit.org/changeset/100438
1665         https://bugs.webkit.org/show_bug.cgi?id=72536
1666
1667         Broke unit tests (Requested by jamesr_ on #webkit).
1668
1669         * platform/PlatformScreen.h:
1670         * platform/chromium/PlatformScreenChromium.cpp:
1671         * platform/chromium/PlatformSupport.h:
1672         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
1673         (WebCore::CCSettings::CCSettings):
1674         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
1675         (WebCore::CCThreadProxy::initializeImplOnImplThread):
1676
1677 2011-11-16  Andy Estes  <aestes@apple.com>
1678
1679         Assertion failure in LayerFlushScheduler::resume() when running some layout tests in WebKitTestRunner
1680         https://bugs.webkit.org/show_bug.cgi?id=72535
1681
1682         Reviewed by Anders Carlsson.
1683
1684         LayerFlushScheduler attempted to use a counter strategy for calls to
1685         suspend() and resume(), which allowed us to assert that these calls
1686         were balanced. Unfortunately it is hard to guarantee this in WebKit2,
1687         where we sometimes try to call suspend() before we've entered
1688         compositing mode (hence before we have a LayerTreeHost and a
1689         LayerFlushScheduler). When we later call resume(), this call ends up
1690         being unbalanced and asserts.
1691
1692         For now, remove the assertions and allow unbalanced calls to suspend()
1693         and resume().
1694
1695         * platform/graphics/ca/LayerFlushScheduler.cpp:
1696         (WebCore::LayerFlushScheduler::suspend):
1697         (WebCore::LayerFlushScheduler::resume):
1698         * platform/graphics/ca/LayerFlushScheduler.h:
1699         * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
1700         (WebCore::LayerFlushScheduler::LayerFlushScheduler):
1701         (WebCore::LayerFlushScheduler::runLoopObserverCallback):
1702         (WebCore::LayerFlushScheduler::schedule):
1703
1704 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1705
1706         Unreviewed, rolling out r100473.
1707         http://trac.webkit.org/changeset/100473
1708         https://bugs.webkit.org/show_bug.cgi?id=72534
1709
1710         "Broke the Mac Build" (Requested by mwenge2 on #webkit).
1711
1712         * CMakeLists.txt:
1713         * GNUmakefile.list.am:
1714         * Target.pri:
1715         * WebCore.gypi:
1716         * rendering/RenderBlock.cpp:
1717         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
1718         * rendering/RenderObject.cpp:
1719         (WebCore::RenderObject::createObject):
1720         (WebCore::RenderObject::addChild):
1721         * rendering/RenderObject.h:
1722         * rendering/RenderTable.cpp:
1723         (WebCore::RenderTable::addChild):
1724         * rendering/RenderTable.h:
1725         * rendering/RenderTableCaption.cpp: Removed.
1726         * rendering/RenderTableCaption.h: Removed.
1727
1728 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1729
1730         Unreviewed, rolling out r100479.
1731         http://trac.webkit.org/changeset/100479
1732         https://bugs.webkit.org/show_bug.cgi?id=72533
1733
1734         "Broke the Mac Build" (Requested by mwenge2 on #webkit).
1735
1736         * WebCore.vcproj/WebCore.vcproj:
1737         * WebCore.xcodeproj/project.pbxproj:
1738         * rendering/RenderingAllInOne.cpp:
1739
1740 2011-11-16  Chris Fleizach  <cfleizach@apple.com>
1741
1742         WebKitTestRunner needs to support accessibility-related DRT APIs
1743         https://bugs.webkit.org/show_bug.cgi?id=42131
1744
1745         Minor changes needed to support AX testing in WKTestRunner.
1746
1747         Reviewed by Beth Dakin.
1748
1749         * WebCore.exp.in:
1750              Expose focusedUIElementForPage so that the WK2 injected bundle can retrieve it.
1751         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
1752         (accessibilitySearchKeyForString):
1753             Remove an unncessary assert that was causing issues with the WK2 test run.
1754
1755 2011-11-16  Sergio Villar Senin  <svillar@igalia.com>
1756
1757         [Soup] Somet tests fail with FAIL Unexpected response data received: Wrong method: GET
1758         https://bugs.webkit.org/show_bug.cgi?id=69219
1759
1760         Reviewed by Martin Robinson.
1761
1762         Do not stop appending data to the request body if any of the blob
1763         items to upload is not accesible.
1764
1765         * platform/network/soup/ResourceHandleSoup.cpp:
1766         (WebCore::addEncodedBlobToSoupMessageBody):
1767
1768 2011-11-16  Beth Dakin  <bdakin@apple.com>
1769
1770         https://bugs.webkit.org/show_bug.cgi?id=72400
1771         Scrollbar uiStateTransitionProgress requires tracking the mouse all the time
1772         -and corresponding-
1773         <rdar://problem/10409328>
1774
1775         Reviewed by Darin Adler.
1776
1777         This patch makes it so we track the mouse all the time when we have legacy 
1778         scrollbars (rather than only tracking the mouse when the window is key). When 
1779         we're in that mode, we want to do as little work as possible when handling the 
1780         mouseMoved event so that this extra tracking has little to no performance impact. 
1781         Also, we don't want to change basic behaviors by having normal web content hover 
1782         effects start happening when a window is in the background. So this patch also 
1783         introduces a way to handle a mouseMoved event that will only affect scrollbars.
1784
1785         EventHandler::mouseMoved() and EventHandler::handleMouseEvent() both now take a 
1786         boolean parameter that indicates if we are only updating scrollbars. If that is 
1787         the case, then we make our HitTestRequest ReadOnly, and we return early once 
1788         updateLastScrollbarUnderMouse() is called.
1789         * WebCore.exp.in:
1790         * page/EventHandler.cpp:
1791         (WebCore::EventHandler::mouseMoved):
1792         (WebCore::EventHandler::handleMouseMoveEvent):
1793
1794         In addition to calling Scrollbar::mouseExited() when appropriate, this function 
1795         now calls a new function, Scrollbar::mouseEntered() when appropriate. 
1796         (WebCore::EventHandler::updateLastScrollbarUnderMouse):
1797         * page/EventHandler.h:
1798
1799         Scrollbar::mouseMoved() used to be responsible for calling 
1800         ScrollAnimator::mouseEnteredScrollbar(), but now Scrollbar::mouseEntered() takes 
1801         care of that instead, much like how Scrollbar::mouseExited() takes care of calling 
1802         the animator's exit function.
1803         * platform/Scrollbar.cpp:
1804         (WebCore::Scrollbar::mouseMoved):
1805         (WebCore::Scrollbar::mouseEntered):
1806         * platform/Scrollbar.h:
1807
1808 2011-11-16  Andreas Kling  <kling@webkit.org>
1809
1810         CSSValue: isInheritedValue() doesn't need a dedicated bit.
1811         <http://webkit.org/b/72514>
1812
1813         Reviewed by Antti Koivisto.
1814
1815         Remove CSSValue::m_isInherited and have isInheritedValue() check the
1816         class type instead. There's no compelling reason for CSSInheritedValue
1817         to have a dedicated bit, since nobody subclasses it anyway.
1818
1819         * css/CSSValue.h:
1820         (WebCore::CSSValue::isInheritedValue):
1821         (WebCore::CSSValue::CSSValue):
1822
1823 2011-11-16  Robert Hogan  <robert@webkit.org>
1824
1825         Fix build on Windows and Mac after r100473
1826
1827         Unreviewed, fix build.
1828
1829         * WebCore.vcproj/WebCore.vcproj:
1830         * WebCore.xcodeproj/project.pbxproj:
1831         * rendering/RenderingAllInOne.cpp:
1832
1833 2011-11-16  Philip Rogers  <pdr@google.com>
1834
1835         Remove extra GraphicsContextStateSaver restore() call.
1836         https://bugs.webkit.org/show_bug.cgi?id=72497
1837
1838         Reviewed by Andreas Kling.
1839
1840         * html/canvas/CanvasRenderingContext2D.cpp:
1841         (WebCore::CanvasRenderingContext2D::drawTextInternal):
1842
1843 2011-11-08  Robert Hogan  <robert@webkit.org>
1844
1845         CSS 2.1 failure: border-collapse-offset-002.htm fails
1846         https://bugs.webkit.org/show_bug.cgi?id=71705
1847
1848         Table captions are implemented as children of the table but have a special
1849         requirement to expand to the full width of the table rather than just the 'available'
1850         width, i.e. the full width minus padding and borders.
1851
1852         To accomodate this create a RenderTableCaption object that reimplements containingBlockLogicalWidthForContent()
1853         to return the full width of the containing block (i.e. the table) rather than the available width.
1854
1855         Reviewed by Antti Koivisto.
1856
1857         * CMakeLists.txt: Add RenderTableCaption.[cpp|h]
1858         * GNUmakefile.list.am: Add RenderTableCaption.[cpp|h]
1859         * Target.pri: Add RenderTableCaption.[cpp|h]
1860         * WebCore.gypi: Add RenderTableCaption.[cpp|h]
1861         * rendering/RenderBlock.cpp:
1862         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks): Use RenderTableCaption
1863         * rendering/RenderObject.cpp:
1864         (WebCore::RenderObject::createObject): Add RenderTableCaption.[cpp|h]
1865         (WebCore::RenderObject::addChild): ditto
1866         * rendering/RenderObject.h:
1867         (WebCore::RenderObject::isTableCaption):
1868         * rendering/RenderTable.cpp:
1869         (WebCore::RenderTable::addChild):
1870         * rendering/RenderTable.h:
1871         * rendering/RenderTableCaption.cpp: Added.
1872         (WebCore::RenderTableCaption::RenderTableCaption): Implement RenderTableCaption
1873         (WebCore::RenderTableCaption::~RenderTableCaption):
1874         (WebCore::RenderTableCaption::containingBlockLogicalWidthForContent): Return the containing block's full width rather than it's available width.
1875         * rendering/RenderTableCaption.h: Added.
1876         (WebCore::RenderTableCaption::isTableCaption):
1877         (WebCore::toRenderTableCaption):
1878
1879 2011-11-16  Antaryami Pandia  <antaryami.pandia@motorola.com>
1880
1881         [Gtk] display:none has no effect on <option> element.
1882         https://bugs.webkit.org/show_bug.cgi?id=72370
1883
1884         Reviewed by Martin Robinson.
1885
1886         * platform/gtk/GtkPopupMenu.cpp:
1887         (WebCore::GtkPopupMenu::appendItem):
1888         * platform/gtk/PopupMenuGtk.cpp:
1889         (WebCore::PopupMenuGtk::createGtkActionForMenuItem):
1890
1891 2011-11-16  Dan Winship  <danw@gnome.org>
1892
1893         [GTK] Fix platformDefersLoading to handle non-http requests, and
1894         to not use broken-ish libsoup APIs.
1895         https://bugs.webkit.org/show_bug.cgi?id=72227
1896
1897         Reviewed by Martin Robinson.
1898
1899         * platform/network/ResourceHandleInternal.h:
1900         * platform/network/soup/ResourceHandleSoup.cpp:
1901         (WebCore::sendRequestCallback):
1902         (WebCore::startHTTPRequest):
1903         (WebCore::hasBeenSent):
1904         (WebCore::ResourceHandle::platformSetDefersLoading):
1905         (WebCore::readCallback): rather than deferring by using
1906         soup_session_pause_message(), let the read complete, but just don't
1907         process the result until we're no longer deferred.
1908         (WebCore::startNonHTTPRequest): Don't start the request if
1909         it's deferred.
1910
1911 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
1912
1913         Web Inspector: Application cache status should be updated after swapCache().
1914         https://bugs.webkit.org/show_bug.cgi?id=72123
1915
1916         Reviewed by Pavel Feldman.
1917
1918         Application cache view resources and status are now updated after swapCache() call.
1919         Refresh button removed from application cache view.
1920         Application cache inspector tests are moved to their own folder.
1921
1922         Tests: http/tests/inspector/appcache/appcache-iframe-manifests.html
1923                http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html
1924                http/tests/inspector/appcache/appcache-swap.html
1925
1926         * inspector/front-end/ApplicationCacheItemsView.js:
1927         (WebInspector.ApplicationCacheItemsView):
1928         (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
1929         (WebInspector.ApplicationCacheItemsView.prototype.wasShown):
1930         (WebInspector.ApplicationCacheItemsView.prototype._maybeUpdate):
1931         (WebInspector.ApplicationCacheItemsView.prototype._markDirty):
1932         (WebInspector.ApplicationCacheItemsView.prototype.updateStatus):
1933         (WebInspector.ApplicationCacheItemsView.prototype._updateCallback):
1934         (WebInspector.ApplicationCacheItemsView.prototype._deleteCallback):
1935         * loader/appcache/ApplicationCacheGroup.cpp:
1936         (WebCore::ApplicationCacheGroup::setNewestCache):
1937         (WebCore::ApplicationCacheGroup::makeObsolete):
1938         (WebCore::ApplicationCacheGroup::setUpdateStatus):
1939         * loader/appcache/ApplicationCacheHost.cpp:
1940         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
1941         (WebCore::ApplicationCacheHost::swapCache):
1942
1943 2011-11-16  Eric Carlson  <eric.carlson@apple.com>
1944
1945         addTrack() must throw an exception if 'kind' is unknown
1946         https://bugs.webkit.org/show_bug.cgi?id=71915
1947
1948         Reviewed by Philippe Normand.
1949
1950         Tests: media/track/track-addtrack-kind.html
1951                media/track/track-kind.html
1952
1953         * html/HTMLMediaElement.cpp:
1954         (WebCore::HTMLMediaElement::textTrackKindChanged): New. Will be implemented for 62885.
1955         (WebCore::HTMLMediaElement::addTrack): Throw if  'kind' is not a known value.
1956         (WebCore::HTMLMediaElement::addTextTrack): Call textTracks(), it will allocate the track
1957             list object if necessary.
1958         (WebCore::HTMLMediaElement::textTracks): Never return NULL, a TextTrackList with no tracks
1959             is allowed.
1960         * html/HTMLMediaElement.h:
1961         (WebCore::HTMLMediaElement::addTrack): Add variants to deal with optional parameters plus
1962             a mandatory ExceptionCode parameter.
1963         * html/HTMLMediaElement.idl: addTrack can generate an exception.
1964
1965         * html/HTMLTrackElement.cpp:
1966         (WebCore::HTMLTrackElement::attributeChanged): kind, label, and srclang attribute changes should
1967             percolate down the the TextTrack.
1968         (WebCore::HTMLTrackElement::kind): Return the TextTrack kind because it is not necessarily the
1969             same as the attribute value.
1970         (WebCore::HTMLTrackElement::ensureTrack): Only pass legal 'kind' keywords to create a TextTrack.
1971         (WebCore::HTMLTrackElement::textTrackKindChanged): Notify parent element, if any.
1972         * html/HTMLTrackElement.h:
1973
1974         * html/TextTrack.cpp:
1975         (WebCore::TextTrack::subtitlesKeyword): New, return legal kind attribute value.
1976         (WebCore::TextTrack::captionsKeyword): Ditto.
1977         (WebCore::TextTrack::descriptionsKeyword): Ditto.
1978         (WebCore::TextTrack::chaptersKeyword): Ditto.
1979         (WebCore::TextTrack::metadataKeyword): Ditto.
1980         (WebCore::TextTrack::TextTrack): Call setKind to make sure m_kind is always set to legal value.
1981         (WebCore::TextTrack::isValidKindKeyword): New, validate 'kind' value.
1982         (WebCore::TextTrack::setKind): Only allow legal values.
1983         * html/TextTrack.h:
1984         (WebCore::TextTrack::kind):
1985         (WebCore::TextTrack::label):
1986         (WebCore::TextTrack::setLabel):
1987         (WebCore::TextTrack::language):
1988         (WebCore::TextTrack::setLanguage):
1989         (WebCore::TextTrack::readyState):
1990         (WebCore::TextTrack::mode):
1991
1992 2011-11-16  Andreas Kling  <kling@webkit.org>
1993
1994         CSSValue: Clean up initial value construction.
1995         <http://webkit.org/b/72502>
1996
1997         Reviewed by Antti Koivisto.
1998
1999         Instead of determining whether a given CSSInitialValue is 'implicit' or not by
2000         querying the CSSValue::ClassType (InitialClass vs. ImplicitInitialClass),
2001         add a protected CSSValue member and set it from the CSSInitialValue constructor.
2002
2003         Also get rid of the CSSValue::m_isInitial bit since we can now replace the
2004         checks by classType() == InitialClass.
2005
2006         No new tests, this is a cleanup.
2007
2008         * css/CSSInitialValue.h:
2009         (WebCore::CSSInitialValue::CSSInitialValue):
2010
2011             Poke 'implicit' constructor argument into CSSValue::m_isImplicit.
2012
2013         * css/CSSValue.cpp:
2014         (WebCore::CSSValue::cssText):
2015         (WebCore::CSSValue::destroy):
2016
2017             Remove ImplicitInitialClass cases.
2018
2019         * css/CSSValue.h:
2020         (WebCore::CSSValue::isImplicitInitialValue):
2021         (WebCore::CSSValue::isInitialValue):
2022         (WebCore::CSSValue::CSSValue):
2023
2024 2011-11-16  Antaryami Pandia  <antaryami.pandia@motorola.com>
2025
2026         Remove unnecessary if check from RenderListBox::paintItemForeground.
2027         https://bugs.webkit.org/show_bug.cgi?id=72488
2028
2029         Reviewed by Andreas Kling.
2030
2031         * rendering/RenderListBox.cpp:
2032         (WebCore::RenderListBox::paintItemForeground):
2033
2034 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
2035
2036         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
2037
2038         Reviewed by Tor Arne Vestbø.
2039
2040         * Target.pri: Eliminate duplicated symbol stuff that lives now in default_post.prf.
2041
2042 2011-11-16  Iain Merrick  <husky@google.com>
2043
2044         [chromium] Pass screen refresh rate into compositor.
2045         https://bugs.webkit.org/show_bug.cgi?id=71040
2046
2047         Reviewed by Tony Gentilcore.
2048
2049         * platform/PlatformScreen.h:
2050         * platform/chromium/PlatformScreenChromium.cpp:
2051         (WebCore::screenRefreshRate):
2052         * platform/chromium/PlatformSupport.h:
2053         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2054         (WebCore::CCSettings::CCSettings):
2055         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2056         (WebCore::CCThreadProxy::initializeImplOnImplThread):
2057
2058 2011-11-15  Andrey Kosyakov  <caseq@chromium.org>
2059
2060         Web Inspector: [Extensions API] drop ExtensionSidebarPane.onUpdated, use callbacks instead
2061         https://bugs.webkit.org/show_bug.cgi?id=72388
2062
2063         Reviewed by Pavel Feldman.
2064
2065         Tests: inspector/extensions/extensions-panel.html
2066                inspector/extensions/extensions-sidebar.html
2067
2068         - fire ExtensionSidebarPane.on{Hidden,Shown} for non-iframe content (experssions/objects);
2069         - drop ExtensionsSidebarPane.onUpdated, provide callback for setObject()/setExpression() instead;
2070         - fix an exception when a page is replaced with object/expression.
2071
2072          inspector/front-end/ExtensionAPI.js:
2073         (injectedExtensionAPI.ExtensionSidebarPaneImpl):
2074         (injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setExpression):
2075         (injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setObject):
2076         * inspector/front-end/ExtensionPanel.js:
2077         (WebInspector.ExtensionNotifierView):
2078         (WebInspector.ExtensionNotifierView.prototype.wasShown):
2079         (WebInspector.ExtensionNotifierView.prototype.willHide):
2080         (WebInspector.ExtensionSidebarPane.prototype.setObject):
2081         (WebInspector.ExtensionSidebarPane.prototype.setExpression):
2082         (WebInspector.ExtensionSidebarPane.prototype.setPage):
2083         (WebInspector.ExtensionSidebarPane.prototype._onEvaluate):
2084         (WebInspector.ExtensionSidebarPane.prototype._makeObjectPropertiesView):
2085         (WebInspector.ExtensionSidebarPane.prototype._setObject):
2086         * inspector/front-end/ExtensionServer.js:
2087         (WebInspector.ExtensionServer.prototype._onSetSidebarContent.callback):
2088         (WebInspector.ExtensionServer.prototype._onSetSidebarContent):
2089         (WebInspector.ExtensionServer.prototype._dispatchCallback):
2090         * inspector/front-end/View.js:
2091         (WebInspector.View.prototype.detach):
2092
2093 2011-11-16  Simon Hausmann  <simon.hausmann@nokia.com>
2094
2095         Unreviewed, rolling out r100266.
2096         http://trac.webkit.org/changeset/100266
2097
2098         Broke WTR.
2099
2100         * Target.pri:
2101
2102 2011-11-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
2103
2104         [GTK] fast/events/event-creation.html fails creating MediaStreamEvent
2105         https://bugs.webkit.org/show_bug.cgi?id=70720
2106
2107         Reviewed by Philippe Normand.
2108
2109         Added missing overriding of Event::interfaceName()
2110
2111         * mediastream/MediaStreamEvent.cpp:
2112         (WebCore::MediaStreamEvent::stream): Changed return value to raw pointer.
2113         (WebCore::MediaStreamEvent::interfaceName): Added back from r98044.
2114         * mediastream/MediaStreamEvent.h:
2115         * mediastream/MediaStreamEvent.idl: Changed module name to "events".
2116
2117 2011-11-16  Mario Sanchez Prada  <msanchez@igalia.com>
2118
2119         [GTK] Use GQuark's in the ATK wrapper to get and set arbitrary data
2120         https://bugs.webkit.org/show_bug.cgi?id=72394
2121
2122         Reviewed by Martin Robinson.
2123
2124         No new functionality, no new tests needed.
2125
2126         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
2127         (webkit_accessible_class_init): Initialize GQuarks.
2128         (getGailTextUtilForAtk): Use gailTextUtilQuark.
2129         (getPangoLayoutForAtk): Remove unused call to
2130         g_object_set_data_full, since that data is no used anywhere.
2131         (webkitAccessibleHyperlinkImplGetHyperlink): Use hyperlinkObjectQuark.
2132
2133 2011-11-15  Alexandru Chiculita  <achicu@adobe.com>
2134
2135         [CSSShaders] Implement the style cached resources and computed style for the shader urls
2136         https://bugs.webkit.org/show_bug.cgi?id=72378
2137
2138         Reviewed by Dean Jackson.
2139
2140         Test: css3/filters/custom-filter-property-computed-style.html
2141
2142         * GNUmakefile.list.am:
2143         * Target.pri:
2144         * WebCore.gypi:
2145         * WebCore.vcproj/WebCore.vcproj:
2146         * WebCore.xcodeproj/project.pbxproj:
2147         * css/CSSComputedStyleDeclaration.cpp:
2148         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
2149         * css/CSSStyleSelector.cpp:
2150         (WebCore::CSSStyleSelector::CSSStyleSelector):
2151         (WebCore::CSSStyleSelector::styleForKeyframe):
2152         (WebCore::CSSStyleSelector::pseudoStyleForElement):
2153         (WebCore::CSSStyleSelector::styleForPage):
2154         (WebCore::CSSStyleSelector::applyMatchedDeclarations):
2155         (WebCore::CSSStyleSelector::styleShader):
2156         (WebCore::CSSStyleSelector::cachedOrPendingStyleShaderFromValue):
2157         (WebCore::CSSStyleSelector::loadPendingShaders):
2158         (WebCore::CSSStyleSelector::createCustomFilterOperation):
2159         (WebCore::CSSStyleSelector::createFilterOperations):
2160         * css/CSSStyleSelector.h:
2161         * css/WebKitCSSShaderValue.cpp:
2162         (WebCore::WebKitCSSShaderValue::WebKitCSSShaderValue):
2163         (WebCore::WebKitCSSShaderValue::~WebKitCSSShaderValue):
2164         (WebCore::WebKitCSSShaderValue::cachedShader):
2165         (WebCore::WebKitCSSShaderValue::cachedOrPendingShader):
2166         * css/WebKitCSSShaderValue.h:
2167         * loader/cache/CachedResource.cpp:
2168         (WebCore::defaultPriorityForResourceType):
2169         * loader/cache/CachedResource.h:
2170         * loader/cache/CachedResourceLoader.cpp:
2171         (WebCore::createResource):
2172         (WebCore::CachedResourceLoader::requestShader):
2173         (WebCore::CachedResourceLoader::checkInsecureContent):
2174         (WebCore::CachedResourceLoader::canRequest):
2175         * loader/cache/CachedResourceLoader.h:
2176         * loader/cache/CachedShader.cpp:
2177         (WebCore::CachedShader::CachedShader):
2178         (WebCore::CachedShader::~CachedShader):
2179         * loader/cache/CachedShader.h:
2180         * platform/graphics/filters/CustomFilterOperation.h:
2181         * rendering/style/RenderStyle.h:
2182         (WebCore::InheritedFlags::filter):
2183         * rendering/style/StyleCachedShader.cpp:
2184         (WebCore::StyleCachedShader::StyleCachedShader):
2185         (WebCore::StyleCachedShader::cssValue):
2186         * rendering/style/StyleCachedShader.h:
2187         (WebCore::StyleCachedShader::create):
2188         * rendering/style/StylePendingShader.h:
2189         (WebCore::StylePendingShader::create):
2190         (WebCore::StylePendingShader::cssValue):
2191         (WebCore::StylePendingShader::cssShaderValue):
2192         (WebCore::StylePendingShader::StylePendingShader):
2193         * rendering/style/StyleShader.h:
2194         (WebCore::StyleShader::~StyleShader):
2195         (WebCore::StyleShader::isCachedShader):
2196         (WebCore::StyleShader::isPendingShader):
2197         (WebCore::StyleShader::StyleShader):
2198
2199 2011-11-15  Sergio Villar Senin  <svillar@igalia.com>
2200
2201         [WK2] [GTK] fast/css/webkit-mask-crash-fieldset-legend.html asserts WebKitWebProcess
2202         https://bugs.webkit.org/show_bug.cgi?id=69510
2203
2204         Reviewed by Simon Fraser.
2205
2206         End the current transparency layer before early returning from
2207         paintMask() when there is a maskBoxImage which is still being
2208         loaded. This will balance the previous call to
2209         beginTransparencyLayer().
2210
2211         * rendering/InlineFlowBox.cpp:
2212         (WebCore::InlineFlowBox::paintMask):
2213
2214 2011-11-15  Darin Adler  <darin@apple.com>
2215
2216         Incorrect type checks in RenderTheme media code
2217         https://bugs.webkit.org/show_bug.cgi?id=72184
2218
2219         Reviewed by Eric Carlson.
2220
2221         No tests added. Ideally this patch should be revised to add tests!
2222
2223         * accessibility/AccessibilityMediaControls.cpp:
2224         (WebCore::AccessibilityMediaControl::create): Use mediaControlElementType.
2225         (WebCore::AccessibilityMediaControl::controlType): Ditto.
2226         (WebCore::AccessibilityMediaTimeline::valueDescription): Use early return
2227         rather than an assertion to check type of input element.
2228
2229         * html/shadow/MediaControlElements.cpp:
2230         (WebCore::mediaControlElementType): Added. A type-safe way to get the
2231         media control element type after checking isMediaControlElement but with
2232         no other assumptions.
2233         * html/shadow/MediaControlElements.h: Added mediaControlElementType.
2234
2235         * platform/efl/RenderThemeEfl.cpp:
2236         (WebCore::RenderThemeEfl::paintMediaPlayButton): Use mediaControlElementType.
2237         (WebCore::RenderThemeEfl::paintMediaSeekBackButton): Use mediaControlElementType.
2238         (WebCore::RenderThemeEfl::paintMediaSeekForwardButton): Use mediaControlElementType.
2239         * platform/gtk/RenderThemeGtk.cpp:
2240         (WebCore::RenderThemeGtk::paintMediaPlayButton): Check isMediaControlElement and
2241         use mediaControlElementType.
2242         * rendering/RenderThemeMac.mm:
2243         (WebCore::RenderThemeMac::paintMediaMuteButton): Ditto. Also remove uneeded
2244         redundant null check.
2245         (WebCore::RenderThemeMac::paintMediaPlayButton): Ditto.
2246         (WebCore::RenderThemeMac::paintMediaToggleClosedCaptionsButton): Ditto.
2247
2248 2011-11-15  Jeff Timanus  <twiz@chromium.org>
2249
2250         [chromium] During tear down, prevent the WebGLLayerChromium instance from attempting to stop a timer for a NULL context.
2251         https://bugs.webkit.org/show_bug.cgi?id=72423
2252
2253         Reviewed by Kenneth Russell.
2254
2255         * platform/graphics/chromium/WebGLLayerChromium.cpp:
2256         (WebCore::WebGLLayerChromium::setDrawingBuffer):
2257
2258 2011-11-15  Mark Hahnenberg  <mhahnenberg@apple.com>
2259
2260         Rebaseline generated WebCore bindings
2261
2262         Unreviewed build fix
2263
2264         No new tests.
2265
2266         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
2267         (WebCore::isObservable):
2268         (WebCore::JSTestEventConstructorOwner::isReachableFromOpaqueRoots):
2269         (WebCore::JSTestEventConstructorOwner::finalize):
2270         * bindings/scripts/test/JS/JSTestEventConstructor.h:
2271         (WebCore::JSTestEventConstructor::clearImpl):
2272         (WebCore::wrapperOwner):
2273         (WebCore::wrapperContext):
2274         * bindings/scripts/test/JS/JSTestInterface.cpp:
2275         (WebCore::JSTestInterfaceOwner::finalize):
2276         * bindings/scripts/test/JS/JSTestInterface.h:
2277         (WebCore::JSTestInterface::clearImpl):
2278         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
2279         (WebCore::isObservable):
2280         (WebCore::JSTestMediaQueryListListenerOwner::isReachableFromOpaqueRoots):
2281         (WebCore::JSTestMediaQueryListListenerOwner::finalize):
2282         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
2283         (WebCore::JSTestMediaQueryListListener::clearImpl):
2284         (WebCore::wrapperOwner):
2285         (WebCore::wrapperContext):
2286         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
2287         (WebCore::JSTestNamedConstructorOwner::finalize):
2288         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
2289         (WebCore::JSTestNamedConstructor::clearImpl):
2290         * bindings/scripts/test/JS/JSTestObj.cpp:
2291         (WebCore::isObservable):
2292         (WebCore::JSTestObjOwner::isReachableFromOpaqueRoots):
2293         (WebCore::JSTestObjOwner::finalize):
2294         * bindings/scripts/test/JS/JSTestObj.h:
2295         (WebCore::JSTestObj::clearImpl):
2296         (WebCore::wrapperOwner):
2297         (WebCore::wrapperContext):
2298         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
2299         (WebCore::isObservable):
2300         (WebCore::JSTestSerializedScriptValueInterfaceOwner::isReachableFromOpaqueRoots):
2301         (WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
2302         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
2303         (WebCore::JSTestSerializedScriptValueInterface::clearImpl):
2304         (WebCore::wrapperOwner):
2305         (WebCore::wrapperContext):
2306
2307 2011-11-15  Jeff Timanus  <twiz@chromium.org>
2308
2309         Patch removing duplicated code in the setup of the DrawingBuffer used
2310         to host the back-buffer for WebGL contents.
2311         https://bugs.webkit.org/show_bug.cgi?id=72327
2312
2313         Reviewed by Kenneth Russell.
2314
2315         * html/canvas/WebGLRenderingContext.cpp:
2316         (WebCore::WebGLRenderingContext::copyTexImage2D):
2317         (WebCore::WebGLRenderingContext::copyTexSubImage2D):
2318         (WebCore::WebGLRenderingContext::readPixels):
2319
2320 2011-11-15  Mark Hahnenberg  <mhahnenberg@apple.com>
2321
2322         JS DOM wrappers depend on destructor to deref impl RefPtrs
2323         https://bugs.webkit.org/show_bug.cgi?id=72341
2324
2325         Reviewed by Sam Weinig.
2326
2327         No new tests.
2328
2329         Added clearing of impl RefPtrs to JS DOM wrapper nodes and removed the default 
2330         wrapperOwner function in favor of generating all WeakHandleOwners and wrapperOwner functions.
2331
2332         * bindings/js/JSCSSValueCustom.cpp:
2333         (WebCore::JSCSSValueOwner::finalize):
2334         * bindings/js/JSDOMBinding.h:
2335         * bindings/js/JSNodeCustom.cpp:
2336         (WebCore::JSNodeOwner::finalize):
2337         * bindings/scripts/CodeGeneratorJS.pm:
2338         (GenerateHeader):
2339         (GenerateImplementation):
2340
2341 2011-11-15  Joseph Pecoraro  <pecoraro@apple.com>
2342
2343         Web Inspector: Share Highlight Code for Drawing Outlined Quad
2344         https://bugs.webkit.org/show_bug.cgi?id=72451
2345
2346         Reviewed by Timothy Hatcher.
2347
2348         * inspector/DOMNodeHighlighter.cpp:
2349
2350 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2351
2352         Unreviewed, rolling out r100308.
2353         http://trac.webkit.org/changeset/100308
2354         https://bugs.webkit.org/show_bug.cgi?id=72450
2355
2356         Introduces WebGL conformance test regressions. (Requested by
2357         twiz on #webkit).
2358
2359         * html/canvas/WebGLRenderingContext.cpp:
2360         (WebCore::WebGLRenderingContext::copyTexImage2D):
2361         (WebCore::WebGLRenderingContext::copyTexSubImage2D):
2362         (WebCore::WebGLRenderingContext::readPixels):
2363
2364 2011-11-15  James Robinson  <jamesr@chromium.org>
2365
2366         Rollout http://trac.webkit.org/changeset/99813, caused some crashes in
2367         TiledLayerChromium::updateCompositorResources()
2368
2369         * WebCore.gypi:
2370         * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp: Removed.
2371         * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h: Removed.
2372         * platform/graphics/chromium/CanvasLayerTextureUpdater.cpp: Removed.
2373         * platform/graphics/chromium/CanvasLayerTextureUpdater.h: Removed.
2374         * platform/graphics/chromium/ContentLayerChromium.cpp:
2375         (WebCore::ContentLayerChromium::createTextureUpdater):
2376         * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.h: Removed.
2377         * platform/graphics/chromium/ImageLayerChromium.cpp:
2378         (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
2379         * platform/graphics/chromium/LayerRendererChromium.cpp:
2380         * platform/graphics/chromium/LayerTextureUpdater.h:
2381         * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Renamed from Source/WebCore/platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp.
2382         (WebCore::FrameBuffer::FrameBuffer::FrameBuffer):
2383         (WebCore::FrameBuffer::FrameBuffer::~FrameBuffer):
2384         (WebCore::FrameBuffer::FrameBuffer::initialize):
2385         (WebCore::LayerTextureUpdaterCanvas::LayerTextureUpdaterCanvas):
2386         (WebCore::LayerTextureUpdaterCanvas::paintContents):
2387         (WebCore::LayerTextureUpdaterBitmap::create):
2388         (WebCore::LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap):
2389         (WebCore::LayerTextureUpdaterBitmap::sampledTexelFormat):
2390         (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
2391         (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
2392         (WebCore::LayerTextureUpdaterSkPicture::create):
2393         (WebCore::LayerTextureUpdaterSkPicture::LayerTextureUpdaterSkPicture):
2394         (WebCore::LayerTextureUpdaterSkPicture::~LayerTextureUpdaterSkPicture):
2395         (WebCore::LayerTextureUpdaterSkPicture::sampledTexelFormat):
2396         (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
2397         (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
2398         * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Added.
2399         (WebCore::LayerTextureUpdaterCanvas::contentRect):
2400         (WebCore::LayerTextureUpdaterBitmap::orientation):
2401         (WebCore::LayerTextureUpdaterSkPicture::orientation):
2402         * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp: Removed.
2403         * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h: Removed.
2404         * platform/graphics/chromium/TiledLayerChromium.cpp:
2405         (WebCore::UpdatableTile::UpdatableTile):
2406         (WebCore::UpdatableTile::texture):
2407         (WebCore::TiledLayerChromium::updateCompositorResources):
2408         (WebCore::TiledLayerChromium::pushPropertiesTo):
2409         (WebCore::TiledLayerChromium::createTile):
2410         (WebCore::TiledLayerChromium::protectTileTextures):
2411         (WebCore::TiledLayerChromium::prepareToUpdate):
2412         * platform/graphics/chromium/cc/CCTextureUpdater.cpp:
2413         (WebCore::CCTextureUpdater::append):
2414         (WebCore::CCTextureUpdater::update):
2415         * platform/graphics/chromium/cc/CCTextureUpdater.h:
2416
2417 2011-11-15  Julien Chaffraix  <jchaffraix@webkit.org>
2418
2419         Add the needed plumbing to parse display: -webkit-inline-grid
2420         https://bugs.webkit.org/show_bug.cgi?id=72438
2421
2422         Reviewed by Tony Chang.
2423
2424         Test: fast/css-grid-layout/display-grid-set-get.html
2425
2426         Added the needed constants and plugged everything together.
2427         Again we treat display: -webkit-inline-grid like display: none
2428         for the moment.
2429
2430         * css/CSSParser.cpp:
2431         (WebCore::CSSParser::parseValue):
2432         * css/CSSPrimitiveValueMappings.h:
2433         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
2434         * css/CSSValueKeywords.in:
2435         * rendering/RenderObject.cpp:
2436         (WebCore::RenderObject::createObject):
2437         * rendering/style/RenderStyleConstants.h:
2438
2439 2011-11-15  W. James MacLean  <wjmaclean@chromium.org>
2440
2441         [chromium] Move setVisibleRect() calls into calculateDrawTransformAndVisibility()
2442         https://bugs.webkit.org/show_bug.cgi?id=72162
2443
2444         Reviewed by Kenneth Russell.
2445
2446         Refactoring of existing functionality, so uses existing tests.
2447
2448         * platform/graphics/chromium/LayerRendererChromium.cpp:
2449         (WebCore::LayerRendererChromium::drawLayer):
2450         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2451         (WebCore::paintContentsIfDirty):
2452         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
2453         (WebCore::CCLayerTreeHost::paintLayerContents):
2454         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
2455         (WebCore::walkLayersAndCalculateVisibleLayerRects):
2456         (WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
2457
2458 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2459
2460         Unreviewed, rolling out r100340.
2461         http://trac.webkit.org/changeset/100340
2462         https://bugs.webkit.org/show_bug.cgi?id=72448
2463
2464         Caused assertion failure in Win dbg canary. (Requested by
2465         pkasting on #webkit).
2466
2467         * platform/graphics/chromium/LayerRendererChromium.cpp:
2468         (WebCore::LayerRendererChromium::LayerRendererChromium):
2469         (WebCore::LayerRendererChromium::viewportChanged):
2470         (WebCore::LayerRendererChromium::drawLayersInternal):
2471         * platform/graphics/chromium/LayerRendererChromium.h:
2472
2473 2011-11-15  Julien Chaffraix  <jchaffraix@webkit.org>
2474
2475         Switch table indexing to unsigned
2476         https://bugs.webkit.org/show_bug.cgi?id=72083
2477
2478         Reviewed by Darin Adler.
2479
2480         No expected change in behavior.
2481
2482         All of the code is now using unsigned for indexing!
2483
2484         * rendering/FixedTableLayout.cpp:
2485         (WebCore::FixedTableLayout::layout):
2486         * rendering/RenderTable.cpp:
2487         (WebCore::RenderTable::colElement):
2488         (WebCore::RenderTable::cellAbove):
2489         * rendering/RenderTableSection.cpp:
2490         (WebCore::RenderTableSection::splitColumn):
2491         Added some ASSERTs to make sure we don't underflow. Looking at how
2492         the different variables are populated, they should not be reached.
2493
2494         * rendering/RenderTableCell.cpp:
2495         (WebCore::RenderTableCell::colSpan):
2496         (WebCore::RenderTableCell::rowSpan):
2497         Those 2 functions promotes HTMLTableCellElement's int to unsigned
2498         which should be fine as we make sure their are positive. Also HTML5
2499         makes those 2 fields "unsigned long" which goes in the same direction.
2500
2501         * rendering/AutoTableLayout.cpp:
2502         (WebCore::AutoTableLayout::layout):
2503         * rendering/RenderTableSection.cpp:
2504         (WebCore::RenderTableSection::nodeAtPoint):
2505         Rewrote a couple of reverse iterating to be able to use unsigned
2506         without overflowing.
2507
2508         * rendering/AutoTableLayout.cpp:
2509         (WebCore::AutoTableLayout::recalcColumn):
2510         (WebCore::AutoTableLayout::fullRecalc):
2511         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
2512         (WebCore::AutoTableLayout::insertSpanCell):
2513         * rendering/AutoTableLayout.h:
2514         * rendering/FixedTableLayout.cpp:
2515         (WebCore::FixedTableLayout::calcWidthArray):
2516         * rendering/RenderTable.cpp:
2517         (WebCore::RenderTable::splitColumn):
2518         (WebCore::RenderTable::appendColumn):
2519         (WebCore::RenderTable::recalcSections):
2520         * rendering/RenderTable.h:
2521         (WebCore::RenderTable::getColumnPos):
2522         (WebCore::RenderTable::spanOfEffCol):
2523         (WebCore::RenderTable::effColToCol):
2524         * rendering/RenderTableCell.cpp:
2525         (WebCore::RenderTableCell::styleOrColLogicalWidth):
2526         (WebCore::CollapsedBorders::nextBorder):
2527         * rendering/RenderTableCell.h:
2528         * rendering/RenderTableCol.cpp:
2529         (WebCore::RenderTableCol::updateFromElement):
2530         * rendering/RenderTableCol.h:
2531         (WebCore::RenderTableCol::span):
2532         (WebCore::RenderTableCol::setSpan):
2533         * rendering/RenderTableSection.cpp:
2534         (WebCore::RenderTableSection::addCell):
2535         (WebCore::RenderTableSection::setCellLogicalWidths):
2536         (WebCore::RenderTableSection::layoutRows):
2537         (WebCore::RenderTableSection::calcOuterBorderBefore):
2538         (WebCore::RenderTableSection::calcOuterBorderAfter):
2539         (WebCore::RenderTableSection::calcOuterBorderStart):
2540         (WebCore::RenderTableSection::calcOuterBorderEnd):
2541         (WebCore::RenderTableSection::paintObject):
2542         (WebCore::RenderTableSection::appendColumn):
2543         * rendering/RenderTableSection.h:
2544         (WebCore::RenderTableSection::cellAt):
2545         (WebCore::RenderTableSection::primaryCellAt):
2546         (WebCore::RenderTableSection::getBaseline):
2547         Mechanical change int -> unsigned.
2548
2549 2011-11-15  Andy Estes  <aestes@apple.com>
2550
2551         Consolidate the logic that creates run loop observers for flushing layer tree changes to CoreAnimation
2552         https://bugs.webkit.org/show_bug.cgi?id=72106
2553
2554         Reviewed by Anders Carlsson.
2555
2556         Add a class that encapsulates the logic of scheduling, enabling and
2557         invalidating a run loop observer that fires before Core Animation's
2558         commit observer. Clients can subclass LayerFlushSchedulerClient and
2559         implement flushLayers(), which will be called by the observer.
2560
2561         * WebCore.exp.in:
2562         * WebCore.xcodeproj/project.pbxproj:
2563         * platform/graphics/ca/LayerFlushScheduler.cpp: Added.
2564         (WebCore::LayerFlushScheduler::suspend): Suspend scheduling by
2565         invalidating the run loop observer. Keep a count of calls to suspend()
2566         in m_suspendCount.
2567         (WebCore::LayerFlushScheduler::resume): Decrement m_suspendCount.
2568         Install the run loop observer when it reaches 0.
2569         * platform/graphics/ca/LayerFlushSchedulerClient.h: Added.
2570         (WebCore::LayerFlushSchedulerClient::~LayerFlushSchedulerClient):
2571         * platform/graphics/ca/LayerFlushScheduler.h: Added.
2572         * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp: Added.
2573         (LayerFlushScheduler::LayerFlushScheduler):
2574         (LayerFlushScheduler::~LayerFlushScheduler):
2575         (LayerFlushScheduler::runLoopObserverCallback): Call flushLayers() on
2576         the LayerFlushSchedulerClient.
2577         (LayerFlushScheduler::schedule): Install the run loop observer.
2578         (LayerFlushScheduler::invalidate): Remove the run loop
2579         observer if it is installed.
2580
2581 2011-11-15  Adam Klein  <adamk@chromium.org>
2582
2583         [v8] Use throwError instead of compiling and running script in handleMaxRecursionDepthExceeded
2584         https://bugs.webkit.org/show_bug.cgi?id=72432
2585
2586         Reviewed by Adam Barth.
2587
2588         * bindings/v8/V8Proxy.cpp:
2589         (WebCore::handleMaxRecursionDepthExceeded):
2590
2591 2011-11-15  Vincent Scheib  <scheib@chromium.org>
2592
2593         Pointer Lock: Refactoring: PointerLock.idl: Dropping webkit prefix
2594         https://bugs.webkit.org/show_bug.cgi?id=72431
2595
2596         Reviewed by Adam Barth.
2597
2598         * page/PointerLock.cpp:
2599         (WebCore::PointerLock::lock):
2600         (WebCore::PointerLock::unlock):
2601         (WebCore::PointerLock::isLocked):
2602         * page/PointerLock.h:
2603         * page/PointerLock.idl:
2604
2605 2011-11-15  Nat Duca  <nduca@chromium.org>
2606
2607         [chromium] Fuse MainThread and CCThread
2608         https://bugs.webkit.org/show_bug.cgi?id=72426
2609
2610         Reviewed by James Robinson.
2611
2612         * WebCore.gypi:
2613         * platform/graphics/chromium/LayerRendererChromium.cpp:
2614         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2615         (WebCore::CCLayerTreeHost::CCLayerTreeHost):
2616         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
2617         * platform/graphics/chromium/cc/CCMainThread.cpp: Removed.
2618         * platform/graphics/chromium/cc/CCMainThread.h: Removed.
2619         * platform/graphics/chromium/cc/CCMainThreadTask.h: Removed.
2620         * platform/graphics/chromium/cc/CCProxy.cpp:
2621         (WebCore::CCProxy::setMainThread):
2622         (WebCore::CCProxy::mainThread):
2623         (WebCore::CCProxy::setImplThread):
2624         (WebCore::CCProxy::implThread):
2625         (WebCore::CCProxy::isMainThread):
2626         (WebCore::CCProxy::isImplThread):
2627         (WebCore::CCProxy::~CCProxy):
2628         * platform/graphics/chromium/cc/CCProxy.h:
2629         * platform/graphics/chromium/cc/CCScopedThreadProxy.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCScopedMainThreadProxy.h.
2630         (WebCore::CCScopedThreadProxy::create):
2631         (WebCore::CCScopedThreadProxy::postTask):
2632         (WebCore::CCScopedThreadProxy::shutdown):
2633         (WebCore::CCScopedThreadProxy::CCScopedThreadProxy):
2634         (WebCore::CCScopedThreadProxy::runTaskIfNotShutdown):
2635         * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
2636         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2637         (WebCore::CCThreadProxy::CCThreadProxy):
2638         (WebCore::CCThreadProxy::compositeAndReadback):
2639         (WebCore::CCThreadProxy::finishAllRendering):
2640         (WebCore::CCThreadProxy::initializeLayerRenderer):
2641         (WebCore::CCThreadProxy::setNeedsAnimate):
2642         (WebCore::CCThreadProxy::setNeedsCommit):
2643         (WebCore::CCThreadProxy::onSwapBuffersCompleteOnImplThread):
2644         (WebCore::CCThreadProxy::setNeedsRedraw):
2645         (WebCore::CCThreadProxy::setVisible):
2646         (WebCore::CCThreadProxy::start):
2647         (WebCore::CCThreadProxy::stop):
2648         (WebCore::CCThreadProxy::obtainBeginFrameAndCommitTaskFromCCThread):
2649         (WebCore::CCThreadProxy::createBeginFrameAndCommitTaskOnImplThread):
2650         (WebCore::CCThreadProxy::beginFrameAndCommit):
2651         (WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
2652         (WebCore::CCThreadProxy::initializeImplOnImplThread):
2653         * platform/graphics/chromium/cc/CCThreadProxy.h:
2654
2655 2011-11-15  Vincent Scheib  <scheib@chromium.org>
2656
2657         Pointer Lock: Refactor: MouseEvent.idl movementX/Y
2658         https://bugs.webkit.org/show_bug.cgi?id=72427
2659
2660         - [Conditional...] vs #if defined
2661         - Runtime enabled
2662         - .movementX/Y prefixed with 'webkit'
2663
2664         Reviewed by Adam Barth.
2665
2666         No new tests.
2667
2668         * bindings/generic/RuntimeEnabledFeatures.h:
2669         (WebCore::RuntimeEnabledFeatures::webkitMovementXEnabled):
2670         (WebCore::RuntimeEnabledFeatures::webkitMovementYEnabled):
2671         * dom/MouseEvent.idl:
2672         * dom/MouseRelatedEvent.h:
2673         (WebCore::MouseRelatedEvent::webkitMovementX):
2674         (WebCore::MouseRelatedEvent::webkitMovementY):
2675
2676 2011-10-28  Ojan Vafai  <ojan@chromium.org>
2677
2678         implement flex-align for flex-flow: column
2679         https://bugs.webkit.org/show_bug.cgi?id=70754
2680
2681         Reviewed by David Hyatt.
2682
2683         Tests: css3/flexbox/flex-align-column.html
2684                css3/flexbox/line-wrapping.html
2685
2686         * rendering/RenderBox.cpp:
2687         (WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
2688         When flexitems are column, they should size to the intrinsic width unless flex-flow is stretch.
2689
2690         * rendering/RenderFlexibleBox.cpp:
2691         (WebCore::RenderFlexibleBox::alignChildrenBlockDirection):
2692         This was just using the wrong, non-flow-aware method.
2693
2694 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
2695
2696         Rename ReferrerPolicy to clarify its meaning
2697         https://bugs.webkit.org/show_bug.cgi?id=72420
2698
2699         Reviewed by Nate Chapin.
2700
2701         On the one hand, even if the ReferrerPolicy was set to SendReferrer, the
2702         referrer wasn't necessarily send. On the other hand, I want to use the
2703         name ReferrerPolicy when implementing the meta referrer tag.
2704
2705         No change in behavior expected so no test.
2706
2707         * html/HTMLAnchorElement.cpp:
2708         (WebCore::HTMLAnchorElement::handleClick):
2709         (WebCore::handleLinkClick):
2710         * loader/FrameLoader.cpp:
2711         (WebCore::FrameLoader::changeLocation):
2712         (WebCore::FrameLoader::urlSelected):
2713         (WebCore::FrameLoader::loadFrameRequest):
2714         * loader/FrameLoader.h:
2715         * loader/FrameLoaderTypes.h:
2716         * loader/NavigationScheduler.cpp:
2717         (WebCore::ScheduledHistoryNavigation::fire):
2718         (WebCore::ScheduledFormSubmission::fire):
2719         * page/ContextMenuController.cpp:
2720         (WebCore::openNewWindow):
2721         (WebCore::ContextMenuController::contextMenuItemSelected):
2722         * WebCore.exp.in: updated.
2723
2724 2011-11-15  Adam Klein  <adamk@chromium.org>
2725
2726         Factor out V8Proxy's max recursion depth handling code
2727         https://bugs.webkit.org/show_bug.cgi?id=72422
2728
2729         Reviewed by Nate Chapin.
2730
2731         Previously, V8Proxy used slightly different code to handle stack limit
2732         violations depending on whether they occured in runScript or
2733         callFunction. As described in http://webkit.org/b/72063, I intend to
2734         expand the usage of m_recursion when calling into script. This patch
2735         is intended to unify the existing handling code, making it easier to
2736         move elsewhere without causing unintended side-effects.
2737
2738         No tests changed, as the only change in behavior is the string passed
2739         to RangeError in the runScript case, and it's not mentioned anywhere
2740         in the LayoutTests.
2741
2742         * bindings/v8/V8Proxy.cpp:
2743         (WebCore::handleMaxRecursionDepthExceeded):
2744         (WebCore::V8Proxy::runScript): Use callFunction's factored-out code.
2745         (WebCore::V8Proxy::callFunction): Simplify and factor out code into handleMaxRecursionDepthExceeded.
2746
2747 2011-11-15  Jessie Berlin  <jberlin@apple.com>
2748
2749         NSURLRequest leak beneath ResourceRequest::setStorageSession seen on Leaks bot.
2750         https://bugs.webkit.org/show_bug.cgi?id=72419
2751
2752         Reviewed by Adam Roben.
2753
2754         Adopt the copied NSURLRequest.
2755
2756         * platform/network/mac/ResourceRequestMac.mm:
2757         (WebCore::ResourceRequest::setStorageSession):
2758
2759 2011-11-15  John Bates  <jbates@google.com>
2760
2761         Page/layer flashes after GPU-accelerated CSS transition
2762         https://bugs.webkit.org/show_bug.cgi?id=72343
2763
2764         LayerRendererChromium was resizing the window to 1x1 at initialization.
2765         In some cases, there is no drawLayers before switching back to
2766         software rendering. This left the window resized to 1x1 and the
2767         following software paints would therefore not be visible. This change
2768         moves the reshape call into drawLayers so that it will only be called
2769         if rendering will occur.
2770
2771         Reviewed by James Robinson.
2772
2773         New test: CCLayerTreeHostImplTest.reshapeNotCalledUntilDraw.
2774
2775         * platform/graphics/chromium/LayerRendererChromium.cpp:
2776         (WebCore::LayerRendererChromium::viewportChanged):
2777         (WebCore::LayerRendererChromium::doViewportChanged):
2778         (WebCore::LayerRendererChromium::drawLayersInternal):
2779         * platform/graphics/chromium/LayerRendererChromium.h:
2780
2781 2011-11-15  Julien Chaffraix  <jchaffraix@webkit.org>
2782
2783         Add the needed plumbing to parse display: -webkit-grid
2784         https://bugs.webkit.org/show_bug.cgi?id=72331
2785
2786         Reviewed by Tony Chang.
2787
2788         Test: fast/css-grid-layout/display-grid-set-get.html
2789
2790         Added parsing support for display: -webkit-grid. From a rendering perspective,
2791         the value is equivalent to display: none until we properly implement it.
2792
2793         * css/CSSParser.cpp:
2794         (WebCore::CSSParser::parseValue):
2795         * css/CSSPrimitiveValueMappings.h:
2796         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
2797         * css/CSSValueKeywords.in:
2798         * rendering/style/RenderStyleConstants.h:
2799         Added the new CSS value and plumbed the parsing and style application of
2800         the new value.
2801
2802         * css/CSSPrimitiveValueMappings.h:
2803         (WebCore::CSSPrimitiveValue::operator EDisplay):
2804         Added an ASSERT here as I bumped into some non-trivial issues due to bug 72296.
2805         -wap-marquee was offsetting the new value and was wrongly casted by the CSSPrimitiveValueMapping
2806         logic outside the EDisplay range which would lead to crashes.
2807
2808         * rendering/RenderObject.cpp:
2809         (WebCore::RenderObject::createObject):
2810         Fixed the indentation to follow our coding rules.
2811
2812 2011-11-15  Vincent Scheib  <scheib@chromium.org>
2813
2814         Mouse Lock: Renaming to 'Pointer Lock': MouseLockable to PointerLock
2815         https://bugs.webkit.org/show_bug.cgi?id=72315
2816
2817         Reviewed by Dimitri Glazkov.
2818
2819         * WebCore.gypi:
2820         * page/Navigator.cpp:
2821         (WebCore::Navigator::webkitPointer):
2822         * page/Navigator.h:
2823         * page/Navigator.idl:
2824         * page/PointerLock.cpp: Renamed from Source/WebCore/page/MouseLockable.cpp.
2825         (WebCore::PointerLock::PointerLock):
2826         (WebCore::PointerLock::~PointerLock):
2827         (WebCore::PointerLock::webkitLock):
2828         (WebCore::PointerLock::webkitUnlock):
2829         (WebCore::PointerLock::webkitIsLocked):
2830         * page/PointerLock.h: Renamed from Source/WebCore/page/MouseLockable.h.
2831         (WebCore::PointerLock::create):
2832         * page/PointerLock.idl: Renamed from Source/WebCore/page/MouseLockable.idl.
2833
2834 2011-10-28  Ojan Vafai  <ojan@chromium.org>
2835
2836         Overflow and relayout are broken in the new flexboxes
2837         https://bugs.webkit.org/show_bug.cgi?id=71161
2838
2839         Reviewed by David Hyatt.
2840
2841         Tests: css3/flexbox/auto-height-dynamic.html
2842                css3/flexbox/flex-item-child-overflow-expected.html
2843                css3/flexbox/flex-item-child-overflow.html
2844
2845         * rendering/RenderFlexibleBox.cpp:
2846         (WebCore::RenderFlexibleBox::layoutBlock):
2847         -Always set the logical height to 0 to start with to ensure we don't
2848         use the height from the previous layout when we are computing the
2849         intrinsic size of the flexbox.
2850         -Call computeOverflow after computeLogicalHeight so that flex-item's children's
2851         overflow is properly rendered.
2852
2853         (WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection):
2854         -Now that we setLogicalHeight in layoutBlock, we no longer need to do it here.
2855         -Refactor flipping code. The behavior is the same, but the variable names are just
2856         more correct.
2857
2858 2011-10-28  Ojan Vafai  <ojan@chromium.org>
2859
2860         Overflow and relayout are broken in the new flexboxes
2861         https://bugs.webkit.org/show_bug.cgi?id=71161
2862
2863         Reviewed by David Hyatt.
2864
2865         Tests: css3/flexbox/auto-height-dynamic.html
2866                css3/flexbox/flex-item-child-overflow-expected.html
2867                css3/flexbox/flex-item-child-overflow.html
2868
2869         * rendering/RenderFlexibleBox.cpp:
2870         (WebCore::RenderFlexibleBox::layoutBlock):
2871         -Always set the logical height to 0 to start with to ensure we don't
2872         use the height from the previous layout when we are computing the
2873         intrinsic size of the flexbox.
2874         -Call computeOverflow after computeLogicalHeight so that flex-item's children's
2875         overflow is properly rendered.
2876
2877         (WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection):
2878         -Now that we setLogicalHeight in layoutBlock, we no longer need to do it here.
2879         -Refactor flipping code. The behavior is the same, but the variable names are just
2880         more correct.
2881
2882 2011-11-15  Nate Chapin  <japhet@chromium.org>
2883
2884         CachedResourceRequest is now the only SubresourceLoaderClient
2885         Merge CachedResourceRequest into SubresourceLoader and delete
2886         the SubresourceLoaderClient interface. A few items were moved
2887         to CachedResource instead of SubresourceLoader.
2888         https://bugs.webkit.org/show_bug.cgi?id=71149
2889
2890         Reviewed by Adam Barth.
2891
2892         * CMakeLists.txt:
2893         * GNUmakefile.list.am:
2894         * WebCore.gypi:
2895         * WebCore.pro:
2896         * WebCore.vcproj/WebCore.vcproj:
2897         * WebCore.xcodeproj/project.pbxproj:
2898         * loader/ResourceLoadScheduler.cpp:
2899         * loader/ResourceLoadScheduler.h:
2900         * loader/ResourceLoader.cpp:
2901         * loader/SubresourceLoader.cpp:
2902         (WebCore::SubresourceLoader::SubresourceLoader):
2903         (WebCore::SubresourceLoader::create):
2904         (WebCore::SubresourceLoader::init): Do work that had previously been
2905             done in SubresourceLoader::create() after the constructor.
2906         (WebCore::SubresourceLoader::willSendRequest):
2907         (WebCore::SubresourceLoader::didSendData):
2908         (WebCore::SubresourceLoader::didReceiveResponse):
2909         (WebCore::SubresourceLoader::didReceiveData):
2910         (WebCore::SubresourceLoader::didReceiveCachedMetadata):
2911         (WebCore::SubresourceLoader::didFinishLoading):
2912         (WebCore::SubresourceLoader::didFail):
2913         (WebCore::SubresourceLoader::willCancel):
2914         (WebCore::SubresourceLoader::releaseResources): Do the cleanup work that was
2915             duplicated throughout the various terminal CachedResourceRequest callbacks.
2916         * loader/SubresourceLoader.h: Fix indentation style issues.
2917         * loader/SubresourceLoaderClient.h: Removed.
2918         * loader/cache/CachedImage.cpp:
2919         * loader/cache/CachedRawResource.cpp:
2920         * loader/cache/CachedResource.cpp:
2921         (WebCore::cachedResourceTypeToTargetType):
2922         (WebCore::CachedResource::load): Do the work that had been done in
2923             CachedResourceRequest::load().
2924         (WebCore::CachedResource::finish):
2925         (WebCore::CachedResource::setResponse):
2926         (WebCore::CachedResource::stopLoading):
2927         * loader/cache/CachedResource.h:
2928         (WebCore::CachedResource::canDelete):
2929         * loader/cache/CachedResourceLoader.cpp:
2930         * loader/cache/CachedResourceRequest.cpp: Removed.
2931         * loader/cache/CachedResourceRequest.h: Removed.
2932         * loader/cf/SubresourceLoaderCF.cpp:
2933         * loader/chromium/CachedResourceRequestChromium.cpp: Removed.
2934         * loader/chromium/SubresourceLoaderChromium.cpp:
2935
2936 2011-11-15  Anders Carlsson  <andersca@apple.com>
2937
2938         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
2939         https://bugs.webkit.org/show_bug.cgi?id=72397
2940
2941         Reviewed by Dan Bernstein.
2942
2943         screenToWindow and windowToScreen already use root view coordinates everywhere, with the
2944         exception of Mac WebKit1 which doesn't even implement the functions.
2945
2946         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
2947         (-[WebAccessibilityObjectWrapper position]):
2948         * loader/EmptyClients.h:
2949         * page/Chrome.cpp:
2950         (WebCore::Chrome::screenToRootView):
2951         (WebCore::Chrome::rootViewToScreen):
2952         * page/Chrome.h:
2953         * page/ChromeClient.h:
2954         * platform/HostWindow.h:
2955         * platform/ScrollView.cpp:
2956         (WebCore::ScrollView::contentsToScreen):
2957         (WebCore::ScrollView::screenToContents):
2958         * platform/chromium/PopupContainer.cpp:
2959         (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
2960         (WebCore::PopupContainer::refresh):
2961
2962 2011-11-15  Jeff Timanus  <twiz@chromium.org>
2963
2964         Patch removing duplicated code in the setup of the DrawingBuffer used
2965         to host the back-buffer for WebGL contents.
2966         https://bugs.webkit.org/show_bug.cgi?id=72327
2967
2968         Reviewed by Julien Chaffraix.
2969
2970         * html/canvas/WebGLRenderingContext.cpp:
2971         (WebCore::WebGLRenderingContext::copyTexImage2D):
2972         (WebCore::WebGLRenderingContext::copyTexSubImage2D):
2973         (WebCore::WebGLRenderingContext::readPixels):
2974
2975 2011-11-15  Eugene Nalimov  <enal@google.com>
2976
2977         Event listener for active DOM object that is also DOM node can be garbage collected prematurely.
2978         https://bugs.webkit.org/show_bug.cgi?id=70421 
2979
2980         Reviewed by Adam Barth.
2981
2982         Problem demonstrated itself when HTMLAudioElement was changed to become active DOM object.
2983         Before that there were no DOM objects that simultaneously were nodes and active objects.
2984         DOM object could be held in one of 3 maps -- node map, active objects map, and all other
2985         objects map, and HTMLAudioElement should be in 2 maps simultaneously. When it was in the
2986         active DOM objects map only, its event listener could be garbage collected, because special
2987         code that groups listeners with wrappers could handle only wrappers for objects in the node
2988         map. If we put HTMLAudioElement into nodes map, it would not be active DOM node, and can be
2989         garbage collected prematurely itself (see https://bugs.webkit.org/show_bug.cgi?id=66878).
2990         Fix is to introduce 4th map -- active nodes map, and change the code accordingly.
2991
2992         Test: media/audio-garbage-collect.html
2993
2994         * bindings/scripts/CodeGeneratorV8.pm:
2995         (GenerateNamedConstructorCallback):
2996         (GetDomMapFunction):
2997         * bindings/v8/DOMDataStore.cpp:
2998         (WebCore::DOMDataStore::DOMDataStore):
2999         (WebCore::DOMDataStore::getDOMWrapperMap):
3000         (WebCore::DOMDataStore::weakNodeCallback):
3001         * bindings/v8/DOMDataStore.h:
3002         (WebCore::DOMDataStore::activeDomNodeMap):
3003         * bindings/v8/ScopedDOMDataStore.cpp:
3004         (WebCore::ScopedDOMDataStore::ScopedDOMDataStore):
3005         (WebCore::ScopedDOMDataStore::~ScopedDOMDataStore):
3006         * bindings/v8/StaticDOMDataStore.cpp:
3007         (WebCore::StaticDOMDataStore::StaticDOMDataStore):
3008         * bindings/v8/StaticDOMDataStore.h:
3009         * bindings/v8/V8DOMMap.cpp:
3010         (WebCore::getActiveDOMNodeMap):
3011         (WebCore::removeAllDOMObjects):
3012         (WebCore::visitActiveDOMNodes):
3013         * bindings/v8/V8DOMMap.h:
3014         * bindings/v8/V8DOMWrapper.cpp:
3015         (WebCore::V8DOMWrapper::setJSWrapperForDOMNode):
3016         (WebCore::V8DOMWrapper::getWrapperSlow):
3017         * bindings/v8/V8GCController.cpp:
3018         (WebCore::GCPrologueSpecialCase):
3019         (WebCore::void):
3020         (WebCore::Node):
3021         (WebCore::GCPrologueVisitor::visitDOMWrapper):
3022         (WebCore::V8GCController::gcPrologue):
3023         (WebCore::GCEpilogueHelper::GCEpilogueSpecialCase):
3024         (WebCore::GCEpilogueVisitor::visitDOMWrapper):
3025         (WebCore::V8GCController::gcEpilogue):
3026         * dom/Node.h:
3027         (WebCore::Node::isActiveNode):
3028         * html/HTMLAudioElement.h:
3029         (WebCore::HTMLAudioElement::isActiveNode):
3030
3031 2011-11-15  David Kilzer  <ddkilzer@apple.com>
3032
3033         Remove useless const modifier from KURL::init
3034         <http://webkit.org/b/72387>
3035
3036         Reviewed by Darin Adler.
3037
3038         * platform/KURL.cpp:
3039         (WebCore::KURL::init): Remove useless const.
3040
3041 2011-11-14  Anders Carlsson  <andersca@apple.com>
3042
3043         HostWindow invalidation functions should use root view coordinates
3044         https://bugs.webkit.org/show_bug.cgi?id=72338
3045
3046         Reviewed by Dan Bernstein.
3047
3048         Rename invalidateWindow to invalidateRootView, and invalidateContentsAndWindow
3049         to invalidateContentsAndRootView. Make sure that the rects passed to the renamed functions
3050         are in root view coordinates by changing contentsToWindow calls to contentsToRootView.
3051         
3052         In practice this doesn't matter because for all platforms except Mac WebKit1, root view coordinates
3053         and window coordinates are equivalent, and Mac WebKit1 doesn't use these invalidation functions.
3054
3055         * loader/EmptyClients.h:
3056         * page/Chrome.cpp:
3057         (WebCore::Chrome::invalidateRootView):
3058         (WebCore::Chrome::invalidateContentsAndRootView):
3059         * page/Chrome.h:
3060         * page/ChromeClient.h:
3061         * page/Frame.cpp:
3062         (WebCore::Frame::tiledBackingStorePaintEnd):
3063         * page/FrameView.cpp:
3064         (WebCore::FrameView::invalidateRect):
3065         (WebCore::FrameView::scrollContentsFastPath):
3066         * platform/HostWindow.h:
3067         * platform/ScrollView.cpp:
3068         (WebCore::ScrollView::rectToCopyOnScroll):
3069         (WebCore::ScrollView::scrollContents):
3070         (WebCore::ScrollView::wheelEvent):
3071         * platform/chromium/FramelessScrollView.cpp:
3072         (WebCore::FramelessScrollView::invalidateRect):
3073         * svg/graphics/SVGImage.cpp:
3074         (WebCore::SVGImageChromeClient::invalidateContentsAndRootView):
3075
3076 2011-11-15  Philip Rogers  <pdr@google.com>
3077
3078         Implement maxWidth for fillText and strokeText, fixing the canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface.html test.
3079         https://bugs.webkit.org/show_bug.cgi?id=61528
3080
3081         Reviewed by Stephen White.
3082
3083         Tests: fast/canvas/2d.text.draw.fill.maxWidth.gradient.html
3084                fast/canvas/2d.text.draw.fill.maxWidth.negative.html
3085                fast/canvas/2d.text.draw.fill.maxWidth.veryLarge.html
3086                fast/canvas/2d.text.draw.fill.maxWidth.verySmall.html
3087
3088         * html/canvas/CanvasRenderingContext2D.cpp:
3089         (WebCore::CanvasRenderingContext2D::drawTextInternal):
3090
3091 2011-11-15  Carlos Garcia Campos  <cgarcia@igalia.com>
3092
3093         [GTK] Implement download support in WebKit2
3094         https://bugs.webkit.org/show_bug.cgi?id=72258
3095
3096         Reviewed by Martin Robinson.
3097
3098         Add common download errors to ErrorsGtk.
3099
3100         * platform/gtk/ErrorsGtk.cpp:
3101         (WebCore::downloadNetworkError):
3102         (WebCore::downloadCancelledByUserError):
3103         (WebCore::downloadDestinationError):
3104         * platform/gtk/ErrorsGtk.h:
3105
3106 2011-11-15  Cary Clark  <caryclark@google.com>
3107
3108         [chromium-mac] Enable vertical text using Skia
3109         https://bugs.webkit.org/show_bug.cgi?id=72137
3110
3111         Use Skia to draw vertical text. This is much
3112         faster and has higher fidelity than the old method
3113         of drawing text on a path.
3114
3115         The graphics context passed to Skia has been
3116         rotated 90 degrees but the character advances
3117         have not, so it is necessary to unrotate the canvas,
3118         and re-rotate the positions.
3119
3120         This generates correct output (or, at least,
3121         consistent with Chromium CG on Mac) for all vertical
3122         text tests, one of which is mentioned below.
3123         
3124         Reviewed by Stephen White.
3125
3126         Test: fast/writing-mode/text-orientation-basic.html
3127
3128         * platform/graphics/skia/FontSkia.cpp:
3129         (WebCore::setupPaint):
3130         (WebCore::Font::drawGlyphs):
3131
3132 2011-11-15  Philip Rogers  <pdr@google.com>
3133
3134         Fix SVG hit testing when padding is present
3135         https://bugs.webkit.org/show_bug.cgi?id=37325
3136
3137         Reviewed by Nikolas Zimmermann.
3138
3139         Test: svg/hittest/svg-padding.xhtml
3140
3141         * rendering/svg/RenderSVGRoot.cpp:
3142         (WebCore::RenderSVGRoot::nodeAtPoint):
3143
3144 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3145
3146         Web Inspector: move generic code from DevTools.js into the WebCore.
3147         https://bugs.webkit.org/show_bug.cgi?id=72377
3148
3149         re-landing r100269.
3150
3151         Reviewed by Yury Semikhatsky.
3152
3153         * English.lproj/localizedStrings.js:
3154         * inspector/front-end/InspectorFrontendHostStub.js:
3155         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
3156         * inspector/front-end/ProfilesPanel.js:
3157         * inspector/front-end/Resource.js:
3158         * inspector/front-end/Settings.js:
3159         * inspector/front-end/UIUtils.js:
3160         (WebInspector.setToolbarColors):
3161         (WebInspector.resetToolbarColors):
3162         * inspector/front-end/inspector.js:
3163
3164 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3165
3166         Unreviewed, rolling out r100269.
3167         http://trac.webkit.org/changeset/100269
3168         https://bugs.webkit.org/show_bug.cgi?id=72383
3169
3170         "Broke dozens of tests due to exception in loadingFinished"
3171         (Requested by tonyg-cr on #webkit).
3172
3173         * English.lproj/localizedStrings.js:
3174         * inspector/front-end/InspectorFrontendHostStub.js:
3175         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
3176         * inspector/front-end/ProfilesPanel.js:
3177         * inspector/front-end/Resource.js:
3178         * inspector/front-end/Settings.js:
3179         * inspector/front-end/UIUtils.js:
3180         * inspector/front-end/inspector.js:
3181
3182 2011-11-15  Alexander Pavlov  <apavlov@chromium.org>
3183
3184         font property does not show up as "shorthand" in inspector
3185         https://bugs.webkit.org/show_bug.cgi?id=15598
3186
3187         Reviewed by Nikolas Zimmermann.
3188
3189         The "font" CSS property is turned into a real shorthand, as its longhands used to float around
3190         in the resulting style declaration without any reference to their underlying "font" property.
3191
3192         Test: fast/css/font-shorthand.html
3193
3194         * css/CSSMutableStyleDeclaration.cpp:
3195         (WebCore::CSSMutableStyleDeclaration::getPropertyValue): Extracted the "font" value building into fontValue().
3196         (WebCore::CSSMutableStyleDeclaration::appendFontLonghandValueIfExplicit): Added
3197         (WebCore::CSSMutableStyleDeclaration::fontValue): Build the "font" value from longhands.
3198         * css/CSSMutableStyleDeclaration.h:
3199         * css/CSSParser.cpp:
3200         (WebCore::CSSParser::addProperty): Added optional "implicit" parameter.
3201         (WebCore::CSSParser::parseFont): Build respective longhands instead of the shorthand "font" property.
3202         * css/CSSParser.h: Added optional "implicit" parameter to addProperty().
3203         * css/CSSPropertyLonghand.cpp:
3204         (WebCore::initShorthandMap): Added "font" shorthand map entry.
3205         * css/CSSStyleSelector.cpp:
3206         (WebCore::CSSStyleSelector::applyPropertyToStyle): Separated the property application from the instance setup.
3207         (WebCore::CSSStyleSelector::applyPropertyToCurrentStyle): Added.
3208         * css/CSSStyleSelector.h: Made updateFont() public.
3209         * css/FontValue.cpp:
3210         (WebCore::FontValue::customCssText): Made use of StringBuilder.
3211         * html/canvas/CanvasRenderingContext2D.cpp:
3212         (WebCore::CanvasRenderingContext2D::setFont): Apply "font" longhands rather than the (non-existent) "font" property.
3213         * inspector/front-end/StylesSidebarPane.js:
3214         (WebInspector.StylesSidebarPane.prototype._markUsedProperties): Removed a workaround for "font" not being a shorthand.
3215         * page/animation/AnimationBase.cpp:
3216         (WebCore::addShorthandProperties): Removed a workaround for "font" not being a shorthand.
3217
3218 2011-11-15  Pierre Rossi  <pierre.rossi@gmail.com>
3219
3220         [Qt] Clean up the remaining duplicate code after the RenderThemeQt refactoring.
3221         https://bugs.webkit.org/show_bug.cgi?id=72262
3222
3223         Reviewed by Antonio Gomes.
3224
3225         No new tests needed, this is purely cosmetic.
3226
3227         * platform/qt/RenderThemeQStyle.cpp:
3228         (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
3229         * platform/qt/RenderThemeQStyle.h:
3230         * platform/qt/RenderThemeQt.cpp:
3231         (WebCore::RenderThemeQt::adjustMenuListButtonStyle): remove the call to resetBorderRadius()
3232         since the mobile theme actually didn't do this.
3233         * platform/qt/RenderThemeQtMobile.cpp:
3234         (WebCore::RenderThemeQtMobile::adjustMenuListStyle):
3235
3236 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3237
3238         Web Inspector: move generic code from DevTools.js into the WebCore.
3239         https://bugs.webkit.org/show_bug.cgi?id=72377
3240
3241         This includes support for themed toolbar, remote debugging routines,
3242         removes a couple of obsolete overrides from the DevTools.js
3243
3244         Reviewed by Yury Semikhatsky.
3245
3246         * English.lproj/localizedStrings.js:
3247         * inspector/front-end/InspectorFrontendHostStub.js:
3248         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
3249         * inspector/front-end/ProfilesPanel.js:
3250         * inspector/front-end/Resource.js:
3251         * inspector/front-end/Settings.js:
3252         * inspector/front-end/UIUtils.js:
3253         (WebInspector.setToolbarColors):
3254         (WebInspector.resetToolbarColors):
3255         * inspector/front-end/inspector.js:
3256
3257 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
3258
3259         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
3260
3261         Reviewed by Tor Arne Vestbø.
3262
3263         * Target.pri: Eliminate duplicated symbol stuff that lives now in default_post.prf.
3264
3265 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3266
3267         Unreviewed, rolling out r100213.
3268         http://trac.webkit.org/changeset/100213
3269         https://bugs.webkit.org/show_bug.cgi?id=72371
3270
3271         "Breaks test_shell_tests" (Requested by tonyg-cr on #webkit).
3272
3273         * page/SecurityOrigin.cpp:
3274         (WebCore::SecurityOrigin::SecurityOrigin):
3275         * platform/SchemeRegistry.cpp:
3276         (WebCore::schemesWithUniqueOrigins):
3277
3278 2011-11-15  Alpha Lam  <hclam@chromium.org>
3279
3280         [chromium] scroll deltas are cleared during commit to the main thread
3281         https://bugs.webkit.org/show_bug.cgi?id=71916
3282
3283         Reviewed by James Robinson.
3284
3285         Patch is covered by unit test.
3286
3287         Add a member m_sentScrollDelta to CCLayerImpl to keep track of the scroll delta being
3288         sent to the main thread during commit. This gives a simpler approach to keep tracking of a
3289         layer's scroll delta in impl thread.
3290
3291         * platform/graphics/chromium/LayerChromium.h:
3292         (WebCore::LayerChromium::sentScrollDelta):
3293         * platform/graphics/chromium/cc/CCLayerImpl.h:
3294         (WebCore::CCLayerImpl::sentScrollDelta):
3295         (WebCore::CCLayerImpl::setSentScrollDelta):
3296         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
3297         (WebCore::CCLayerTreeHostImpl::processScrollDeltas):
3298         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
3299
3300 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
3301
3302         [Qt] REGRESSION(100123): It made inspector tests crash
3303         https://bugs.webkit.org/show_bug.cgi?id=72274
3304
3305         Reviewed by Tor Arne Vestbø.
3306
3307         * platform/qt/RenderThemeQStyle.h: Remove uninitialized and duplicated
3308         m_page member that should really come from RenderThemeQt.
3309
3310 2011-11-15  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3311
3312         Unreviewed. Fix build breaks when EFL port is built.
3313
3314         * CMakeLists.txt:
3315         * UseJSC.cmake:
3316
3317 2011-11-15  Noel Gordon  <noel.gordon@gmail.com>
3318
3319         Make ImageFrame member getAddr() public
3320         https://bugs.webkit.org/show_bug.cgi?id=72321
3321
3322         Reviewed by Adam Barth.
3323
3324         Make ImageFrame member getAddr() public to allow ImageFrame users access to the
3325         underlying frame pixels if needed. Image decoders, for example, could with care
3326         use this service to write decoded pixels direct to the ImageFrame pixel buffer,
3327         avoiding intermeadiate data copies from temporary decoded pixel row buffers and
3328         the decoding performance loss that that entails.
3329
3330         No new tests, refactoring only.
3331
3332         * platform/image-decoders/ImageDecoder.h:
3333         (WebCore::ImageFrame::getAddr):
3334
3335 2011-11-14  Alexander Pavlov  <apavlov@chromium.org>
3336
3337         Web Inspector: [Crash] Crash when inspecting namespaced SVG styled via element names
3338         https://bugs.webkit.org/show_bug.cgi?id=72261
3339
3340         Reviewed by Pavel Feldman.
3341
3342         Test: inspector/styles/svg-style.xhtml
3343
3344         * inspector/InspectorStyleSheet.cpp:
3345         (WebCore::InspectorStyleSheet::inlineStyleSheetText):
3346
3347 2011-11-15  Kent Tamura  <tkent@chromium.org>
3348
3349         [V8] Fix incorrect handling of JavaScript properties in DOMStringMap
3350         https://bugs.webkit.org/show_bug.cgi?id=53578
3351
3352         Reviewed by Adam Barth.
3353
3354         Follows a JSC behavior change by r96893.
3355
3356         * bindings/v8/custom/V8DOMStringMapCustom.cpp:
3357         (WebCore::V8DOMStringMap::namedPropertyGetter):
3358         Propagate to the JavaScript object if the DOMStringMap object
3359         doesn't have the requested item.
3360         (WebCore::V8DOMStringMap::namedPropertyDeleter): ditto.
3361         (WebCore::V8DOMStringMap::namedPropertySetter):
3362         Try to set a property to only a DOMStringMap object.
3363
3364 2011-11-14  Pavel Feldman  <pfeldman@google.com>
3365
3366         Web Inspector: Command line $x fails for 3 of 4 types of XPath query
3367         https://bugs.webkit.org/show_bug.cgi?id=72276
3368
3369         Reviewed by Timothy Hatcher.
3370
3371         Test: inspector/console/console-xpath.html
3372
3373         * inspector/InjectedScriptSource.js:
3374         (.):
3375
3376 2011-11-14  Ryosuke Niwa  <rniwa@webkit.org>
3377
3378         Fix the change log entry for r59190.
3379
3380         * ChangeLog-2010-05-24:
3381
3382 2011-11-14  Dmitry Lomov  <dslomov@google.com>
3383         
3384         [V8][Chromium]Serialize dense arrays densly
3385         https://bugs.webkit.org/show_bug.cgi?id=72198
3386         This patch ensures that:
3387         - Dense arrays are serialized densly, and not as name-value pairs
3388         - Sparse arrays are allocated as sparse on deserialization.
3389         The criteria to choose whether to serialize densly or sparsely is the size
3390         of a resulting serialized stream.
3391
3392         Reviewed by David Levin.
3393
3394         Test: fast/dom/Window/window-postmessage-arrays.html
3395
3396         * bindings/v8/SerializedScriptValue.cpp:
3397         (WebCore::V8ObjectMap::Writer::writeDenseArray):
3398         (WebCore::V8ObjectMap::Writer::writeGenerateFreshSparseArray):
3399         (WebCore::V8ObjectMap::Writer::writeGenerateFreshDenseArray):
3400         (WebCore::V8ObjectMap::Serializer::writeDenseArray):
3401         (WebCore::V8ObjectMap::Serializer::AbstractObjectState::execDepth):
3402         (WebCore::V8ObjectMap::Serializer::AbstractObjectState::serializeProperties):
3403         (WebCore::V8ObjectMap::Serializer::ObjectState::advance):
3404         (WebCore::V8ObjectMap::Serializer::DenseArrayState::DenseArrayState):
3405         (WebCore::V8ObjectMap::Serializer::DenseArrayState::advance):
3406         (WebCore::V8ObjectMap::Serializer::DenseArrayState::objectDone):
3407         (WebCore::V8ObjectMap::Serializer::SparseArrayState::SparseArrayState):
3408         (WebCore::V8ObjectMap::Serializer::SparseArrayState::advance):
3409         (WebCore::V8ObjectMap::Serializer::serializeDensely):
3410         (WebCore::V8ObjectMap::Serializer::startArrayState):
3411         (WebCore::V8ObjectMap::Serializer::startObjectState):
3412         (WebCore::V8ObjectMap::Serializer::doSerialize):
3413         (WebCore::V8ObjectMap::Reader::read):
3414         (WebCore::V8ObjectMap::Deserializer::newSparseArray):
3415         (WebCore::V8ObjectMap::Deserializer::completeSparseArray):
3416         (WebCore::V8ObjectMap::Deserializer::completeDenseArray):
3417
3418 2011-11-14  Alexandre Elias  <aelias@google.com>
3419
3420         [chromium] Fix scaleDelta zoom-out visibility rect bug
3421         https://bugs.webkit.org/show_bug.cgi?id=72208
3422
3423         Since the scroll is no longer applied at the top layer of the layer
3424         tree, the scaleDelta transformation needs to be moved down to the
3425         same level.
3426
3427         Also fix zoomAnimator to be applied the same way.  I removed zoom
3428         animator layout tests, as they aren't testing the actual impl-side
3429         codepath, and are hard to continue supporting -- we should cover zoom
3430         features with unit tests in the future.
3431
3432         Reviewed by James Robinson.
3433
3434         No new tests (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
3435
3436         * platform/graphics/chromium/LayerChromium.h:
3437         (WebCore::LayerChromium::scaleDelta):
3438         * platform/graphics/chromium/LayerRendererChromium.cpp:
3439         (WebCore::LayerRendererChromium::drawLayersInternal):
3440         * platform/graphics/chromium/LayerRendererChromium.h:
3441         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
3442         (WebCore::CCLayerImpl::CCLayerImpl):
3443         (WebCore::CCLayerImpl::setScaleDelta):
3444         * platform/graphics/chromium/cc/CCLayerImpl.h:
3445         (WebCore::CCLayerImpl::scaleDelta):
3446         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
3447         (WebCore::calculateDrawTransformsAndVisibilityInternal):
3448         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
3449         (WebCore::CCLayerTreeHostImpl::setScaleDelta):
3450         (WebCore::CCLayerTreeHostImpl::setZoomAnimatorTransform):
3451
3452 2011-11-14  Chris Fleizach  <cfleizach@apple.com>
3453
3454         WebProcess crashes when trying to display your "uploaded videos" page on Facebook
3455         https://bugs.webkit.org/show_bug.cgi?id=72334
3456
3457         Reviewed by Beth Dakin.
3458
3459         Protect against documents without frames.
3460
3461         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
3462         (-[WebAccessibilityObjectWrapper remoteAccessibilityParentObject]):
3463
3464 2011-11-14  Oliver Hunt  <oliver@apple.com>
3465
3466         More V8 build fixes.
3467
3468         * bindings/v8/custom/V8ArrayBufferViewCustom.h:
3469         (WebCore::setWebGLArrayHelper):
3470
3471 2011-11-14  Oliver Hunt  <oliver@apple.com>
3472
3473         Fix V8 build again.
3474
3475         * bindings/scripts/CodeGeneratorV8.pm:
3476         * bindings/scripts/test/V8/V8Float64Array.cpp:
3477         (WTF::Float64Array::neuterBinding):
3478
3479 2011-11-14  Oliver Hunt  <oliver@apple.com>
3480
3481         Fix V8 build.
3482
3483         * bindings/scripts/CodeGeneratorV8.pm:
3484         * bindings/scripts/test/V8/V8Float64Array.cpp:
3485         (WTF::Float64Array::neuterBinding):
3486
3487 2011-11-14  Oliver Hunt  <oliver@apple.com>
3488
3489         Start migrating typed array impl types to WTF
3490         https://bugs.webkit.org/show_bug.cgi?id=72336
3491
3492         Reviewed by Geoffrey Garen.
3493
3494         Move typed arrays from WebCore namespace to WTF, and
3495         start reducing dependencies on WebCore types.
3496
3497         * bindings/js/JSArrayBufferViewHelper.h:
3498         (WebCore::setWebGLArrayHelper):
3499         * bindings/scripts/CodeGeneratorJS.pm:
3500         (IsTypedArrayType):