[Curl] Compile fix after r144216
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2013-03-04  peavo@outlook.com  <peavo@outlook.com>
2
3         [Curl] Compile fix after r144216
4         https://bugs.webkit.org/show_bug.cgi?id=111305
5
6         Reviewed by Brent Fulgham.
7
8         * platform/network/curl/ResourceRequest.h:
9         (WebCore::ResourceRequest::cfURLRequest): Added new parameter.
10
11 2013-03-03  David Hyatt  <hyatt@apple.com>
12
13         [New Multicolumn] Make sure region styling works for columns inside regions.
14         https://bugs.webkit.org/show_bug.cgi?id=111276
15
16         Reviewed by Sam Weinig.
17
18         Test: fast/regions/region-styling-in-columns.html
19
20         * rendering/RenderFlowThread.cpp:
21         (WebCore::CurrentRenderFlowThreadMaintainer::CurrentRenderFlowThreadMaintainer):
22         (WebCore::CurrentRenderFlowThreadMaintainer::~CurrentRenderFlowThreadMaintainer):
23         * rendering/RenderFlowThread.h:
24         (CurrentRenderFlowThreadMaintainer):
25         Fix the CurrentRenderFlowThreadMaintainer so that it saves off the old render flow thread
26         and restores it when done. This effectively makes flow thread layout a push/pop stack,
27         since with in-flow threads, this is allowed. We assert that a nested flow thread is
28         in-flow to preserve the invariant that you can't nest CSS Regions flow thread.
29
30         * rendering/RenderRegion.cpp:
31         (WebCore::RenderRegion::computeChildrenStyleInRegion):
32         Add isInFlowRenderFlowThread() to the anonymous check to make sure a style gets made
33         for the nested flow thread.
34
35 2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
36
37         Web Inspector: WebInspector.AceTextEditor throws a warning
38         https://bugs.webkit.org/show_bug.cgi?id=111315
39
40         Reviewed by Pavel Feldman.
41
42         Add WebInspector.AceTextEditor to externs.js to suppress closure
43         compilation warning.
44
45         No new tests: no change in behaviour.
46
47         * inspector/front-end/externs.js:
48         (WebInspector.AceTextEditor):
49
50 2013-03-04  Antoine Quint  <graouts@apple.com>
51
52         Fix debug build under certain configurations, cause was
53         http://trac.webkit.org/changeset/144624.
54
55         * inspector/InspectorController.cpp:
56         (WebCore::InspectorController::InspectorController):
57         * inspector/InspectorLayerTreeAgent.cpp:
58         (WebCore::InspectorLayerTreeAgent::InspectorLayerTreeAgent):
59         * inspector/InspectorLayerTreeAgent.h:
60         (WebCore):
61         (WebCore::InspectorLayerTreeAgent::create):
62         (InspectorLayerTreeAgent):
63
64 2013-03-04  Allan Sandfeld Jensen  <allan.jensen@digia.com>
65
66         [Qt] REGRESSION(r141240) Crash in PluginPackage::fetchInfo
67         https://bugs.webkit.org/show_bug.cgi?id=111322
68
69         Reviewed by Simon Hausmann.
70
71         Do not try to load blacklisted plugins.
72
73         * plugins/qt/PluginPackageQt.cpp:
74         (WebCore::PluginPackage::fetchInfo):
75
76 2013-03-04  Alexis Menard  <alexis@webkit.org>
77
78         transition properties can't be found in CSSStyleDeclaration
79         https://bugs.webkit.org/show_bug.cgi?id=110011
80
81         Reviewed by Antti Koivisto.
82
83         The previous approach for handling the unprefixing was to alias the
84         unprefixed properties with the prefixed ones in CSSPropertyNames.in.
85         Unfortunately it will alias the properties in the parsing code which will just
86         identically parse the two versions. This means that when we populate StylePropertySet
87         we do not have information whether we just parsed the prefixed, the
88         unprefixed properties or we parsed both. The patch takes another
89         approach by creating two distinct sets of properties (unprefixed and
90         prefixed). Each properties have their own id and we now handle them in
91         the parsing code as disctints properties and add both versions to the
92         declared style. In order to avoid properties getting out of sync, 
93         this patch adds few facilities to StylePropertySet to update the
94         prefixed and the unprefixed entries. Finally the style resolution
95         happens only for the prefixed version (to limit the size of this patch)
96         and the unprefixed versions are not resolved. This is to avoid creating
97         the animation objects twice for the resolved style.
98
99         Test : transitions/transitions-parsing.html
100
101         * css/CSSComputedStyleDeclaration.cpp:
102         (WebCore):
103         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
104         * css/CSSParser.cpp:
105         (WebCore::CSSParser::addPropertyWithPrefixingVariant): Always add the
106         prefixed and the unprefixed property even if only one is specified.
107         (WebCore):
108         (WebCore::CSSParser::parseValue):
109         (WebCore::CSSParser::parseTransitionShorthand): Add both prefixed and
110         unprefixed longhands to the declarated style.
111         (WebCore::CSSParser::parseAnimationProperty):
112         * css/CSSParser.h:
113         (CSSParser):
114         * css/CSSProperty.cpp:
115         (WebCore::CSSProperty::isInheritedProperty):
116         * css/CSSProperty.h:
117         (WebCore:: prefixingVariantForPropertyId): This function takes a given
118         property id and returns its prefixed or unprefixed id if it exists. If
119         not it returns the same id.
120         (WebCore):
121         * css/CSSPropertyNames.in:
122         * css/StylePropertySet.cpp:
123         (WebCore::StylePropertySet::getPropertyValue):
124         (WebCore::StylePropertySet::removeShorthandProperty):
125         (WebCore::StylePropertySet::removeProperty):
126         (WebCore::StylePropertySet::removeProperty): Remove
127         also the prefixed or unprefixed shorthand if it exists.
128         (WebCore):
129         (WebCore::StylePropertySet::setProperty):
130         (WebCore::StylePropertySet:: appendPrefixingVariantProperty):
131         (WebCore::StylePropertySet::setPrefixingVariantProperty): If it
132         exists a unprefixed or prefixed counterpart of the property we're
133         trying to set, then we update the other one.
134         (WebCore::StylePropertySet::asText):
135         (WebCore::StylePropertySet::mergeAndOverrideOnConflict):
136         * css/StylePropertySet.h:
137         (StylePropertySet):
138         * css/StylePropertyShorthand.cpp:
139         (WebCore::transitionShorthand):
140         (WebCore):
141         (WebCore::shorthandForProperty): Define the transitions unprefixed
142         longhands.
143         * css/StylePropertyShorthand.h:
144         (WebCore):
145         * css/StyleResolver.cpp:
146         (WebCore::StyleResolver::applyProperty): StyleBuilder will handle the
147         resolution and the creation of the animations for the style. As the
148         declarated style now contains declarations for the prefixed and
149         unprefixed property we do not want to resolve two times and create duplicate animations.
150         Therefore when we try to resolve the unprefixed version we just bail out.
151
152 2013-03-04  Ilya Tikhonovsky  <loislo@chromium.org>
153
154         Web Inspector: CPU Flame Chart: reveal profiler DataGrid node when user clicks on a FlameChart item.
155         https://bugs.webkit.org/show_bug.cgi?id=111309
156
157         Reviewed by Yury Semikhatsky.
158
159         * inspector/front-end/CPUProfileView.js:
160         (WebInspector.CPUProfileView.prototype._revealProfilerNode):
161         * inspector/front-end/FlameChart.js:
162         (WebInspector.FlameChart):
163         (WebInspector.FlameChart.prototype._onClick):
164
165 2013-03-04  Antoine Quint  <graouts@apple.com>
166
167         Web Inspector: remove existing LayerTreeAgent protocol APIs
168         https://bugs.webkit.org/show_bug.cgi?id=111251
169
170         In order to eventually provide a more useful API for the LayerTreeAgent
171         that will be done in followup bugs, we remove the current API exposed by
172         the agent providing a clean slate that will make future patches easier
173         to read. Additionally, we remove the "childLayers" property on the Layer
174         object since we will no longer be providing a hierarchy of layers, but
175         rather a flat list of layers attached to a node and its descendants.
176
177         No new tests since we're removing the APIs exposed by the LayerTreeAgent.
178         Subsequent patches will add tests as new APIs are added.
179
180         Reviewed by Timothy Hatcher.
181
182         * inspector/Inspector.json:
183         * inspector/InspectorDOMAgent.cpp:
184         * inspector/InspectorDOMAgent.h:
185         * inspector/InspectorLayerTreeAgent.cpp:
186         (WebCore::InspectorLayerTreeAgent::buildObjectForLayer):
187         * inspector/InspectorLayerTreeAgent.h:
188         (InspectorLayerTreeAgent):
189
190 2013-03-04  Li Yin  <li.yin@intel.com>
191
192         MediaStream.ended must return true when it is created with ended tracks.
193         https://bugs.webkit.org/show_bug.cgi?id=111293
194
195         Reviewed by Kentaro Hara.
196
197         Spec: http://dev.w3.org/2011/webrtc/editor/getusermedia.html#MediaStream-ended
198         When a MediaStream object is created, its ended attribute must be set to false,
199         unless it is being created using the MediaStream() constructor whose arguments
200         are lists of MediaStreamTrack objects that are all ended, in which case the
201         MediaStream object must be created with its ended attribute set to true.
202
203         Test: fast/mediastream/MediaStreamConstructor.html
204
205         * platform/mediastream/MediaStreamDescriptor.h:
206         (WebCore::MediaStreamDescriptor::MediaStreamDescriptor):
207
208 2013-03-04  Alexander Pavlov  <apavlov@chromium.org>
209
210         Web Inspector: Adding new rules broken if a <style> tag is added to document dynamically
211         https://bugs.webkit.org/show_bug.cgi?id=111299
212
213         Reviewed by Pavel Feldman.
214
215         The CSSStyleSheet instance should be retrieved directly from the HTMLStyleElement just created,
216         not from the document.styleSheets list.
217
218         Test: inspector/styles/add-new-rule-with-style-after-body.html
219
220         * inspector/InspectorCSSAgent.cpp:
221         (WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
222
223 2013-03-04  Ilya Tikhonovsky  <loislo@chromium.org>
224
225         Web Inspector: Unreviewed. Fix for closure type annotations.
226
227         * inspector/front-end/FlameChart.js:
228
229 2013-03-04  Kondapally Kalyan  <kalyan.kondapally@intel.com>
230
231         [EFL] Build fix when compiling with GLES2 support enabled.
232         https://bugs.webkit.org/show_bug.cgi?id=111291
233
234         Reviewed by Kenneth Rohde Christiansen.
235
236         This patch fixes build issues when compiling with GLES2
237         support. As part of the fix the patch removes Evas specific
238         workaround of using GLX with EGL in PlatformContext as GLES2 
239         is the main target with EGL.
240
241         * platform/graphics/OpenGLESShims.h:
242         * platform/graphics/opengl/GLPlatformContext.cpp:
243         (WebCore::GLCurrentContextWrapper::GLCurrentContextWrapper):
244         * platform/graphics/texmap/TextureMapper.h:
245
246 2013-03-04  Ilya Tikhonovsky  <loislo@chromium.org>
247
248         Web Inspector: implement Flame Chart for CPU profiler.
249         https://bugs.webkit.org/show_bug.cgi?id=111162
250
251         Reviewed by Yury Semikhatsky.
252
253         It is an initial implementation. The next step is to provide
254         function names and other stats about the hovered item.
255
256         * WebCore.gypi:
257         * WebCore.vcproj/WebCore.vcproj:
258         * WebCore.vcxproj/WebCore.vcxproj:
259         * WebCore.vcxproj/WebCore.vcxproj.filters:
260         * inspector/compile-front-end.py:
261         * inspector/front-end/CPUProfileView.js:
262         (WebInspector.CPUProfileView.prototype._getCPUProfileCallback):
263         * inspector/front-end/FlameChart.js: Added.
264         (WebInspector.FlameChart):
265         (WebInspector.FlameChart.prototype._onMouseMove):
266         (WebInspector.FlameChart.prototype.findNodeCallback):
267         (WebInspector.FlameChart.prototype._coordinatesToNode):
268         (WebInspector.FlameChart.prototype.onResize):
269         (WebInspector.FlameChart.prototype._rootNodes):
270         (WebInspector.FlameChart.prototype.draw):
271         (WebInspector.FlameChart.prototype._drawNode):
272         (WebInspector.FlameChart.prototype._forEachNode):
273         (WebInspector.FlameChart.prototype._drawBar):
274         (WebInspector.FlameChart.prototype.update):
275         * inspector/front-end/Settings.js:
276         (WebInspector.ExperimentsSettings):
277         * inspector/front-end/WebKit.qrc:
278         * inspector/front-end/flameChart.css: Added.
279         (.flame-chart):
280
281 2013-03-04  Marja Hölttä  <marja@chromium.org>
282
283         [V8] Add a "context type" parameter to GetTemplate and ConfigureV8SomethingTemplate functions
284         https://bugs.webkit.org/show_bug.cgi?id=110875
285
286         The parameter will later be used for generating specialized V8
287         bindings for the 3 different world types (main world, isolated
288         work, worker).
289
290         Reviewed by Kentaro Hara.
291
292         No new tests (no changes in behavior yet).
293
294         * bindings/scripts/CodeGeneratorV8.pm:
295         (GenerateHeader):
296         (GenerateDomainSafeFunctionGetter):
297         (GenerateDomainSafeFunctionSetter):
298         (GenerateNormalAttrGetter):
299         (GenerateNamedConstructor):
300         (GenerateImplementation):
301         * bindings/v8/DOMDataStore.cpp:
302         (WebCore::DOMDataStore::DOMDataStore):
303         * bindings/v8/DOMDataStore.h:
304         (DOMDataStore):
305         * bindings/v8/DOMWrapperWorld.cpp:
306         (WebCore):
307         (WebCore::DOMWrapperWorld::setInitializingWindow):
308         (WebCore::DOMWrapperWorld::DOMWrapperWorld):
309         (WebCore::DOMWrapperWorld::contextHasCorrectPrototype):
310         * bindings/v8/DOMWrapperWorld.h:
311         (DOMWrapperWorld):
312         (WebCore::DOMWrapperWorld::getWorld):
313         * bindings/v8/Dictionary.cpp:
314         (WebCore::Dictionary::get):
315         * bindings/v8/PageScriptDebugServer.cpp:
316         (WebCore::retrieveFrameWithGlobalObjectCheck):
317         * bindings/v8/V8AdaptorFunction.cpp:
318         (WebCore::V8AdaptorFunction::getTemplate):
319         (WebCore::V8AdaptorFunction::wrap):
320         * bindings/v8/V8AdaptorFunction.h:
321         (V8AdaptorFunction):
322         * bindings/v8/V8Binding.cpp:
323         (WebCore::toDOMWindow):
324         (WebCore::toScriptExecutionContext):
325         (WebCore::worldType):
326         (WebCore):
327         (WebCore::worldTypeInMainThread):
328         * bindings/v8/V8Binding.h:
329         (WebCore):
330         * bindings/v8/V8DOMWindowShell.cpp:
331         (WebCore::V8DOMWindowShell::clearForNavigation):
332         (WebCore::V8DOMWindowShell::installDOMWindow):
333         * bindings/v8/V8DOMWrapper.cpp:
334         (WebCore::V8DOMWrapper::createWrapper):
335         * bindings/v8/V8Initializer.cpp:
336         (WebCore::findFrame):
337         * bindings/v8/V8PerContextData.cpp:
338         (WebCore::V8PerContextData::constructorForTypeSlowCase):
339         * bindings/v8/WorkerScriptController.cpp:
340         (WebCore::WorkerScriptController::WorkerScriptController):
341         (WebCore::WorkerScriptController::controllerForContext):
342         * bindings/v8/WrapperTypeInfo.h:
343         (WebCore::WrapperTypeInfo::getTemplate):
344         * bindings/v8/custom/V8DOMWindowCustom.cpp:
345         (WebCore::V8DOMWindow::eventAttrGetterCustom):
346         (WebCore::V8DOMWindow::eventAttrSetterCustom):
347         (WebCore::V8DOMWindow::toStringMethodCustom):
348         (WebCore::V8DOMWindow::namedSecurityCheck):
349         (WebCore::V8DOMWindow::indexedSecurityCheck):
350         (WebCore::toV8):
351         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
352         (WebCore::V8HTMLDocument::wrapInShadowObject):
353         * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
354         (WebCore::V8HTMLImageElementConstructor::GetTemplate):
355         * bindings/v8/custom/V8HTMLImageElementConstructor.h:
356         (V8HTMLImageElementConstructor):
357         * bindings/v8/custom/V8InjectedScriptManager.cpp:
358         (WebCore::createInjectedScriptHostV8Wrapper):
359         (WebCore::InjectedScriptManager::canAccessInspectedWindow):
360         * bindings/v8/custom/V8LocationCustom.cpp:
361         (WebCore::V8Location::reloadAttrGetterCustom):
362         (WebCore::V8Location::replaceAttrGetterCustom):
363         (WebCore::V8Location::assignAttrGetterCustom):
364         * bindings/v8/custom/V8MessageEventCustom.cpp:
365         (WebCore::V8MessageEvent::initMessageEventMethodCustom):
366
367 2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
368
369         Web Inspector: add Ace editor experiment
370         https://bugs.webkit.org/show_bug.cgi?id=111191
371
372         Reviewed by Pavel Feldman.
373
374         No new tests.
375
376         Add Ace text editor experiment.
377
378         * WebCore.gypi:
379         * inspector/front-end/AceTextEditor.js: Added.
380         * inspector/front-end/Settings.js:
381         (WebInspector.ExperimentsSettings):
382         * inspector/front-end/SourceFrame.js:
383         (WebInspector.SourceFrame):
384         * inspector/front-end/ace/ace.js: Added.
385         * inspector/front-end/ace/acedevtools.css: Added.
386         * inspector/front-end/ace/mode_css.js: Added.
387         * inspector/front-end/ace/mode_html.js: Added.
388         * inspector/front-end/ace/mode_javascript.js: Added.
389         * inspector/front-end/ace/theme_textmate.js: Added.
390         * inspector/front-end/ace/LICENSE.txt: Added.
391
392 2013-03-04  Kunihiko Sakamoto  <ksakamoto@chromium.org>
393
394         Add build flag for FontLoader
395         https://bugs.webkit.org/show_bug.cgi?id=111289
396
397         Reviewed by Benjamin Poulain.
398
399         Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
400
401         * Configurations/FeatureDefines.xcconfig:
402
403 2013-03-04  Mike West  <mkwst@chromium.org>
404
405         XSSAuditor should strip dangerous attributes from SMIL animation elements.
406         https://bugs.webkit.org/show_bug.cgi?id=111071
407
408         Reviewed by Adam Barth.
409
410         SMIL animation elements can, amusingly enough, animate the 'href' of a
411         link. This patch teaches XSSAuditor how to deal with the
412         semicolon-separated 'animation[values]' attribute in order to ensure
413         that it doesn't contain JavaScript URLs that could be animated into
414         place for an unsuspecting user to click on.
415
416         Test: http/tests/security/xssAuditor/svg-animate.html
417
418         * html/parser/XSSAuditor.cpp:
419         (WebCore::isSemicolonSeparatedAttribute): Added.
420             This returns true if the given attribute is SVGNames::valuesAttr,
421             but makes it possible to easily extend the list with additional
422             attributes with this strange property.
423         (WebCore::semicolonSeparatedValueContainsJavaScriptURL): Added.
424             Given a semicolon-separated string, determine if it contains any
425             JavaScript URLs.
426         (WebCore::XSSAuditor::eraseDangerousAttributesIfInjected):
427             When looking for dangerousness, determine whether or not we should
428             be comparing against each member of a semicolon-separated list.
429
430 2013-03-04  Arvid Nilsson  <anilsson@rim.com>
431
432         [BlackBerry] New files for BlackBerry::Platform::Graphics::GraphicsContext integration
433         https://bugs.webkit.org/show_bug.cgi?id=111153
434
435         Reviewed by Rob Buis.
436
437         BlackBerry PR 293208
438
439         This patch contains contributions from many members of the BlackBerry
440         WebKit team:
441
442         Rob Buis
443         Robin Cao
444         Eli Fidler
445         Mike Lattanzio
446         Yong Li
447         Maxim Mogilnitsky
448         Joshua Netterfield
449         Arvid Nilsson
450         Jakob Petsovits
451         Konrad Piascik
452         Jeff Rogers
453         Artem Simonov
454         Filip Spacek
455         George Staikos
456
457         Covered by existing tests.
458
459         * platform/graphics/blackberry/FontBlackBerry.cpp: Added.
460         (FSFixedToFloat):
461         (FloatToFSFixed):
462         (WebCore):
463         (WebCore::Font::drawComplexText):
464         (WebCore::Font::floatWidthForComplexText):
465         (WebCore::Font::offsetForPositionForComplexText):
466         (WebCore::Font::selectionRectForComplexText):
467         (WebCore::Font::drawGlyphs):
468         (WebCore::Font::canReturnFallbackFontsForComplexText):
469         (WebCore::Font::drawEmphasisMarksForComplexText):
470         (WebCore::Font::canExpandAroundIdeographsInComplexText):
471         * platform/graphics/blackberry/FontCacheBlackBerry.cpp: Added.
472         (WebCore):
473         (WebCore::FontCache::platformInit):
474         (WebCore::FontCache::getFontDataForCharacters):
475         (WebCore::FontCache::getSimilarFontPlatformData):
476         (WebCore::FontCache::getLastResortFallbackFont):
477         (WebCore::FontCache::getTraitsInFamily):
478         (WebCore::getFamilyNameStringFromFontDescriptionAndFamily):
479         (WebCore::fontWeightToFontconfigWeight):
480         (WebCore::FontCache::createFontPlatformData):
481         * platform/graphics/blackberry/FontCustomPlatformData.h: Added.
482         (WebCore):
483         (FontCustomPlatformData):
484         * platform/graphics/blackberry/FontCustomPlatformDataBlackBerry.cpp: Added.
485         (WebCore):
486         (WebCore::FontCustomPlatformData::FontCustomPlatformData):
487         (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
488         (WebCore::FontCustomPlatformData::fontPlatformData):
489         (WebCore::FontCustomPlatformData::supportsFormat):
490         (WebCore::createFontCustomPlatformData):
491         * platform/graphics/blackberry/FontPlatformDataBlackBerry.cpp: Added.
492         (WebCore):
493         (WebCore::FontPlatformData::FontPlatformData):
494         (WebCore::FontPlatformData::~FontPlatformData):
495         (WebCore::FontPlatformData::name):
496         (WebCore::FontPlatformData::applyState):
497         (WebCore::FontPlatformData::platformDataInit):
498         (WebCore::FontPlatformData::platformDataAssign):
499         (WebCore::FontPlatformData::platformIsEqual):
500         (WebCore::FontPlatformData::description):
501         (WebCore::FontPlatformData::harfbuzzFace):
502         (WebCore::FontPlatformData::scaledFont):
503         (WebCore::FontPlatformData::setFakeBold):
504         (WebCore::FontPlatformData::setFakeItalic):
505         (WebCore::FontPlatformData::platformFontHandle):
506         (WebCore::FontPlatformData::isFixedPitch):
507         * platform/graphics/blackberry/GlyphPageTreeNodeBlackBerry.cpp: Added.
508         (WebCore):
509         (WorldTypeScopedPtr):
510         (WebCore::WorldTypeScopedPtr::WorldTypeScopedPtr):
511         (WebCore::WorldTypeScopedPtr::~WorldTypeScopedPtr):
512         (WebCore::WorldTypeScopedPtr::get):
513         (WebCore::GlyphPage::fill):
514         * platform/graphics/blackberry/GradientBlackBerry.cpp: Added.
515         (WebCore):
516         (WebCore::totalStopsNeeded):
517         (WebCore::fillStops):
518         (WebCore::Gradient::platformGradient):
519         (WebCore::Gradient::platformDestroy):
520         (WebCore::Gradient::fill):
521         (WebCore::Gradient::setPlatformGradientSpaceTransform):
522         * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp: Added.
523         (WebCore):
524         (GraphicsContextPlatformPrivate):
525         (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
526         (WebCore::GraphicsContext::platformInit):
527         (WebCore::GraphicsContext::platformDestroy):
528         (WebCore::GraphicsContext::platformContext):
529         (WebCore::GraphicsContext::savePlatformState):
530         (WebCore::GraphicsContext::restorePlatformState):
531         (WebCore::GraphicsContext::setIsAcceleratedContext):
532         (WebCore::GraphicsContext::isAcceleratedContext):
533         (WebCore::GraphicsContext::getCTM):
534         (WebCore::GraphicsContext::concatCTM):
535         (WebCore::GraphicsContext::setCTM):
536         (WebCore::GraphicsContext::scale):
537         (WebCore::GraphicsContext::rotate):
538         (WebCore::GraphicsContext::translate):
539         (WebCore::GraphicsContext::drawEllipse):
540         (WebCore::GraphicsContext::strokeArc):
541         (WebCore::GraphicsContext::drawConvexPolygon):
542         (WebCore::GraphicsContext::drawRect):
543         (WebCore::GraphicsContext::fillRect):
544         (WebCore::GraphicsContext::clearRect):
545         (WebCore::GraphicsContext::strokeRect):
546         (WebCore::GraphicsContext::fillRoundedRect):
547         (WebCore::GraphicsContext::roundToDevicePixels):
548         (WebCore::GraphicsContext::setPlatformShadow):
549         (WebCore::GraphicsContext::clearPlatformShadow):
550         (WebCore::GraphicsContext::beginPlatformTransparencyLayer):
551         (WebCore::GraphicsContext::endPlatformTransparencyLayer):
552         (WebCore::GraphicsContext::supportsTransparencyLayers):
553         (WebCore::GraphicsContext::setLineCap):
554         (WebCore::GraphicsContext::setLineDash):
555         (WebCore::GraphicsContext::setLineJoin):
556         (WebCore::GraphicsContext::setMiterLimit):
557         (WebCore::GraphicsContext::setAlpha):
558         (WebCore::GraphicsContext::clip):
559         (WebCore::GraphicsContext::clipOut):
560         (WebCore::GraphicsContext::clipConvexPolygon):
561         (WebCore::GraphicsContext::addRoundedRectClip):
562         (WebCore::GraphicsContext::clipOutRoundedRect):
563         (WebCore::GraphicsContext::clipBounds):
564         (WebCore::GraphicsContext::addInnerRoundedRectClip):
565         (WebCore::GraphicsContext::setURLForRect):
566         (WebCore::GraphicsContext::setPlatformTextDrawingMode):
567         (WebCore::GraphicsContext::setPlatformStrokeColor):
568         (WebCore::GraphicsContext::setPlatformStrokeStyle):
569         (WebCore::GraphicsContext::setPlatformStrokeThickness):
570         (WebCore::GraphicsContext::setPlatformFillColor):
571         (WebCore::GraphicsContext::setPlatformCompositeOperation):
572         (WebCore::GraphicsContext::setPlatformShouldAntialias):
573         (WebCore::GraphicsContext::setImageInterpolationQuality):
574         (WebCore::GraphicsContext::imageInterpolationQuality):
575         * platform/graphics/blackberry/ITypeUtils.h: Added.
576         (floatToITypeFixed):
577         (intToITypeFixed):
578         (iTypeFixedToFloat):
579         * platform/graphics/blackberry/ImageBufferBlackBerry.cpp: Added.
580         (WebCore):
581         (WebCore::makeBufferCurrent):
582         (WebCore::getImageDataInternal):
583         (WebCore::ImageBufferData::getImageData):
584         (WebCore::flushAndDraw):
585         (WebCore::ImageBufferData::draw):
586         (WebCore::ImageBuffer::ImageBuffer):
587         (WebCore::ImageBuffer::~ImageBuffer):
588         (WebCore::ImageBuffer::context):
589         (WebCore::ImageBuffer::platformLayer):
590         (WebCore::ImageBuffer::copyImage):
591         (WebCore::ImageBuffer::clip):
592         (WebCore::ImageBuffer::draw):
593         (WebCore::ImageBuffer::drawPattern):
594         (WebCore::ImageBuffer::platformTransformColorSpace):
595         (WebCore::ImageBuffer::getUnmultipliedImageData):
596         (WebCore::ImageBuffer::getPremultipliedImageData):
597         (WebCore::ImageBuffer::putByteArray):
598         (WebCore::ImageBuffer::toDataURL):
599         * platform/graphics/blackberry/ImageBufferDataBlackBerry.h: Added.
600         (WebCore):
601         (ImageBufferData):
602         * platform/graphics/blackberry/PathBlackBerry.cpp: Added.
603         (WebCore):
604         (WebCore::scratchContext):
605         (WebCore::Path::Path):
606         (WebCore::Path::~Path):
607         (WebCore::Path::operator=):
608         (WebCore::Path::currentPoint):
609         (WebCore::Path::contains):
610         (WebCore::Path::strokeContains):
611         (WebCore::Path::translate):
612         (WebCore::Path::boundingRect):
613         (WebCore::Path::strokeBoundingRect):
614         (WebCore::Path::moveTo):
615         (WebCore::Path::addLineTo):
616         (WebCore::Path::addQuadCurveTo):
617         (WebCore::Path::addBezierCurveTo):
618         (WebCore::Path::addArcTo):
619         (WebCore::Path::closeSubpath):
620         (WebCore::Path::addArc):
621         (WebCore::Path::addRect):
622         (WebCore::Path::addEllipse):
623         (WebCore::Path::platformAddPathForRoundedRect):
624         (WebCore::Path::clear):
625         (WebCore::Path::isEmpty):
626         (WebCore::Path::hasCurrentPoint):
627         (WebCore::Path::apply):
628         (WebCore::Path::transform):
629         (WebCore::GraphicsContext::fillPath):
630         (WebCore::GraphicsContext::strokePath):
631         (WebCore::GraphicsContext::drawFocusRing):
632         (WebCore::GraphicsContext::drawLine):
633         (WebCore::GraphicsContext::drawLineForDocumentMarker):
634         (WebCore::GraphicsContext::drawLineForText):
635         (WebCore::GraphicsContext::clip):
636         (WebCore::GraphicsContext::clipPath):
637         (WebCore::GraphicsContext::canvasClip):
638         (WebCore::GraphicsContext::clipOut):
639         * platform/graphics/blackberry/PatternBlackBerry.cpp: Added.
640         (WebCore):
641         (WebCore::Pattern::platformDestroy):
642         (WebCore::Pattern::platformPattern):
643         (WebCore::Pattern::setPlatformPatternSpaceTransform):
644         * platform/graphics/blackberry/PlatformSupport.cpp: Added.
645         (WebCore):
646         (WebCore::PlatformSupport::getFontFamilyForCharacters):
647         * platform/graphics/blackberry/PlatformSupport.h: Added.
648         (WebCore):
649         (PlatformSupport):
650         (FontFamily):
651         * platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp: Added.
652         (WebCore):
653         (WebCore::FSFixedToFloat):
654         (WebCore::SimpleFontData::platformInit):
655         (WebCore::SimpleFontData::platformCharWidthInit):
656         (WebCore::SimpleFontData::platformDestroy):
657         (WebCore::SimpleFontData::createScaledFontData):
658         (WebCore::SimpleFontData::smallCapsFontData):
659         (WebCore::SimpleFontData::emphasisMarkFontData):
660         (WebCore::SimpleFontData::containsCharacters):
661         (WebCore::SimpleFontData::determinePitch):
662         (WebCore::SimpleFontData::platformBoundsForGlyph):
663         (WebCore::SimpleFontData::platformWidthForGlyph):
664         (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
665
666 2013-03-04  Adam Bergkvist  <adam.bergkvist@ericsson.com>
667
668         MediaStream API: local addTrack() and removeTrack() operations should not fire events.
669         https://bugs.webkit.org/show_bug.cgi?id=111079
670
671         Reviewed by Adam Barth.
672
673         Removed the scheduling of "addtrack" and "removetrack" events by
674         addTrack and removeTrack(). Replaced the test since the old test was
675         driven by the event firing removed by this patch.
676
677         Test: fast/mediastream/MediaStream-add-remove-tracks.html
678
679         * Modules/mediastream/MediaStream.cpp:
680         (WebCore::MediaStream::addTrack):
681         (WebCore::MediaStream::removeTrack):
682
683 2013-03-04  Alexander Pavlov  <apavlov@chromium.org>
684
685         Web Inspector: touchmove not emulated inside iframe
686         https://bugs.webkit.org/show_bug.cgi?id=111292
687
688         Reviewed by Vsevolod Vlasov.
689
690         Move fake touch event dispatching from mouseMoved() into handleMouseMoveEvent()
691         and bail out earlier from dispatchSyntheticTouchEventIfEnabled() when the event
692         should be dispatched on a subframe.
693
694         * page/EventHandler.cpp:
695         (WebCore::EventHandler::mouseMoved):
696         (WebCore::EventHandler::handleMouseMoveEvent):
697         (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
698
699 2013-03-04  Mike West  <mkwst@chromium.org>
700
701         Long URLs in error messages should be shortened
702         https://bugs.webkit.org/show_bug.cgi?id=111133
703
704         Reviewed by Jochen Eisinger.
705
706         When generating console messages, we're often copying the page's URL
707         in order to add detail about where the error occurred. Generally, this
708         is fine, but in edge cases (multi-meg 'data:' URLs), we're using far
709         more memory than we should, and impacting performance.
710
711         This patch adds an 'elidedString()' method to KURL for use in this
712         sort of case; when generating console messages, we should insert the
713         elided URL rather than the full URL.
714
715         This shouldn't change any visible behavior; we're already visually
716         eliding URLs in console messages for URLs above 150 characters. This
717         patch simply changes the underlying string to ensure that no URL is
718         over 1k in length to begin with.
719
720         * platform/KURL.cpp:
721         (WebCore::KURL::elidedString): Added.
722         * platform/KURL.h:
723             An exciting new method that gives you the same result as string()
724             for URLs less than 1k long, and elides the middle of URLs longer
725             than 1k by replacing everything but the first and last 0.5k with
726             "...".
727         * bindings/ScriptControllerBase.cpp:
728         (WebCore::ScriptController::canExecuteScripts):
729         * Modules/websockets/WebSocket.cpp:
730         (WebCore::WebSocket::connect):
731         (WebCore::WebSocket::send):
732         * Modules/websockets/WebSocketChannel.cpp:
733         (WebCore::WebSocketChannel::send):
734         (WebCore::WebSocketChannel::fail):
735         * bindings/ScriptControllerBase.cpp:
736         (WebCore::ScriptController::canExecuteScripts):
737         * dom/Document.cpp:
738         (WebCore::Document::processHttpEquiv):
739         * dom/ScriptElement.cpp:
740         (WebCore::ScriptElement::executeScript):
741         * html/HTMLMediaElement.cpp:
742         (WebCore::HTMLMediaElement::canPlayType):
743         (WebCore::HTMLMediaElement::isSafeToLoadURL):
744         * loader/FrameLoader.cpp:
745         (WebCore::FrameLoader::submitForm):
746         (WebCore::FrameLoader::loadFrameRequest):
747         (WebCore::FrameLoader::commitProvisionalLoad):
748         (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
749         (WebCore::FrameLoader::loadProvisionalItemFromCachedPage):
750         (WebCore::createWindow):
751         * loader/MainResourceLoader.cpp:
752         (WebCore::MainResourceLoader::willSendRequest):
753         (WebCore::MainResourceLoader::responseReceived):
754         * loader/appcache/ApplicationCacheGroup.cpp:
755         (WebCore::ApplicationCacheGroup::didReceiveResponse):
756         (WebCore::ApplicationCacheGroup::didFail):
757         * loader/cache/CachedResourceLoader.cpp:
758         (WebCore::CachedResourceLoader::canRequest):
759         (WebCore::CachedResourceLoader::requestResource):
760         (WebCore::CachedResourceLoader::loadResource):
761         (WebCore::CachedResourceLoader::printAccessDeniedMessage):
762         * page/ContentSecurityPolicy.cpp:
763         (WebCore::CSPDirectiveList::checkSourceAndReportViolation):
764         (WebCore::CSPDirectiveList::allowScriptNonce):
765         (WebCore::CSPDirectiveList::allowPluginType):
766             Use 'KURL::elidedString()' rather than 'KURL::string()'
767         * loader/MixedContentChecker.cpp:
768         (WebCore::MixedContentChecker::logWarning):
769             Here, we're doing the same as above, but it enables us to throw
770             away the asUTF8() function entirely by switching to makeString
771             rather than String::format.
772
773 2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
774
775         Web Inspector: add runtime flag to determine if inspector's source files were flattened.
776         https://bugs.webkit.org/show_bug.cgi?id=111184
777
778         Reviewed by Pavel Feldman.
779
780         - Add a file "buildSystemOnly.js" which will be included into
781         devtools.html only by GYP build system. This script sets a single flag
782         which essentially means that inspector source files were run
783         through a build system and flattened.
784         - Update "importScript" and "registerRequiredCSS" functions to correct
785         paths according to the "flattenImports" flag.
786
787         No new tests: no change in behaviour.
788
789         * WebCore.gypi:
790         * inspector/front-end/CodeMirrorTextEditor.js:
791         (WebInspector.CodeMirrorTextEditor):
792         * inspector/front-end/View.js:
793         (WebInspector.View.prototype.registerRequiredCSS):
794         * inspector/front-end/buildSystemOnly.js: Added.
795         * inspector/front-end/utilities.js:
796
797 2013-03-04  Vsevolod Vlasov  <vsevik@chromium.org>
798
799         Web Inspector: Fix front-end compilation
800         https://bugs.webkit.org/show_bug.cgi?id=111286
801
802         Reviewed by Alexander Pavlov.
803
804         * inspector/InjectedScriptSource.js:
805         * inspector/front-end/FileSystemProjectDelegate.js:
806         * inspector/front-end/NavigatorView.js:
807         (WebInspector.NavigatorView.prototype.removeUISourceCode):
808         (WebInspector.NavigatorTreeNode.prototype.reset):
809         (WebInspector.NavigatorFolderTreeNode.prototype.didAddChild):
810
811 2013-03-03  Kondapally Kalyan  <kalyan.kondapally@intel.com>
812
813         [EFL][WebGL] Add proper checks to enable GraphicsSurface usage on EGL without XCompositeWindow.
814         https://bugs.webkit.org/show_bug.cgi?id=108034
815
816         Reviewed by Laszlo Gombos.
817
818         Covered by existing WebGL tests.
819
820         Currently, we set GRAPHICS_SURFACE to true if support for XCompositeWindow
821         is identified during compile time. This is ok, when using GLX. We might not
822         have support for XCompositeWindow when using EGL and GLES2.0. This patch
823         makes changes so that GRAPHICS_SURFACE is always enabled with EGL and adds
824         GLX guard to the parts of code dependent on XCompositeWindow support.
825
826         * platform/graphics/opengl/GLPlatformSurface.cpp:
827         * platform/graphics/surfaces/glx/GLXConfigSelector.h:
828         (WebCore::GLXConfigSelector::findMatchingConfig):
829         * platform/graphics/surfaces/glx/X11Helper.cpp:
830         (WebCore::X11Helper::createOffScreenWindow):
831         (WebCore::X11Helper::isXRenderExtensionSupported):
832         * platform/graphics/surfaces/glx/X11Helper.h:
833
834 2013-03-03  Alexander Pavlov  <apavlov@chromium.org>
835
836         Web Inspector: [PageAgent] can't find frame by security origin.
837         https://bugs.webkit.org/show_bug.cgi?id=110849
838
839         Use toRawString() in order to compare Frames' SecurityOrigins for storage-related goals.
840
841         Reviewed by Vsevolod Vlasov.
842
843         * inspector/InspectorPageAgent.cpp:
844         (WebCore::InspectorPageAgent::findFrameWithSecurityOrigin):
845
846 2013-03-03  Alexander Pavlov  <apavlov@chromium.org>
847
848         Unreviewed, rolling out r144455.
849         http://trac.webkit.org/changeset/144455
850         https://bugs.webkit.org/show_bug.cgi?id=111165
851
852         A simpler solution to the SecurityOrigin -> localStorage
853         lookup exists
854
855         * inspector/front-end/DOMStorage.js:
856         (WebInspector.DOMStorage.storageId):
857         (WebInspector.DOMStorage.prototype.get id):
858         (WebInspector.DOMStorage.prototype.getItems):
859         (WebInspector.DOMStorage.prototype.setItem):
860         (WebInspector.DOMStorage.prototype.removeItem):
861         (WebInspector.DOMStorageModel.prototype._securityOriginAdded):
862         (WebInspector.DOMStorageModel.prototype._securityOriginRemoved):
863         (WebInspector.DOMStorageModel.prototype._storageKey):
864         * inspector/front-end/ExtensionAuditCategory.js:
865         * inspector/front-end/FileSystemModel.js:
866         (WebInspector.FileSystemModel.prototype._reset):
867         (WebInspector.FileSystemModel.prototype._securityOriginAdded):
868         (WebInspector.FileSystemModel.prototype._securityOriginRemoved):
869         (WebInspector.FileSystemModel.prototype._addOrigin):
870         (WebInspector.FileSystemModel.prototype._removeOrigin):
871         (WebInspector.FileSystemModel.prototype._requestFileSystemRoot):
872         (WebInspector.FileSystemModel.prototype._fileSystemRootReceived):
873         (WebInspector.FileSystemModel.prototype._removeFileSystem):
874         (WebInspector.FileSystemModel.FileSystem.prototype.get name):
875         * inspector/front-end/IndexedDBModel.js:
876         (WebInspector.IndexedDBModel.prototype._reset):
877         (WebInspector.IndexedDBModel.prototype.refreshDatabaseNames):
878         (WebInspector.IndexedDBModel.prototype._securityOriginAdded):
879         (WebInspector.IndexedDBModel.prototype._securityOriginRemoved):
880         (WebInspector.IndexedDBModel.prototype._addOrigin):
881         (WebInspector.IndexedDBModel.prototype._removeOrigin):
882         (WebInspector.IndexedDBModel.prototype._updateOriginDatabaseNames):
883         (WebInspector.IndexedDBModel.prototype._loadDatabaseNames):
884         (WebInspector.IndexedDBModel.prototype._loadDatabase):
885         (WebInspector.IndexedDBModel.prototype.):
886         (WebInspector.IndexedDBModel.prototype._requestData):
887         (WebInspector.IndexedDBModel.DatabaseId.prototype.equals):
888         * inspector/front-end/IndexedDBViews.js:
889         (WebInspector.IDBDatabaseView.prototype._refreshDatabase):
890         * inspector/front-end/ResourceTreeModel.js:
891         (WebInspector.ResourceTreeModel):
892         (WebInspector.ResourceTreeModel.prototype._addFrame):
893         (WebInspector.ResourceTreeModel.prototype._addSecurityOrigin):
894         (WebInspector.ResourceTreeModel.prototype._removeSecurityOrigin):
895         (WebInspector.ResourceTreeModel.prototype.securityOrigins):
896         (WebInspector.ResourceTreeModel.prototype._handleMainFrameDetached):
897         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
898         (WebInspector.ResourceTreeModel.prototype._frameDetached):
899         (WebInspector.ResourceTreeFrame):
900         (WebInspector.ResourceTreeFrame.prototype._navigate):
901         * inspector/front-end/ResourcesPanel.js:
902         (WebInspector.IDBDatabaseTreeElement):
903         (WebInspector.IDBDatabaseTreeElement.prototype.get itemURL):
904         (WebInspector.IDBObjectStoreTreeElement.prototype.get itemURL):
905         (WebInspector.IDBIndexTreeElement.prototype.get itemURL):
906         (WebInspector.DOMStorageTreeElement):
907         (WebInspector.DOMStorageTreeElement.prototype.get itemURL):
908         (WebInspector.FileSystemTreeElement):
909
910 2013-03-01  Vsevolod Vlasov  <vsevik@chromium.org>
911
912         Web Inspector: Let user know when file system based uiSourceCode was changed on disk.
913         https://bugs.webkit.org/show_bug.cgi?id=110133
914
915         Reviewed by Pavel Feldman.
916
917         We now check if file system based uiSourceCode content was updated externally when 
918         UISourceCodeFrame is shown or inspector window is focused.
919         If there is no working copy being edited right now we replace old content with the new one silently.
920         Otherwise ask user if he wants to replace his working copy with the new content.
921
922         * English.lproj/localizedStrings.js:
923         * WebCore.vcproj/WebCore.vcproj:
924         * inspector/front-end/DefaultTextEditor.js:
925         (WebInspector.DefaultTextEditor.prototype.editRange):
926         * inspector/front-end/FileSystemProjectDelegate.js:
927         (WebInspector.FileSystemProjectDelegate.prototype.innerCallback):
928         (WebInspector.FileSystemProjectDelegate.prototype.requestFileContent):
929         (WebInspector.FileSystemProjectDelegate.prototype._contentRequestFinished):
930         (WebInspector.FileSystemProjectDelegate.prototype.requestUpdatedFileContent):
931         (WebInspector.FileSystemProjectDelegate.prototype.contentCallback):
932         (WebInspector.FileSystemProjectDelegate.prototype.searchInFileContent):
933         * inspector/front-end/JavaScriptSourceFrame.js:
934         (WebInspector.JavaScriptSourceFrame.prototype.wasShown):
935         (WebInspector.JavaScriptSourceFrame.prototype.willHide):
936         * inspector/front-end/SimpleWorkspaceProvider.js:
937         (WebInspector.SimpleProjectDelegate.prototype.requestUpdatedFileContent):
938         * inspector/front-end/SourceFrame.js:
939         (WebInspector.SourceFrame.prototype.setContent):
940         * inspector/front-end/UISourceCode.js:
941         (WebInspector.UISourceCode.prototype.checkContentUpdated.updatedContentLoaded):
942         (WebInspector.UISourceCode.prototype.checkContentUpdated):
943         * inspector/front-end/UISourceCodeFrame.js:
944         (WebInspector.UISourceCodeFrame.prototype.wasShown):
945         (WebInspector.UISourceCodeFrame.prototype.willHide):
946         (WebInspector.UISourceCodeFrame.prototype._windowFocused):
947         (WebInspector.UISourceCodeFrame.prototype._checkContentUpdated):
948         * inspector/front-end/Workspace.js:
949         (WebInspector.ProjectDelegate.prototype.requestUpdatedFileContent):
950         (WebInspector.Project.prototype.requestUpdatedFileContent):
951
952 2013-03-03  Arpita Bahuguna  <a.bah@samsung.com>
953
954         createAttribute/setAttributeNode does not properly normalize case
955         https://bugs.webkit.org/show_bug.cgi?id=90341
956
957         Reviewed by Darin Adler.
958
959         setAttributeNode() verifies for existing attributes in a case sensitive
960         manner. Thus, it would add another attribute if specified in a case
961         different from the existing one. Instead, like setAttribute(), it too
962         should modify the existing attribute's value.
963
964         Test: fast/dom/Element/setAttributeNode-case-insensitivity.html
965
966         * dom/Element.cpp:
967         (WebCore::Element::setAttributeNode):
968         Made changes to check for an existing attribute by converting the
969         specified attribute's localName to lowercase.
970
971 2013-03-03  Kentaro Hara  <haraken@chromium.org>
972
973         Unreviewed. Rebaselined run-bindings-tests.
974
975         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
976         (WebCore::TestActiveDOMObjectV8Internal::indexedSecurityCheck):
977         (TestActiveDOMObjectV8Internal):
978         (WebCore::TestActiveDOMObjectV8Internal::namedSecurityCheck):
979         (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
980         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
981         (V8TestActiveDOMObject):
982
983 2013-03-03  Kentaro Hara  <haraken@chromium.org>
984
985         Unreviewed build fix after r144590.
986
987         * bindings/scripts/CodeGeneratorV8.pm:
988         (GenerateSecurityCheckFunctions):
989
990 2013-03-03  Kentaro Hara  <haraken@chromium.org>
991
992         Unreviewed build fix after r144587.
993
994         * bindings/v8/V8Binding.cpp:
995         (WebCore::toV8Context):
996         * bindings/v8/V8MutationCallback.cpp:
997         (WebCore::V8MutationCallback::V8MutationCallback):
998
999 2013-03-01  Kentaro Hara  <haraken@chromium.org>
1000
1001         [V8] HTMLDocument.all should have [Replaceable]
1002         https://bugs.webkit.org/show_bug.cgi?id=111230
1003
1004         Reviewed by Adam Barth.
1005
1006         (Although HTMLDocument.all is already removed from the spec,)
1007         it is expected to behave as a [Replaceable] attribute. By adding
1008         a [Replaceable] IDL attribute, we can remove custom implementation
1009         of HTMLDocument.all.
1010
1011         I confimed that exactly the same code is generated for .all getter
1012         and setter.
1013
1014         No tests. No change in behavior.
1015
1016         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
1017         * html/HTMLDocument.idl:
1018
1019 2013-03-01  Kentaro Hara  <haraken@chromium.org>
1020
1021         [V8] indexedSecurityCheck() and namedSecurityCheck() should be auto-generated
1022         https://bugs.webkit.org/show_bug.cgi?id=111225
1023
1024         Reviewed by Adam Barth.
1025
1026         indexedSecurityCheck() and namedSecurityCheck() should be auto-generated,
1027         except for DOMWindow's ones.
1028
1029         No tests. No change in behavior.
1030
1031         * bindings/scripts/CodeGeneratorV8.pm:
1032         (GenerateHeader):
1033         (GenerateImplementation):
1034         (GenerateSecurityCheckFunctions):
1035         * bindings/v8/custom/V8DOMWindowCustom.cpp:
1036         (WebCore::V8DOMWindow::namedSecurityCheckCustom):
1037         (WebCore::V8DOMWindow::indexedSecurityCheckCustom):
1038         * bindings/v8/custom/V8HistoryCustom.cpp:
1039         * bindings/v8/custom/V8LocationCustom.cpp:
1040
1041 2013-03-01  Kentaro Hara  <haraken@chromium.org>
1042
1043         [V8] Rename $implContentDecls to $implContentInternals in CodeGeneratorV8.pm
1044         https://bugs.webkit.org/show_bug.cgi?id=111214
1045
1046         Reviewed by Adam Barth.
1047
1048         $implContentDecls stores generated code that is put in a namespace 'XXXV8Internal'.
1049         For clarification, it should be renamed to $implContentInternals.
1050
1051         No tests. No change in behavior.
1052
1053         * bindings/scripts/CodeGeneratorV8.pm:
1054         (GenerateDomainSafeFunctionGetter):
1055         (GenerateDomainSafeFunctionSetter):
1056         (GenerateConstructorGetter):
1057         (GenerateNormalAttrGetterCallback):
1058         (GenerateNormalAttrGetter):
1059         (GenerateReplaceableAttrSetterCallback):
1060         (GenerateReplaceableAttrSetter):
1061         (GenerateNormalAttrSetterCallback):
1062         (GenerateNormalAttrSetter):
1063         (GenerateOverloadedFunction):
1064         (GenerateFunctionCallback):
1065         (GenerateFunction):
1066         (GenerateOverloadedConstructorCallback):
1067         (GenerateSingleConstructorCallback):
1068         (GenerateEventConstructor):
1069         (GenerateTypedArrayConstructor):
1070         (GenerateImplementation):
1071         (WriteData):
1072
1073 2013-03-01  Kentaro Hara  <haraken@chromium.org>
1074
1075         [V8] Rename getWorld() to isolatedWorld(), and getWorldForEnteredContext() to isolatedWorldForEnteredContext()
1076         https://bugs.webkit.org/show_bug.cgi?id=111212
1077
1078         Reviewed by Adam Barth.
1079
1080         The rename I did in r142424 was wrong. Given that getWorld() returns 0
1081         for the main world, it should be named isolatedWorld(). Similarly,
1082         given that getWorldForEnteredContext() returns 0 for the main world,
1083         it should be named isolatedWorldForEnteredContext().
1084
1085         No tests. No change in behavior.
1086
1087         * bindings/v8/CustomElementHelpers.cpp:
1088         (WebCore::CustomElementHelpers::isFeatureAllowed):
1089         * bindings/v8/DOMDataStore.cpp:
1090         (WebCore::DOMDataStore::current):
1091         * bindings/v8/DOMWrapperWorld.cpp:
1092         (WebCore::DOMWrapperWorld::makeContextWeak):
1093         * bindings/v8/DOMWrapperWorld.h:
1094         (WebCore::DOMWrapperWorld::isolatedWorld):
1095         * bindings/v8/ScriptController.cpp:
1096         (WebCore::ScriptController::shouldBypassMainWorldContentSecurityPolicy):
1097         (WebCore::ScriptController::currentWorldContext):
1098         * bindings/v8/V8Binding.h:
1099         (WebCore::isolatedWorldForEnteredContext):
1100         * bindings/v8/WorldContextHandle.cpp:
1101         (WebCore::WorldContextHandle::WorldContextHandle):
1102         * bindings/v8/custom/V8DocumentCustom.cpp:
1103         (WebCore::wrap):
1104         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
1105         (WebCore::wrap):
1106         * bindings/v8/custom/V8SVGDocumentCustom.cpp:
1107         (WebCore::wrap):
1108         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
1109         (WebCore::V8XMLHttpRequest::constructorCustom):
1110
1111 2013-03-01  Kentaro Hara  <haraken@chromium.org>
1112
1113         [V8] Move HTMLDocument::getNamedProperty() to DOMWindowShell
1114         https://bugs.webkit.org/show_bug.cgi?id=111223
1115
1116         Reviewed by Adam Barth.
1117
1118         HTMLDocument::getNamedProperty() is used by DOMWindowShell.
1119         It can be a static method in DOMWindowShell.
1120
1121         No tests. No change in behavior.
1122
1123         * bindings/scripts/CodeGeneratorV8.pm:
1124         (GenerateHeader):
1125         * bindings/v8/V8DOMWindowShell.cpp:
1126         (WebCore::getNamedProperty):
1127         (WebCore):
1128         (WebCore::getter):
1129         * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
1130
1131 2013-03-03  Dan Bernstein  <mitz@apple.com>
1132
1133         Build fix after r144565. Reverted r144533.
1134
1135         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
1136
1137 2013-03-03  Adam Barth  <abarth@webkit.org>
1138
1139         Attempt to fix the Qt build after r144498
1140         https://bugs.webkit.org/show_bug.cgi?id=111272
1141
1142         Reviewed by Eric Seidel.
1143
1144         Update the Qt version of the XML parser to call the new API.
1145
1146         * xml/parser/XMLDocumentParserQt.cpp:
1147         (WebCore::XMLDocumentParser::resumeParsing):
1148         (WebCore::XMLDocumentParser::appendFragmentSource):
1149
1150 2013-03-03  Dean Jackson  <dino@apple.com>
1151
1152         Plug-ins that are appropriately large w.r.t page size should autostart
1153         https://bugs.webkit.org/show_bug.cgi?id=111242
1154
1155         Reviewed by Brady Eidson.
1156
1157         A "full-page" plug-in site should never snapshot. The trick is
1158         how to determine what is full-page. This change implements the
1159         following algorithm.
1160
1161         - The plug-in is in the main frame (not an iframe).
1162         - The plug-in is sized with width and height 100%.
1163         - The displayed area of the plug-in is more than 96% of the viewport area.
1164
1165         This is definitely not foolproof. For example, zombo.com has a slight
1166         border around its plug-in. As the window size gets smaller, the body margin
1167         takes up more than 5% of the width or height, and the plug-in doesn't pass
1168         the tests above.
1169
1170         * html/HTMLPlugInImageElement.cpp:
1171         (WebCore): New static constant: sizingFullPageThresholdPercentage
1172         (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Implements
1173             the rules described above.
1174
1175 2013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
1176
1177         [Win] IDLParser.pm fails to parse OESTextureHalfFloat and causes a build failure
1178         https://bugs.webkit.org/show_bug.cgi?id=111267
1179
1180         Reviewed by Kentaro Hara.
1181
1182         Allow empty definitions.
1183
1184         * bindings/scripts/IDLParser.pm:
1185         (Parse):
1186
1187 2013-03-03  David Kilzer  <ddkilzer@apple.com>
1188
1189         BUILD FIX: RenderLayerFilterInfo.h needs to include Element.h with ENABLE(SVG)
1190
1191         Fixes the following build failures:
1192
1193             In file included from Source/WebCore/rendering/RenderLayerFilterInfo.cpp:33:
1194             Source/WebCore/rendering/RenderLayerFilterInfo.h:118:19: error: use of undeclared identifier 'Element'
1195                 Vector<RefPtr<Element> > m_internalSVGReferences;
1196                               ^
1197             Source/WebCore/rendering/RenderLayerFilterInfo.h:118:28: error: expected a type
1198                 Vector<RefPtr<Element> > m_internalSVGReferences;
1199                                        ^
1200             Source/WebCore/rendering/RenderLayerFilterInfo.h:118:30: error: private field 'm_internalSVGReferences' is not used [-Werror,-Wunused-private-field]
1201                 Vector<RefPtr<Element> > m_internalSVGReferences;
1202                                          ^
1203             3 errors generated.
1204
1205         * rendering/RenderLayerFilterInfo.h: Include Element.h within
1206         ENABLE(SVG).  Move ENABLE(SVG) block below unconditional
1207         headers.
1208
1209 2013-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1210
1211         Unreviewed, rolling out r144567.
1212         http://trac.webkit.org/changeset/144567
1213         https://bugs.webkit.org/show_bug.cgi?id=111266
1214
1215         Does not compile on apple-win (Requested by abarth on
1216         #webkit).
1217
1218         * WebCore.exp.in:
1219         * dom/Document.cpp:
1220         (WebCore::Document::iconURLs):
1221         * dom/Document.h:
1222         (Document):
1223         * loader/icon/IconController.cpp:
1224         (WebCore::IconController::iconURL):
1225         (WebCore::IconController::urlsForTypes):
1226         * loader/icon/IconController.h:
1227         (IconController):
1228         * testing/Internals.cpp:
1229         (WebCore::Internals::iconURLs):
1230         * testing/Internals.h:
1231         * testing/Internals.idl:
1232
1233 2013-03-03  Mike West  <mkwst@chromium.org>
1234
1235         CSP 1.1: Support CSP 1.1 directives on the unprefixed header.
1236         https://bugs.webkit.org/show_bug.cgi?id=111254
1237
1238         Reviewed by Adam Barth.
1239
1240         We'd like to ensure that early adopters don't get stuck on a prefixed
1241         header; when CSP 1.1 is baked enough to be supported in multiple
1242         browsers, everything should Just Work™.
1243
1244         This patch changes WebKit's behavior regarding CSP_NEXT features.
1245         Currently, they're only exposed on the prefixed header ('X-WebKit-CSP').
1246         This patch exposes those features on the canonical header, assuming
1247         that the runtime flag is set. This shouldn't have any effect at all on
1248         ports that haven't yet enabled CSP_NEXT, and will simply clear the way
1249         for a clean deployment to a wider audience once the specification
1250         process is further along.
1251
1252         This change shouldn't have any effect on the existing tests: they
1253         should run just as they did before. The next step will be to adjust
1254         the LayoutTests for 1.1 to prefer the canonical header, but I'll do
1255         that in another patch to reduce churn.
1256
1257         Related, the enum names no longer made sense: the difference between the
1258         canonical 'Content-Security-Policy' header and 'X-WebKit-CSP' is the
1259         prefix, not the functionality. This patch renames them for clarity.
1260
1261         * dom/Document.cpp:
1262         (WebCore::Document::processHttpEquiv):
1263         * loader/FrameLoader.cpp:
1264         (WebCore::FrameLoader::didBeginDocument):
1265             Use the new enum names.
1266         * page/ContentSecurityPolicy.cpp:
1267         (CSPDirectiveList):
1268         (WebCore::CSPDirectiveList::CSPDirectiveList):
1269         (WebCore::CSPDirectiveList::addDirective):
1270             Drop the 'm_experimental' property from CSPDirectiveList; we'll
1271             control the behavior via the runtime flag from now on.
1272
1273             Also, this fixes a small bug in 'addDirective()': we never threw
1274             unrecognized directive errors for users who were sending the
1275             prefixed header. Oops!
1276         (WebCore::ContentSecurityPolicy::deprecatedHeaderType):
1277             Use the new enum names.
1278         * page/ContentSecurityPolicy.h:
1279             Redefine the enum for clarity: 'PrefixedReport' and 'Report'
1280             rather than 'ReportAllDirectives' and 'ReportStableDirectives'.
1281
1282 2013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
1283
1284         Another Windows build fix attempt after r144567.
1285         Try touching the IDL file in a hope it'll regenerate JSInternals.cpp.
1286
1287         * testing/Internals.idl:
1288
1289 2013-03-03  Adam Barth  <abarth@webkit.org>
1290
1291         Unreviewed attempted build fix. Adds back some includes removed in
1292         http://trac.webkit.org/changeset/144565.
1293
1294         * Modules/mediastream/RTCPeerConnection.cpp:
1295         * bindings/ScriptControllerBase.cpp:
1296         * bindings/objc/DOM.mm:
1297         * bindings/v8/ScriptController.cpp:
1298         * bindings/v8/V8DOMWindowShell.cpp:
1299         * bindings/v8/custom/V8DOMWindowCustom.cpp:
1300         * css/CSSFontSelector.cpp:
1301         * css/WebKitCSSSVGDocumentValue.cpp:
1302         * dom/DOMImplementation.cpp:
1303         * dom/PendingScript.h:
1304         * dom/ScriptElement.cpp:
1305         * dom/ScriptElement.h:
1306         * history/CachedFrame.cpp:
1307         * html/DOMURL.cpp:
1308         * html/HTMLAnchorElement.cpp:
1309         * html/HTMLAppletElement.cpp:
1310         * html/HTMLElement.cpp:
1311         * html/HTMLEmbedElement.cpp:
1312         * html/HTMLFrameSetElement.cpp:
1313         * html/HTMLHtmlElement.cpp:
1314         * html/HTMLImageElement.cpp:
1315         * html/HTMLObjectElement.cpp:
1316         * html/HTMLPlugInElement.cpp:
1317         * html/ImageDocument.cpp:
1318         * html/ImageInputType.cpp:
1319         * html/MediaDocument.cpp:
1320         * html/PluginDocument.cpp:
1321         * html/canvas/WebGLRenderingContext.cpp:
1322         (WebCore):
1323         * html/parser/HTMLConstructionSite.cpp:
1324         * html/parser/HTMLParserOptions.cpp:
1325         * html/parser/XSSAuditorDelegate.cpp:
1326         * inspector/InspectorDebuggerAgent.cpp:
1327         * inspector/InspectorFileSystemAgent.cpp:
1328         * inspector/InspectorFrontendHost.cpp:
1329         * inspector/InspectorInstrumentation.h:
1330         * inspector/InspectorPageAgent.cpp:
1331         * inspector/NetworkResourcesData.cpp:
1332         * inspector/NetworkResourcesData.h:
1333         (WebCore):
1334         * loader/CookieJar.cpp:
1335         * loader/CrossOriginAccessControl.cpp:
1336         * loader/FrameLoader.cpp:
1337         * loader/MainResourceLoader.cpp:
1338         * loader/MixedContentChecker.cpp:
1339         * loader/PingLoader.cpp:
1340         * loader/SubframeLoader.cpp:
1341         * loader/SubresourceLoader.cpp:
1342         * loader/appcache/ApplicationCacheGroup.cpp:
1343         * loader/appcache/ApplicationCacheHost.cpp:
1344         * loader/cache/CachedResource.cpp:
1345         * loader/icon/IconController.cpp:
1346         * page/DOMWindowExtension.cpp:
1347         * page/Frame.cpp:
1348         * page/PerformanceTiming.cpp:
1349         * page/PointerLockController.cpp:
1350         * page/animation/CSSPropertyAnimation.cpp:
1351         * platform/chromium/PasteboardChromium.cpp:
1352         * platform/efl/ErrorsEfl.cpp:
1353         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
1354         * platform/gtk/ErrorsGtk.cpp:
1355         * platform/gtk/PasteboardGtk.cpp:
1356         * platform/gtk/PasteboardHelper.h:
1357         * platform/mac/ClipboardMac.mm:
1358         * platform/mac/HTMLConverter.mm:
1359         * platform/qt/PasteboardQt.cpp:
1360         * plugins/DOMMimeType.cpp:
1361         * plugins/PluginView.cpp:
1362         * rendering/HitTestResult.cpp:
1363         * rendering/RenderImage.cpp:
1364         * rendering/RenderImageResource.cpp:
1365         * rendering/RenderImageResourceStyleImage.cpp:
1366         * rendering/RenderLayer.cpp:
1367         * rendering/RenderLayerBacking.cpp:
1368         * svg/SVGImageLoader.cpp:
1369         * svg/SVGUseElement.cpp:
1370         * testing/MockPagePopupDriver.cpp:
1371         * xml/XSLStyleSheet.h:
1372         (WebCore):
1373
1374 2013-03-03  Ruslan Abdikeev  <aruslan@chromium.org>
1375
1376         <link rel="apple-touch-icon"> tag is not honored on CNN.com, workflowy.com etc
1377         https://bugs.webkit.org/show_bug.cgi?id=109061
1378
1379         Reviewed by Adam Barth.
1380
1381         Test: fast/dom/icon-url-list-apple-touch.html
1382
1383         Added iconTypes parameter to Document::iconURLs().
1384         Added Document::shortcutIconURLs() with original semantics of iconURLs().
1385         Fixed IconController.cpp to provide iconTypesMask to iconURLs().
1386         Renamed iconTypes to iconTypesMask to make the meaning clearer.
1387
1388         * WebCore.exp.in:
1389         * dom/Document.cpp:
1390         (WebCore::Document::shortcutIconURLs):
1391         (WebCore):
1392         (WebCore::Document::iconURLs):
1393         * dom/Document.h:
1394         (Document):
1395         * loader/icon/IconController.cpp:
1396         (WebCore::IconController::iconURL):
1397         (WebCore::IconController::urlsForTypes):
1398         * testing/Internals.cpp:
1399         (WebCore::Internals::iconURLs):
1400         (WebCore::Internals::shortcutIconURLs):
1401         (WebCore):
1402         (WebCore::Internals::allIconURLs):
1403         * testing/Internals.h:
1404         * testing/Internals.idl:
1405
1406 2013-03-03  Mike West  <mkwst@chromium.org>
1407
1408         CSP: Throw a warning when a '*-report-only' header doesn't contain a 'report-uri' directive.
1409         https://bugs.webkit.org/show_bug.cgi?id=111208
1410
1411         Reviewed by Adam Barth.
1412
1413         Developers in the wild have been observed to serve a report-only CSP
1414         header with a policy that doesn't contain a 'report-uri' directive.
1415         This has zero effect, of course, and we should help them understand
1416         that by throwing a warning up on the console.
1417
1418         Test: http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html
1419
1420         * page/ContentSecurityPolicy.cpp:
1421         (WebCore::CSPDirectiveList::isReportOnly): Added.
1422         (WebCore::CSPDirectiveList::reportURIs): Added.
1423         (WebCore::CSPDirectiveList::create):
1424             After creating a CSPDirectiveList, check whether it's in
1425             report-only mode without a report-uri. If so, warn the developer.
1426         (WebCore::ContentSecurityPolicy::reportMissingReportURI): Added.
1427             Write an exciting message to the console, warning the developer
1428             about her expensive no-op machine.
1429
1430 2013-03-03  Adam Barth  <abarth@webkit.org>
1431
1432         Unreviewed rollout of http://trac.webkit.org/r144530
1433         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
1434         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
1435         large number of ASSERTs in chromium-win.
1436
1437         * CMakeLists.txt:
1438         * GNUmakefile.list.am:
1439         * Modules/mediastream/RTCPeerConnection.cpp:
1440         * Modules/notifications/Notification.cpp:
1441         * Target.pri:
1442         * WebCore.exp.in:
1443         * WebCore.gypi:
1444         * WebCore.vcproj/WebCore.vcproj:
1445         * WebCore.vcxproj/WebCore.vcxproj:
1446         * WebCore.vcxproj/WebCore.vcxproj.filters:
1447         * WebCore.xcodeproj/project.pbxproj:
1448         * bindings/ScriptControllerBase.cpp:
1449         * bindings/js/JSNodeCustom.cpp:
1450         * bindings/js/ScriptController.cpp:
1451         * bindings/js/ScriptSourceCode.h:
1452         (WebCore):
1453         * bindings/objc/DOM.mm:
1454         * bindings/v8/ScriptController.cpp:
1455         * bindings/v8/V8DOMWindowShell.cpp:
1456         * bindings/v8/custom/V8DOMWindowCustom.cpp:
1457         * css/CSSCrossfadeValue.h:
1458         (WebCore::CSSCrossfadeValue::CSSCrossfadeValue):
1459         (WebCore::CSSCrossfadeValue::CrossfadeSubimageObserverProxy::CrossfadeSubimageObserverProxy):
1460         * css/CSSFontFaceSource.h:
1461         * css/CSSFontSelector.cpp:
1462         * css/WebKitCSSSVGDocumentValue.cpp:
1463         * css/WebKitCSSSVGDocumentValue.h:
1464         (WebCore):
1465         * dom/Clipboard.cpp:
1466         (WebCore::Clipboard::Clipboard):
1467         * dom/ContainerNode.cpp:
1468         * dom/DOMImplementation.cpp:
1469         * dom/PendingScript.h:
1470         * dom/ScriptElement.cpp:
1471         * dom/ScriptElement.h:
1472         * history/CachedFrame.cpp:
1473         * html/DOMURL.cpp:
1474         * html/HTMLAnchorElement.cpp:
1475         * html/HTMLAppletElement.cpp:
1476         * html/HTMLElement.cpp:
1477         * html/HTMLEmbedElement.cpp:
1478         * html/HTMLFrameSetElement.cpp:
1479         * html/HTMLHtmlElement.cpp:
1480         * html/HTMLImageElement.cpp:
1481         * html/HTMLObjectElement.cpp:
1482         * html/HTMLPlugInElement.cpp:
1483         * html/ImageDocument.cpp:
1484         * html/ImageInputType.cpp:
1485         * html/MediaDocument.cpp:
1486         * html/PluginDocument.cpp:
1487         * html/canvas/WebGLRenderingContext.cpp:
1488         (WebCore):
1489         * html/parser/HTMLConstructionSite.cpp:
1490         * html/parser/HTMLParserOptions.cpp:
1491         * html/parser/HTMLScriptRunner.h:
1492         * html/parser/XSSAuditor.cpp:
1493         * html/parser/XSSAuditorDelegate.cpp:
1494         * inspector/InspectorDebuggerAgent.cpp:
1495         * inspector/InspectorFileSystemAgent.cpp:
1496         * inspector/InspectorFrontendHost.cpp:
1497         * inspector/InspectorInstrumentation.h:
1498         (WebCore):
1499         * inspector/InspectorPageAgent.cpp:
1500         * inspector/NetworkResourcesData.cpp:
1501         * inspector/NetworkResourcesData.h:
1502         (WebCore):
1503         * loader/CookieJar.cpp:
1504         * loader/CrossOriginAccessControl.cpp:
1505         * loader/CrossOriginAccessControl.h:
1506         (WebCore):
1507         * loader/CrossOriginPreflightResultCache.h:
1508         * loader/DocumentThreadableLoader.h:
1509         * loader/FrameLoader.cpp:
1510         (WebCore::FrameLoader::FrameLoader):
1511         * loader/FrameLoader.h:
1512         (WebCore):
1513         (WebCore::FrameLoader::policyChecker):
1514         * loader/ImageLoader.cpp:
1515         * loader/ImageLoader.h:
1516         * loader/LinkLoader.h:
1517         (WebCore):
1518         * loader/MainResourceLoader.cpp:
1519         * loader/MainResourceLoader.h:
1520         (WebCore):
1521         * loader/MixedContentChecker.cpp:
1522         * loader/PingLoader.cpp:
1523         * loader/PolicyChecker.h:
1524         (WebCore):
1525         * loader/ProgressTracker.cpp:
1526         * loader/SubframeLoader.cpp:
1527         * loader/SubresourceLoader.cpp:
1528         * loader/TextTrackLoader.cpp:
1529         * loader/TextTrackLoader.h:
1530         (WebCore):
1531         * loader/ThreadableLoader.h:
1532         * loader/appcache/ApplicationCacheGroup.cpp:
1533         * loader/appcache/ApplicationCacheGroup.h:
1534         (WebCore):
1535         * loader/appcache/ApplicationCacheHost.cpp:
1536         * loader/archive/cf/LegacyWebArchive.cpp:
1537         * loader/cache/CachedFont.cpp:
1538         * loader/cache/CachedFont.h:
1539         (CachedFontClient):
1540         (WebCore::CachedFontClient::~CachedFontClient):
1541         (WebCore::CachedFontClient::expectedType):
1542         (WebCore::CachedFontClient::resourceClientType):
1543         (WebCore::CachedFontClient::fontLoaded):
1544         (WebCore):
1545         * loader/cache/CachedFontClient.h: Removed.
1546         * loader/cache/CachedImage.cpp:
1547         * loader/cache/CachedRawResource.cpp:
1548         * loader/cache/CachedRawResource.h:
1549         (WebCore):
1550         (CachedRawResourceClient):
1551         (WebCore::CachedRawResourceClient::~CachedRawResourceClient):
1552         (WebCore::CachedRawResourceClient::expectedType):
1553         (WebCore::CachedRawResourceClient::resourceClientType):
1554         (WebCore::CachedRawResourceClient::dataSent):
1555         (WebCore::CachedRawResourceClient::responseReceived):
1556         (WebCore::CachedRawResourceClient::dataReceived):
1557         (WebCore::CachedRawResourceClient::redirectReceived):
1558         (WebCore::CachedRawResourceClient::dataDownloaded):
1559         * loader/cache/CachedRawResourceClient.h: Removed.
1560         * loader/cache/CachedResource.cpp:
1561         * loader/cache/CachedResourceHandle.cpp:
1562         (WebCore):
1563         * loader/cache/CachedResourceHandle.h:
1564         (WebCore):
1565         (WebCore::CachedResourceHandleBase::~CachedResourceHandleBase):
1566         (WebCore::CachedResourceHandleBase::CachedResourceHandleBase):
1567         * loader/cache/CachedSVGDocument.h:
1568         (CachedSVGDocumentClient):
1569         (WebCore::CachedSVGDocumentClient::~CachedSVGDocumentClient):
1570         (WebCore::CachedSVGDocumentClient::expectedType):
1571         (WebCore::CachedSVGDocumentClient::resourceClientType):
1572         (WebCore):
1573         * loader/cache/CachedSVGDocumentClient.h: Removed.
1574         * loader/cache/CachedSVGDocumentReference.cpp: Removed.
1575         * loader/cache/CachedSVGDocumentReference.h:
1576         (WebCore):
1577         (WebCore::CachedSVGDocumentReference::CachedSVGDocumentReference):
1578         (WebCore::CachedSVGDocumentReference::~CachedSVGDocumentReference):
1579         * loader/cache/CachedStyleSheetClient.h:
1580         (WebCore):
1581         * loader/cache/MemoryCache.h:
1582         (WebCore):
1583         (MemoryCache):
1584         * loader/chromium/CachedRawResourceChromium.cpp:
1585         * loader/icon/IconController.cpp:
1586         * loader/icon/IconLoader.h:
1587         * loader/mac/ResourceLoaderMac.mm:
1588         * page/DOMWindowExtension.cpp:
1589         * page/Frame.cpp:
1590         (WebCore::Frame::Frame):
1591         (WebCore):
1592         (WebCore::Frame::reportMemoryUsage):
1593         * page/Frame.h:
1594         (WebCore):
1595         (Frame):
1596         (WebCore::Frame::init):
1597         (WebCore::Frame::loader):
1598         * page/PerformanceNavigation.cpp:
1599         * page/PerformanceTiming.cpp:
1600         * page/PointerLockController.cpp:
1601         * page/Settings.cpp:
1602         * page/animation/CSSPropertyAnimation.cpp:
1603         * platform/chromium/PasteboardChromium.cpp:
1604         * platform/efl/ErrorsEfl.cpp:
1605         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
1606         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
1607         * platform/graphics/filters/FilterOperation.cpp:
1608         (WebCore):
1609         * platform/graphics/filters/FilterOperation.h:
1610         (WebCore):
1611         (WebCore::FilterOperation::ReferenceFilterOperation::setCachedSVGDocumentReference):
1612         (WebCore::FilterOperation::ReferenceFilterOperation::ReferenceFilterOperation):
1613         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
1614         * platform/gtk/ErrorsGtk.cpp:
1615         * platform/gtk/PasteboardGtk.cpp:
1616         * platform/gtk/PasteboardHelper.h:
1617         * platform/mac/ClipboardMac.h:
1618         * platform/mac/ClipboardMac.mm:
1619         * platform/mac/HTMLConverter.mm:
1620         * platform/mac/PasteboardMac.mm:
1621         * platform/network/AuthenticationChallengeBase.cpp:
1622         * platform/network/cf/CookieJarCFNet.cpp:
1623         * platform/network/cf/ResourceRequestCFNet.cpp:
1624         * platform/network/mac/CookieStorageMac.mm:
1625         * platform/qt/PasteboardQt.cpp:
1626         * plugins/DOMMimeType.cpp:
1627         * plugins/PluginRequest.h: Removed.
1628         * plugins/PluginStream.h:
1629         (PluginStreamClient):
1630         (WebCore::PluginStreamClient::~PluginStreamClient):
1631         (WebCore::PluginStreamClient::streamDidFinishLoading):
1632         (WebCore):
1633         * plugins/PluginStreamClient.h: Removed.
1634         * plugins/PluginView.cpp:
1635         * plugins/PluginView.h:
1636         (WebCore):
1637         (PluginRequest):
1638         (WebCore::PluginRequest::PluginRequest):
1639         (WebCore::PluginRequest::frameLoadRequest):
1640         (WebCore::PluginRequest::notifyData):
1641         (WebCore::PluginRequest::sendNotification):
1642         (WebCore::PluginRequest::shouldAllowPopups):
1643         * rendering/HitTestResult.cpp:
1644         * rendering/InlineFlowBox.cpp:
1645         * rendering/RenderBox.cpp:
1646         * rendering/RenderEmbeddedObject.cpp:
1647         * rendering/RenderImage.cpp:
1648         * rendering/RenderImageResource.cpp:
1649         (WebCore::RenderImageResource::RenderImageResource):
1650         (WebCore):
1651         * rendering/RenderImageResource.h:
1652         (WebCore::RenderImageResource::image):
1653         (WebCore::RenderImageResource::errorOccurred):
1654         (WebCore::RenderImageResource::usesImageContainerSize):
1655         (WebCore::RenderImageResource::imageHasRelativeWidth):
1656         (WebCore::RenderImageResource::imageHasRelativeHeight):
1657         (WebCore::RenderImageResource::imageSize):
1658         * rendering/RenderImageResourceStyleImage.cpp:
1659         * rendering/RenderLayer.cpp:
1660         * rendering/RenderLayerBacking.cpp:
1661         * rendering/RenderLayerFilterInfo.h:
1662         (WebCore):
1663         * rendering/RenderListItem.cpp:
1664         * rendering/RenderListMarker.cpp:
1665         * rendering/RenderSnapshottedPlugIn.cpp:
1666         * rendering/RenderTableCol.cpp:
1667         * rendering/RenderTableRow.cpp:
1668         * rendering/RenderTableSection.cpp:
1669         * rendering/style/StyleCachedShader.h:
1670         * rendering/style/StyleCustomFilterProgram.cpp: Removed.
1671         * rendering/style/StyleCustomFilterProgram.h:
1672         (WebCore):
1673         (WebCore::StyleCustomFilterProgram::vertexShaderString):
1674         (StyleCustomFilterProgram):
1675         (WebCore::StyleCustomFilterProgram::fragmentShaderString):
1676         (WebCore::StyleCustomFilterProgram::isLoaded):
1677         (WebCore::StyleCustomFilterProgram::willHaveClients):
1678         (WebCore::StyleCustomFilterProgram::didRemoveLastClient):
1679         (WebCore::StyleCustomFilterProgram::notifyFinished):
1680         * svg/SVGFEImageElement.h:
1681         * svg/SVGFontFaceUriElement.h:
1682         (SVGFontFaceUriElement):
1683         * svg/SVGImageLoader.cpp:
1684         * svg/SVGUseElement.cpp:
1685         * svg/SVGUseElement.h:
1686         * svg/graphics/SVGImageCache.cpp:
1687         * testing/MockPagePopupDriver.cpp:
1688         * xml/XSLStyleSheet.h:
1689         (WebCore):
1690         * xml/XSLTProcessorLibxslt.cpp:
1691         * xml/parser/XMLDocumentParser.cpp:
1692         * xml/parser/XMLDocumentParser.h:
1693         * xml/parser/XMLDocumentParserLibxml2.cpp:
1694
1695 2013-03-03  Kentaro Hara  <haraken@chromium.org>
1696
1697         [V8] Remove TranslateParameter() from CodeGeneratorV8.pm
1698         https://bugs.webkit.org/show_bug.cgi?id=111218
1699
1700         Reviewed by Adam Barth.
1701
1702         TranslateParameter() does nothing. It tries to convert TimeoutHandler to DOMString,
1703         but there is no non-custom method that uses TimeoutHandler.
1704
1705         The only place where TimeoutHandler is used in the WebKit IDL is setTimeout() and setInterval().
1706         However, the latest spec uses 'any' instead of TimeoutHandler.
1707         http://dev.w3.org/html5/spec-LC/timers.html
1708         Thus, this patch updates the IDL declarations of setTimeout() and setInterval()
1709         according to the spec. By this change, TimeoutHandler is gone away from the WebKit IDL.
1710         (Anyway this IDL change has no effect, because setTimeout() and setInterval() are written
1711         in custom bindings.)
1712
1713         No tests. No change in behavior.
1714
1715         * bindings/scripts/CodeGeneratorV8.pm:
1716         (GenerateParametersCheck):
1717         * page/DOMWindow.idl:
1718         * workers/WorkerContext.idl:
1719
1720 2013-03-03  James Weatherall  <wez@chromium.org>
1721
1722         keydown and keyup events have zero keycode for some numeric pad keys under Chromium on Linux
1723         https://bugs.webkit.org/show_bug.cgi?id=85642
1724
1725         Add missing key mappings for GDK_KP_Begin, GDK_KP_Insert, GDK_KP_Delete and GDK_ISO_Level3_Shift.
1726
1727         Reviewed by Adam Barth.
1728
1729         * platform/chromium/KeyCodeConversionGtk.cpp:
1730         (WebCore::windowsKeyCodeForKeyEvent):
1731
1732 2013-03-03  Adam Barth  <abarth@webkit.org>
1733
1734         REGRESSION(144520): Does not compile on chromium-win
1735         https://bugs.webkit.org/show_bug.cgi?id=111261
1736
1737         Unreviewed rollout of http://trac.webkit.org/changeset/144520. This
1738         patch does not compile for chromium-win. See the bug for the compile
1739         error.
1740
1741         * rendering/ExclusionShapeInsideInfo.cpp:
1742         * rendering/ExclusionShapeInsideInfo.h:
1743         (WebCore):
1744         (LineSegmentRange):
1745         (WebCore::LineSegmentRange::LineSegmentRange):
1746         (WebCore::ExclusionShapeInsideInfo::isEnabledFor):
1747         * rendering/RenderBlock.cpp:
1748         (WebCore::RenderBlock::willBeDestroyed):
1749         (WebCore::RenderBlock::exclusionShapeInsideInfo):
1750         (WebCore):
1751         (WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange):
1752         * rendering/RenderBlock.h:
1753         (WebCore):
1754         (RenderBlock):
1755         (RenderBlockRareData):
1756         * rendering/RenderBlockLineLayout.cpp:
1757         (WebCore::constructBidiRunsForLine):
1758
1759 2013-03-02  Zan Dobersek  <zdobersek@igalia.com>
1760
1761         REGRESSION (r144517): IndexedDB layout test failures on GTK
1762         https://bugs.webkit.org/show_bug.cgi?id=111243
1763
1764         Reviewed by Martin Robinson.
1765
1766         Changes to the custom JSC bindings for IDBAny are required after r144517,
1767         specifically the case of IDBAny object having the KeyPathType type has to be covered.
1768         These changes are analogous to those made to the V8 bindings in the mentioned commit.
1769
1770         No new tests - already covered by existing tests.
1771
1772         * bindings/js/JSIDBAnyCustom.cpp:
1773         (WebCore::toJS): A helper function that wraps an IDBKeyPath into a JSValue.
1774         (WebCore): Shuffle the order inside the switch statement a bit to match the V8 custom bindings.
1775         Cover the case where the IDBAny object has the KeyPathType, calling the new helper method.
1776
1777 2013-03-02  Darin Adler  <darin@apple.com>
1778
1779         Another try at fixing the build.
1780
1781         * loader/cache/MemoryCache.cpp: Added an include of CachedResourceHandle.h.
1782
1783 2013-03-02  Darin Adler  <darin@apple.com>
1784
1785         Try to fix build.
1786
1787         * inspector/InspectorInstrumentation.h: Add missing forward declaration
1788         of CachedResource.
1789
1790 2013-02-18  Darin Adler  <darin@apple.com>
1791
1792         Cut down the number of source files that depend on Clipboard.h
1793         https://bugs.webkit.org/show_bug.cgi?id=110030
1794
1795         Reviewed by Ryosuke Niwa.
1796
1797         I am doing some work on Clipboard and it's better to recompile 50 files
1798         each time we touch the header instead of 700. Also cut down on includes
1799         of DragState.h.
1800
1801         * WebCore.exp.in: Updated for new MouseEvent::create function.
1802
1803         * dom/ClipboardEvent.cpp: Added include of Clipboard.h since we use it
1804         here and the world no longer includes it everywhere.
1805
1806         * dom/ClipboardEvent.h: Forward declared Clipboard instead of including
1807         Clipboard.h. Also made some overrides private because they can be.
1808
1809         * dom/DataTransferItem.h: Removed unneeded include of Clipboard.h.
1810
1811         * dom/MouseEvent.cpp: Added include of Clipboard.h since we use it
1812         here and the world no longer includes it everywhere.
1813         (WebCore::MouseEvent::create): Made the create function non-inline
1814         since we can't compile it without including Clipboard.h and we don't
1815         want to include Clipboard.h in the header. This is not so commonly
1816         used or so hot that this needs to be inlined.
1817
1818         * dom/MouseEvent.h: Forward declared Clipboard instead of including
1819         Clipboard.h. Made MouseEvent::create a non-inline function and also
1820         used overloading instead of default arguments, since we can't compile
1821         a default argument of type PassRefPtr<Clipboard> without including
1822         Clipboard.h.
1823
1824         * dom/WheelEvent.cpp: Added include of Clipboard.h since we use it
1825         here and the world no longer includes it everywhere.
1826
1827         * dom/WheelEvent.h: Forward declare PlatformWheelEvent since it is used
1828         in this header. Previously we'd get it indirectly from including a header
1829         that included Clipboard.h.
1830
1831         * editing/Editor.cpp: Added include of Clipboard.h since we use it here
1832         and the world no longer includes it everywhere.
1833
1834         * inspector/InspectorDebuggerAgent.cpp: Added include of CachedResource.h.
1835         We used to get this indirectly through Clipboard.h.
1836
1837         * inspector/InspectorFrontendHost.cpp: Added includes of ResourceError.h
1838         and ResourceResponse.h. We used to get these indirectly through Clipboard.h.
1839         Also removed unneeded include of <wtf/RefPtr.h>.
1840
1841         * inspector/NetworkResourcesData.cpp: Added include of CachedResource.h.
1842         We used to get this indirectly through Clipboard.h.
1843
1844         * loader/PingLoader.cpp: Added include of ResourceResponse.h.
1845         We used to get this indirectly through Clipboard.h.
1846
1847         * page/DragController.cpp: Added include of DragState.h.
1848         We used to get this indirectly through EventHandler.h
1849
1850         * page/EventHandler.h: Forward declared DragState and Element instead of
1851         including DragState.h. Also added an include of LayoutPoint.h, which we
1852         used to get indirectly through DragState.h.
1853
1854 2013-02-27  Darin Adler  <darin@apple.com>
1855
1856         StringHasher functions require alignment that call sites do not all guarantee
1857         https://bugs.webkit.org/show_bug.cgi?id=110171
1858
1859         Reviewed by Benjamin Poulain.
1860
1861         * platform/graphics/WidthCache.h:
1862         (WebCore::WidthCache::SmallStringKey::SmallStringKey): Use the newly added
1863         addCharactersAssumingAligned to make sure we don't slow this call site down.
1864         It's safe since this code always adds characters two at a time.
1865
1866 2013-03-02  Adam Barth  <abarth@webkit.org>
1867
1868         XSSAuditor has a subtle race condition when used with the threaded HTML parser
1869         https://bugs.webkit.org/show_bug.cgi?id=111253
1870
1871         Reviewed by Eric Seidel.
1872
1873         We were refing and derefing a StringImpl for a main-thread
1874         AtomicString. Using QualifiedNames on the background thread is very
1875         fragile and we should figure out a more robust solution.
1876
1877         * html/parser/XSSAuditor.cpp:
1878         (WebCore::findAttributeWithName):
1879
1880 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
1881
1882         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
1883         https://bugs.webkit.org/show_bug.cgi?id=109772
1884
1885         Reviewed by Andreas Kling.
1886
1887         The function computedStyleIncludingVisitedInfo() is purely internal to WebCore,
1888         it is better defined on Internals than on TestRunner.
1889
1890         * testing/Internals.cpp:
1891         (WebCore::Internals::computedStyleIncludingVisitedInfo):
1892         * testing/Internals.h:
1893         * testing/Internals.idl:
1894
1895 2013-03-02  David Kilzer  <ddkilzer@apple.com>
1896
1897         BUILD FIX (r143637): Export ScriptController::javaScriptContext() on iOS
1898         <http://webkit.org/b/106059>
1899
1900         Fixes the following build failure:
1901
1902             Undefined symbols for architecture armv7:
1903               "__ZN7WebCore16ScriptController17javaScriptContextEv", referenced from:
1904                   -[WebFrame javaScriptContext] in WebFrame.o
1905                   __ZN20WebFrameLoaderClient35dispatchDidClearWindowObjectInWorldEPN7WebCore15DOMWrapperWorldE in WebFrameLoaderClient.o
1906             ld: symbol(s) not found for architecture armv7
1907
1908         * WebCore.exp.in: Export ScriptController::javaScriptContext()
1909         even more unconditionally.
1910
1911 2013-03-02  Eric Seidel  <eric@webkit.org>
1912
1913         Remove two unnecessary mallocs from the main-thread-parser code path
1914         https://bugs.webkit.org/show_bug.cgi?id=111249
1915
1916         Reviewed by Adam Barth.
1917
1918         I noticed these while fixing up our Vector -> String conversions
1919         but never went back to fix the FIXME.
1920
1921         AtomicString(Vector<UChar, capacity>) is smart enough to avoid mallocing
1922         if the represented string is already in the AtomicString table.  It
1923         also handles 8bit vs. 16bit and empty() just like nameString() does.
1924
1925         I also removed a 3rd caller to nameString() in the XSSAuditor which
1926         was causing an unnecessary malloc in both the main and background
1927         thread parser paths.
1928
1929         * html/parser/AtomicHTMLToken.h:
1930         (WebCore::AtomicHTMLToken::AtomicHTMLToken):
1931         * html/parser/HTMLToken.h:
1932         * html/parser/XSSAuditor.cpp:
1933         (WebCore):
1934         (WebCore::threadSafeMatch):
1935         (WebCore::hasName):
1936
1937 2013-03-02  Eric Seidel  <eric@webkit.org>
1938
1939         constructTreeFromCompactHTMLToken should call clearExternalCharacters
1940         https://bugs.webkit.org/show_bug.cgi?id=111248
1941
1942         Reviewed by Adam Barth.
1943
1944         I don't know how to write a test for this.  It's possible characters()
1945         is never accessed from HTMLStackItem::token(), but it's better to be
1946         safe than sorry here.
1947
1948         * html/parser/HTMLDocumentParser.cpp:
1949         (WebCore::HTMLDocumentParser::constructTreeFromCompactHTMLToken):
1950
1951 2013-03-02  Rob Buis  <rbuis@rim.com>
1952
1953         Text overflow ellipsis wrong color when using webkit-text-fill-color
1954         https://bugs.webkit.org/show_bug.cgi?id=54841
1955
1956         Reviewed by David Hyatt.
1957
1958         Take -webkit-text-fill-color into account for ellipsis painting.
1959
1960         Test: fast/css/text-overflow-ellipsis-color.html
1961
1962         * rendering/EllipsisBox.cpp:
1963         (WebCore::EllipsisBox::paint):
1964
1965 2013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
1966
1967         Fix a typo in my previous commit (r144534).
1968
1969         * platform/win/PasteboardWin.cpp:
1970
1971 2013-03-02  Nayan Kumar K  <nayankk@motorola.com>
1972
1973         [WebGL] Support for texImage2D of type HALF_FLOAT_OES with ArrayBufferView.
1974         https://bugs.webkit.org/show_bug.cgi?id=110818
1975
1976         Reviewed by Kenneth Russell.
1977
1978         As per OES_texture_half_float specification texImage2D and texSubImage2D entry
1979         points taking ArrayBufferView should extended to accept null with the pixel type
1980         HALF_FLOAT_OES.
1981
1982         Tests: fast/canvas/webgl/oes-texture-half-float-not-supported.html
1983                fast/canvas/webgl/oes-texture-half-float.html
1984
1985         * CMakeLists.txt:
1986         * DerivedSources.make:
1987         * DerivedSources.pri:
1988         * GNUmakefile.list.am:
1989         * Target.pri:
1990         * WebCore.gypi:
1991         * WebCore.xcodeproj/project.pbxproj:
1992         * bindings/js/JSWebGLRenderingContextCustom.cpp:
1993         (WebCore::toJS):
1994         * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
1995         (WebCore::toV8Object):
1996         * html/canvas/OESTextureHalfFloat.cpp: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
1997         (WebCore):
1998         (WebCore::OESTextureHalfFloat::OESTextureHalfFloat):
1999         (WebCore::OESTextureHalfFloat::~OESTextureHalfFloat):
2000         (WebCore::OESTextureHalfFloat::getName):
2001         (WebCore::OESTextureHalfFloat::create):
2002         * html/canvas/OESTextureHalfFloat.h: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
2003         (WebCore):
2004         (OESTextureHalfFloat):
2005         * html/canvas/OESTextureHalfFloat.idl: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
2006         * html/canvas/WebGLExtension.h:
2007         * html/canvas/WebGLRenderingContext.cpp:
2008         (WebCore):
2009         (WebCore::WebGLRenderingContext::getExtension):
2010         (WebCore::WebGLRenderingContext::texImage2D):
2011         (WebCore::WebGLRenderingContext::texSubImage2D):
2012         (WebCore::WebGLRenderingContext::validateTexFuncFormatAndType):
2013         (WebCore::WebGLRenderingContext::validateTexFuncData):
2014         * html/canvas/WebGLRenderingContext.h:
2015         (WebCore):
2016         (WebGLRenderingContext):
2017         * html/canvas/WebGLRenderingContext.idl:
2018         * platform/graphics/Extensions3D.h:
2019         (Extensions3D):
2020         * platform/graphics/GraphicsContext3D.cpp:
2021         (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
2022         * platform/graphics/GraphicsContext3D.h:
2023         * platform/graphics/GraphicsTypes3D.h:
2024         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
2025         (WebCore::GraphicsContext3D::texImage2D):
2026
2027 2013-03-02  Ryosuke Niwa  <rniwa@webkit.org>
2028
2029         Windows build fix attempt after r144530.
2030
2031         * platform/win/PasteboardWin.cpp:
2032
2033 2013-03-01  Dan Bernstein  <mitz@apple.com>
2034
2035         Tried to fix the build after r144530.
2036
2037         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h: Include the header for the
2038         base class.
2039
2040 2013-03-01  Terry Anderson  <tdanderson@chromium.org>
2041
2042         Remove unused member variable m_useLatchedEventNode from PlatformWheelEvent.h
2043         https://bugs.webkit.org/show_bug.cgi?id=107314
2044
2045         Reviewed by Darin Adler.
2046
2047         EventHandler::handleGestureScrollCore() was removed in http://trac.webkit.org/changeset/140177,
2048         and this was the only place where the member variable |m_useLatchedEventNode| in
2049         PlatformWheelEvent was mutated. This variable is no longer needed and so it should be removed.
2050
2051         No change in behavior, so no new tests needed.
2052
2053         * platform/PlatformWheelEvent.h:
2054         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
2055         (WebCore::PlatformWheelEvent::useLatchedEventNode):
2056         (PlatformWheelEvent):
2057
2058 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
2059
2060         Reduce amount of rebuilding when touching networking headers
2061         https://bugs.webkit.org/show_bug.cgi?id=111035
2062
2063         Reviewed by Eric Seidel.
2064
2065         This uses a number of common unsurprising techniques. One interesting observation
2066         is that including CachedResource related headers is very expensive. We can usually
2067         get away with their Client counterparts, and with CachedResourceHandle.
2068
2069         * page/Frame.cpp:
2070         * page/Frame.h:
2071         Don't include FrameLoader, greatly reducing include graph for most non-loader files.
2072         This required making Frame::init() non-inline - I'm not sure why it ever was.
2073
2074         * loader/FrameLoader.cpp:
2075         * loader/FrameLoader.h:
2076         Even though FrameLoader is logically on loading side of WebCore, it's included in
2077         too many places. Not including PolicyChecker.h and ResourceHandle.h was among the
2078         largest wins. As a future improvement, we should probably convert other members
2079         to OwnPtrs.
2080
2081         * css/CSSCrossfadeValue.h: Initializing CachedResourceHandle with 0 requires a
2082         definition of a class it holds, but default construction does not.
2083
2084         * loader/CrossOriginAccessControl.h: This file among others only needs ResourceHandleTypes.h,
2085         not ResourceHandle.h. This header is semi-recent, so not all include sites were updated.
2086
2087         * loader/cache/CachedFont.h:
2088         * loader/cache/CachedFontClient.h: Added.
2089         * loader/cache/CachedRawResource.h:
2090         * loader/cache/CachedRawResourceClient.h: Added.
2091         * loader/cache/CachedSVGDocument.h:
2092         * loader/cache/CachedSVGDocumentClient.h: Added.
2093         These types were defining client types in the same headers, making it impossible
2094         to avoid including networking headers through CachedResource. Moved clients into
2095         separate files.
2096
2097         * plugins/PluginStream.h:
2098         * plugins/PluginStreamClient.h: Added.
2099         Similar situation here.
2100
2101         * loader/cache/CachedResourceHandle.cpp:
2102         * loader/cache/CachedResourceHandle.h:
2103         Moved functions that need to know about CachedResource to .cpp file. This is another
2104         huge win. Added a destructor, so that CachedResource woudn't be needed in all files
2105         that include CachedResourceHandle.
2106
2107         * loader/cache/CachedSVGDocumentReference.cpp: Added.
2108         * loader/cache/CachedSVGDocumentReference.h:
2109         Moved constructor and virtual function implementations to a .cpp file - they need
2110         not inlining, and this lets us avoid including CachedSVGDocument.h in the header.
2111
2112         * platform/graphics/filters/FilterOperation.cpp:
2113         * platform/graphics/filters/FilterOperation.h:
2114         Avoid including CachedSVGDocumentReference.h. This is not such a big win now that
2115         CachedSVGDocumentReference.h itself is smaller, but FilterOperation is so clearly
2116         rendering code that it seems best to cut any ties with resources and loading.
2117         Added a virtual destrutor in .cpp file, because inline destructors in polymorphic
2118         classes are generally harmful (due to code bloat).
2119
2120         * plugins/PluginRequest.h: Added.
2121         * plugins/PluginView.h:
2122         Moved PluginRequest into a separate file, it was out of place in a view hierarchy
2123         class file.
2124
2125         * rendering/RenderImageResource.cpp:
2126         * rendering/RenderImageResource.h:
2127         Moved definitions of virtual functions to a .cpp file. Thre is no win from having
2128         them inline, and now we don't need CachedImage.h in the header.
2129
2130         * rendering/style/StyleCustomFilterProgram.cpp: Added.
2131         * rendering/style/StyleCustomFilterProgram.h:
2132         Ditto.
2133
2134         * CMakeLists.txt:
2135         * GNUmakefile.list.am:
2136         * Modules/mediastream/RTCPeerConnection.cpp:
2137         * Modules/notifications/Notification.cpp:
2138         * Target.pri:
2139         * WebCore.exp.in:
2140         * WebCore.gypi:
2141         * WebCore.vcproj/WebCore.vcproj:
2142         * WebCore.vcxproj/WebCore.vcxproj:
2143         * WebCore.vcxproj/WebCore.vcxproj.filters:
2144         * WebCore.xcodeproj/project.pbxproj:
2145         * bindings/ScriptControllerBase.cpp:
2146         * bindings/js/JSNodeCustom.cpp:
2147         * bindings/js/ScriptController.cpp:
2148         * bindings/js/ScriptSourceCode.h:
2149         * bindings/objc/DOM.mm:
2150         * bindings/v8/ScriptController.cpp:
2151         * bindings/v8/V8DOMWindowShell.cpp:
2152         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2153         * css/CSSFontFaceSource.h:
2154         * css/CSSFontSelector.cpp:
2155         * css/WebKitCSSSVGDocumentValue.cpp:
2156         * css/WebKitCSSSVGDocumentValue.h:
2157         * dom/Clipboard.cpp:
2158         * dom/ContainerNode.cpp:
2159         * dom/DOMImplementation.cpp:
2160         * dom/PendingScript.h:
2161         * dom/ScriptElement.cpp:
2162         * dom/ScriptElement.h:
2163         * history/CachedFrame.cpp:
2164         * html/DOMURL.cpp:
2165         * html/HTMLAnchorElement.cpp:
2166         * html/HTMLAppletElement.cpp:
2167         * html/HTMLElement.cpp:
2168         * html/HTMLEmbedElement.cpp:
2169         * html/HTMLFrameSetElement.cpp:
2170         * html/HTMLHtmlElement.cpp:
2171         * html/HTMLImageElement.cpp:
2172         * html/HTMLObjectElement.cpp:
2173         * html/HTMLPlugInElement.cpp:
2174         * html/ImageDocument.cpp:
2175         * html/ImageInputType.cpp:
2176         * html/MediaDocument.cpp:
2177         * html/PluginDocument.cpp:
2178         * html/canvas/WebGLRenderingContext.cpp:
2179         * html/parser/HTMLConstructionSite.cpp:
2180         * html/parser/HTMLParserOptions.cpp:
2181         * html/parser/HTMLScriptRunner.h:
2182         * html/parser/XSSAuditor.cpp:
2183         * html/parser/XSSAuditorDelegate.cpp:
2184         * inspector/InspectorDebuggerAgent.cpp:
2185         * inspector/InspectorFileSystemAgent.cpp:
2186         * inspector/InspectorFrontendHost.cpp:
2187         * inspector/InspectorInstrumentation.h:
2188         * inspector/InspectorPageAgent.cpp:
2189         * inspector/NetworkResourcesData.cpp:
2190         * inspector/NetworkResourcesData.h:
2191         * loader/CookieJar.cpp:
2192         * loader/CrossOriginAccessControl.cpp:
2193         * loader/CrossOriginPreflightResultCache.h:
2194         * loader/DocumentThreadableLoader.h:
2195         * loader/ImageLoader.cpp:
2196         * loader/ImageLoader.h:
2197         * loader/LinkLoader.h:
2198         * loader/MainResourceLoader.cpp:
2199         * loader/MainResourceLoader.h:
2200         * loader/MixedContentChecker.cpp:
2201         * loader/PingLoader.cpp:
2202         * loader/PolicyChecker.h:
2203         * loader/ProgressTracker.cpp:
2204         * loader/SubframeLoader.cpp:
2205         * loader/SubresourceLoader.cpp:
2206         * loader/TextTrackLoader.cpp:
2207         * loader/TextTrackLoader.h:
2208         * loader/ThreadableLoader.h:
2209         * loader/appcache/ApplicationCacheGroup.cpp:
2210         * loader/appcache/ApplicationCacheGroup.h:
2211         * loader/appcache/ApplicationCacheHost.cpp:
2212         * loader/archive/cf/LegacyWebArchive.cpp:
2213         * loader/cache/CachedFont.cpp:
2214         * loader/cache/CachedImage.cpp:
2215         * loader/cache/CachedRawResource.cpp:
2216         * loader/cache/CachedResource.cpp:
2217         * loader/cache/CachedStyleSheetClient.h:
2218         * loader/cache/MemoryCache.cpp:
2219         * loader/cache/MemoryCache.h:
2220         * loader/chromium/CachedRawResourceChromium.cpp:
2221         * loader/icon/IconController.cpp:
2222         * loader/icon/IconLoader.h:
2223         * loader/mac/ResourceLoaderMac.mm:
2224         * page/DOMWindowExtension.cpp:
2225         * page/DragController.cpp:
2226         * page/PerformanceNavigation.cpp:
2227         * page/PerformanceTiming.cpp:
2228         * page/PointerLockController.cpp:
2229         * page/Settings.cpp:
2230         * page/animation/CSSPropertyAnimation.cpp:
2231         * platform/chromium/PasteboardChromium.cpp:
2232         * platform/efl/ErrorsEfl.cpp:
2233         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
2234         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
2235         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
2236         * platform/gtk/ErrorsGtk.cpp:
2237         * platform/gtk/PasteboardGtk.cpp:
2238         * platform/gtk/PasteboardHelper.h:
2239         * platform/mac/ClipboardMac.h:
2240         * platform/mac/ClipboardMac.mm:
2241         * platform/mac/HTMLConverter.mm:
2242         * platform/mac/PasteboardMac.mm:
2243         * platform/network/AuthenticationChallengeBase.cpp:
2244         * platform/network/cf/CookieJarCFNet.cpp:
2245         * platform/network/cf/ResourceRequestCFNet.cpp:
2246         * platform/network/mac/CookieStorageMac.mm:
2247         * platform/qt/PasteboardQt.cpp:
2248         * plugins/DOMMimeType.cpp:
2249         * plugins/PluginView.cpp:
2250         * rendering/HitTestResult.cpp:
2251         * rendering/InlineFlowBox.cpp:
2252         * rendering/RenderBox.cpp:
2253         * rendering/RenderEmbeddedObject.cpp:
2254         * rendering/RenderImage.cpp:
2255         * rendering/RenderImageResourceStyleImage.cpp:
2256         * rendering/RenderLayer.cpp:
2257         * rendering/RenderLayerBacking.cpp:
2258         * rendering/RenderLayerFilterInfo.h:
2259         * rendering/RenderListItem.cpp:
2260         * rendering/RenderListMarker.cpp:
2261         * rendering/RenderSnapshottedPlugIn.cpp:
2262         * rendering/RenderTableCol.cpp:
2263         * rendering/RenderTableRow.cpp:
2264         * rendering/RenderTableSection.cpp:
2265         * rendering/style/StyleCachedShader.h:
2266         * svg/SVGFEImageElement.h:
2267         * svg/SVGFontFaceUriElement.h:
2268         * svg/SVGImageLoader.cpp:
2269         * svg/SVGUseElement.cpp:
2270         * svg/SVGUseElement.h:
2271         * svg/graphics/SVGImageCache.cpp:
2272         * testing/MockPagePopupDriver.cpp:
2273         * xml/XSLStyleSheet.h:
2274         * xml/XSLTProcessorLibxslt.cpp:
2275         * xml/parser/XMLDocumentParser.cpp:
2276         * xml/parser/XMLDocumentParser.h:
2277         * xml/parser/XMLDocumentParserLibxml2.cpp:
2278         Many self-evident changes - removing unnecessary header includes, adding smaller
2279         more local ones that are now necessary.
2280
2281 2013-03-01  David Hyatt  <hyatt@apple.com>
2282
2283         [New Multicolumn] Transformed objects inside fragmented transparent objects don't render
2284         https://bugs.webkit.org/show_bug.cgi?id=111221.
2285
2286         Reviewed by Simon Fraser.
2287
2288         Improve transparencyClipBox so that it understands when moving into descendants
2289         that it does in fact have to break up the transformed clip rect across the
2290         fragments.
2291         
2292         Make sure when handling fragmented transforms using multiple paints that
2293         the test that determines the extent of the transform within the fragments
2294         uses transparencyClipBox. This gives us an accurate set of columns that the
2295         final transformed result will paint across.
2296
2297         Tests: fast/multicol/mixed-opacity-fixed-test.html
2298                fast/multicol/mixed-opacity-test.html
2299                fast/multicol/transform-inside-opacity.html
2300
2301         * rendering/RenderLayer.cpp:
2302         (WebCore::transparencyClipBox):
2303         (WebCore::expandClipRectForDescendantsAndReflection):
2304         Break transformed boxes up into fragments when they are
2305         being requested by an ancestor.
2306
2307         (WebCore::RenderLayer::collectFragments):
2308         (WebCore::RenderLayer::paintTransformedLayerIntoFragments):
2309         (WebCore::RenderLayer::hitTestTransformedLayerInFragments):
2310         * rendering/RenderLayer.h:
2311         (RenderLayer):
2312         Modify collectFragments so that we pass in the correct range
2313         within the columns that can possibly cover the fragmented
2314         transformed box.
2315
2316 2013-03-01  Ilya Tikhonovsky  <loislo@chromium.org>
2317
2318         Web Inspector: Native Memory Instrumentation: do not visit raw pointers by default.
2319         https://bugs.webkit.org/show_bug.cgi?id=110943
2320
2321         Reviewed by Yury Semikhatsky.
2322
2323         Unfortunately in many cases raw pointer may point to an object that has been deleted.
2324         There is no working solution to solve this problem in general.
2325         It could be solved only on case by case basis.
2326
2327         * inspector/HeapGraphSerializer.cpp:
2328         (WebCore::HeapGraphSerializer::HeapGraphSerializer):
2329         (WebCore::HeapGraphSerializer::reportLeaf):
2330         * loader/cache/MemoryCache.cpp:
2331         (WebCore::MemoryCache::reportMemoryUsage):
2332         * platform/graphics/BitmapImage.cpp:
2333         (WebCore::FrameData::reportMemoryUsage):
2334         * platform/graphics/skia/MemoryInstrumentationSkia.cpp:
2335         (reportMemoryUsage):
2336
2337 2013-03-01  Kentaro Hara  <haraken@chromium.org>
2338
2339         Style recalculation takes too long when adding whitespace text nodes
2340         https://bugs.webkit.org/show_bug.cgi?id=110786
2341
2342         Reviewed by Darin Adler.
2343
2344         // This takes 216 msec.
2345         for (var i = 0; i < 1500; ++i) {
2346           document.body.appendChild(document.createTextNode('x'));
2347           document.body.appendChild(document.createElement('div'));
2348           document.body.appendChild(document.createTextNode('x'));
2349         }
2350
2351         // But this takes 25.3 seconds.
2352         for (var i = 0; i < 1500; ++i) {
2353           document.body.appendChild(document.createTextNode(' '));
2354           document.body.appendChild(document.createElement('div'));
2355           document.body.appendChild(document.createTextNode(' '));
2356         }
2357
2358         The reason is that we do not create renderers for empty text
2359         nodes and thus we are hitting the worst O(N^2) case in Node::attach().
2360         (See FIXME in Node::attach().)
2361
2362         This patch adds a logic to bail out the loop to avoid the O(N^2) case.
2363         Specifically, the patch bails out the loop if we encounter a text node
2364         for which we again decided not to create a renderer. This bail out is
2365         reasonable because the fact that we again decided not to create a renderer
2366         for the text node indicates that there will be no affect of the result
2367         of Text::textRendererIsNeeded() of the rest of the sibling nodes.
2368
2369         Performance test: https://bugs.webkit.org/attachment.cgi?id=190545
2370         Performance result in Chromium/Linux: 25.3 sec => 48 msec !
2371
2372         Test: perf/append-text-nodes-without-renderers.html (for performance)
2373               fast/dynamic/create-renderer-for-whitespace-only-text.html (for correctness)
2374
2375         The loop was introduced in r29054. We have to make sure that
2376         all layout tests that were updated in r29054 pass with this patch.
2377         See http://trac.webkit.org/changeset/29054.
2378
2379         * dom/Node.cpp:
2380         (WebCore::Node::attach):
2381
2382 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
2383
2384         Moved markerTextForListItem from TestRunner to Internals
2385         https://bugs.webkit.org/show_bug.cgi?id=110939
2386
2387         Reviewed by Benjamin Poulain.
2388
2389         TestRunner framework is an old way of testing webkit, it would be
2390         better to incorporate the testing frame directly into the WebCore itself
2391         as to make it more compatible with WK2.
2392
2393         * testing/Internals.cpp:
2394         (WebCore::Internals::markerTextForListItem):
2395         (WebCore):
2396         * testing/Internals.h:
2397         * testing/Internals.idl:
2398
2399 2013-03-01  Elliott Sprehn  <esprehn@gmail.com>
2400
2401         Don't leak Documents when using MutationObserver from extensions
2402         https://bugs.webkit.org/show_bug.cgi?id=111234
2403
2404         Reviewed by Adam Barth.
2405
2406         MutationObserverCallback holds a WorldContextHandle which secretly isn't
2407         a handle to anything when it's for the main world. When it's for a non-main
2408         world though, like those used in extensions, it becomes a strong reference
2409         to the v8::Context which results in leaks by creating cycles:
2410
2411         MutationObserver -> Callback -> World -> Document -> Node -> MutationObserver.
2412
2413         Instead we should keep a RefPtr to a DOMWrapperWorld in the callback and then
2414         get the v8::Context from that inside handleEvent.
2415
2416         Tests: ManualTests/leak-observer-nonmain-world.html
2417
2418         * bindings/v8/V8Binding.cpp:
2419         (WebCore::toV8Context): Added overload that takes a DOMWrapperWorld.
2420         * bindings/v8/V8Binding.h:
2421         * bindings/v8/V8MutationCallback.cpp:
2422         (WebCore::V8MutationCallback::V8MutationCallback):
2423         (WebCore::V8MutationCallback::handleEvent):
2424         * bindings/v8/V8MutationCallback.h:
2425         (V8MutationCallback):
2426
2427 2013-03-01  Bear Travis  <betravis@adobe.com>
2428
2429         [css exclusions] Move ExclusionShapeInsideInfo into RenderBlockRareData
2430         https://bugs.webkit.org/show_bug.cgi?id=110995
2431
2432         Reviewed by Julien Chaffraix.
2433
2434         This patch moves ExclusionShapeInsideInfo into the RenderBlockRareData struct,
2435         which enables us to move away from the global ExclusionShapeInsideInfo map.
2436         Some additional refactoring was done to remove ExclusionShapeInsideInfo's
2437         dependency on InlineIterator, which depended on RenderBlock. This work required
2438         adding a new LineSegmentIterator struct.
2439
2440         Refactoring, no new tests.
2441
2442         * rendering/ExclusionShapeInsideInfo.cpp:
2443         (WebCore):
2444         (WebCore::LineSegmentRange::LineSegmentRange): Moving the InlineIterator
2445         constructor to the .cpp file, as InlineIterator is now forward declared in
2446         the .h file.
2447         (WebCore::ExclusionShapeInsideInfo::isEnabledFor): Moving isEnabledFor to
2448         the .cpp file, as RenderBlock is now forward declared in the .h file.
2449         * rendering/ExclusionShapeInsideInfo.h:
2450         (WebCore):
2451         (LineSegmentIterator): A simple struct for containing segment positions for
2452         layout.
2453         (WebCore::LineSegmentIterator::LineSegmentIterator): Constructor.
2454         (LineSegmentRange): Transitioning to store LineSegmentIterator.
2455         (WebCore::LineSegmentRange::LineSegmentRange): Ditto.
2456         (ExclusionShapeInsideInfo):
2457         * rendering/RenderBlock.cpp:
2458         (WebCore::RenderBlock::willBeDestroyed): Destroying a block will now destroy
2459         its ExclusionShapeInsideInfo, so there is no need to remove it from the map.
2460         (WebCore):
2461         (WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange): Use
2462         the RenderBlockRareData struct rather than the global map.
2463         * rendering/RenderBlock.h:
2464         (WebCore):
2465         (WebCore::RenderBlock::ensureExclusionShapeInsideInfo): Ensure an info struct
2466         is present if the shape-inside style is set.
2467         (WebCore::RenderBlock::exclusionShapeInsideInfo): Look up the info struct for
2468         the current block.
2469         (WebCore::RenderBlock::setExclusionShapeInsideInfo): Update the info struct
2470         for the current block.
2471         (RenderBlockRareData): Add the ExclusionShapeInsideInfo member.
2472         * rendering/RenderBlockLineLayout.cpp:
2473         (WebCore::constructBidiRunsForLine): Construct the appropriate offsets during
2474         layout based on the stored LineSegmentIterators.
2475
2476 2013-03-01  Terry Anderson  <tdanderson@chromium.org>
2477
2478         EventHandler::handleGestureScrollUpdate() should invoke the user-generated scroll routines 
2479         so its behavior matches other user-initiated scrolls
2480         https://bugs.webkit.org/show_bug.cgi?id=109769
2481
2482         Reviewed by James Robinson.
2483
2484         To ensure that the scrolling behavior of GestureScrollUpdate events are consistent with
2485         the scrolling behavior of mousewheel events, use the existing user-generated scroll logic
2486         instead of calling into RenderLayer::scrollByRecursively(). This patch fixes the bug
2487         reported in https://bugs.webkit.org/show_bug.cgi?id=109316, where the example page can
2488         be scrolled using touch but cannot be scrolled using mousewheels.
2489
2490         Note that this patch does not use any of the mousewheel event-handling code.
2491
2492         Tests: fast/events/touch/gesture/touch-gesture-noscroll-body-propagated.html
2493                fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden.html
2494                fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden.html
2495                fast/events/touch/gesture/touch-gesture-noscroll-body.html
2496
2497         * page/EventHandler.cpp:
2498         (WebCore::EventHandler::clear):
2499         (WebCore::EventHandler::handleGestureEvent):
2500         (WebCore::EventHandler::handleGestureScrollBegin):
2501         (WebCore::EventHandler::handleGestureScrollUpdate):
2502         (WebCore::EventHandler::sendScrollEventToView):
2503             By calling this function at the start of handleGestureScrollUpdate() in the case
2504             where |m_scrollGestureHandlingNode| is null, we ensure that the scroll updates
2505             can still scroll the page itself, if possible.
2506         (WebCore):
2507         (WebCore::EventHandler::clearGestureScrollNodes):
2508         * page/EventHandler.h:
2509         (EventHandler):
2510         * platform/PlatformWheelEvent.h:
2511         (WebCore::PlatformWheelEvent::setHasPreciseScrollingDeltas):
2512
2513 2013-03-01  Alec Flett  <alecflett@chromium.org>
2514
2515         IndexedDB: Avoid ScriptValue copies in IDBAny
2516         https://bugs.webkit.org/show_bug.cgi?id=111002
2517
2518         Reviewed by Adam Barth.
2519
2520         This avoids some v8 handle thrashing in the long term,
2521         and protects us against some crashes in the short term.
2522
2523         The crashes will be fixed in 
2524         https://bugs.webkit.org/show_bug.cgi?id=110206.
2525
2526         * Modules/indexeddb/IDBAny.cpp:
2527         (WebCore::IDBAny::createNull):
2528         (WebCore::IDBAny::createString):
2529         (WebCore::IDBAny::IDBAny):
2530         (WebCore::IDBAny::scriptValue):
2531         * Modules/indexeddb/IDBAny.h:
2532         (WebCore::IDBAny::create):
2533         (IDBAny):
2534         (WebCore::IDBAny::keyPath):
2535         * bindings/v8/custom/V8IDBAnyCustom.cpp:
2536         (WebCore::toV8):
2537         (WebCore):
2538
2539 2013-03-01  Victor Carbune  <vcarbune@chromium.org>
2540
2541         Support padding, margin and border for internal UA cue styling
2542         https://bugs.webkit.org/show_bug.cgi?id=110703
2543
2544         Reviewed by Eric Carlson.
2545
2546         For some particular user agent styling this allows the possibility
2547         of making the window around the cue text bigger to match some user
2548         styles (see CaptionUserPreferencesMac::captionsStyleSheetOverride).
2549
2550         These properties *cannot* be set through by using the ::cue
2551         pseudo-element and, as specified, are used only internally.
2552
2553         Note: This patch is identical to the previously commited one,
2554         as it was rolled back without related tests failing.
2555
2556         Test: media/track/track-cue-rendering-with-padding.html
2557
2558         * css/mediaControls.css:
2559         (video::-webkit-media-text-track-display): Set the CSS box model
2560         to include in the specified width or height the values of
2561         padding / margin / border by using -webkit-box-sizing and avoid
2562         overflow over 100% width because of having these properties set.
2563         * rendering/RenderTextTrackCue.cpp:
2564         (WebCore::RenderTextTrackCue::isOutside): To not interfere with
2565         the regular WebVTT positioning algorithm, the check is done for
2566         the absolute content box.
2567         (WebCore::RenderTextTrackCue::repositionCueSnapToLinesSet): Added
2568         an extra adjustment step to accomodate vertical padding (and not
2569         overflow the cue container)
2570
2571 2013-03-01  Andy Estes  <aestes@apple.com>
2572
2573         REGRESSION (r125809): CFStrings created via StringImpl::createCFString()  might reference freed memory when Objective-C garbage collection is enabled
2574         https://bugs.webkit.org/show_bug.cgi?id=111219
2575
2576         Reviewed by Benjamin Poulain.
2577
2578         StringImpl::createCFString() uses CFStringCreateWithBytesNoCopy() in
2579         order to create CFString without making an unnecessary copy. In order
2580         to ensure that the the StringImpl's backing buffer isn't deallocated
2581         while the CFString is still alive, we use a custom CFAllocator to
2582         ref/deref the StringImpl at the appropriate times.
2583
2584         However, custom allocators aren't supported when Objective-C garbage
2585         collection is enabled, so in this case we use the default CF allocator.
2586         Since we can't guarantee the lifetime of the StringImpl in this case,
2587         we should just fall back to copying the string, as we did prior to r125809.
2588
2589         * platform/text/cf/StringImplCF.cpp:
2590         (garbageCollectionEnabled): Moved the check for whether garbage
2591         collection is enabled from StringWrapperCFAllocator::create() to here.
2592         (WTF::StringWrapperCFAllocator::create): Call garbageCollectionEnabled().
2593         (WTF::StringImpl::createCFString): If garbage collection is enabled,
2594         call the variants of CFStringCreate that copy the string.
2595
2596 2013-03-01  Roger Fong  <roger_fong@apple.com>
2597
2598         Unreviewed AppleWin build fix.
2599
2600         * platform/network/cf/ResourceHandleCFNet.cpp:
2601         (WebCore::ResourceHandle::createCFURLConnection):
2602
2603 2013-03-01  Martin Robinson  <mrobinson@igalia.com>
2604
2605         [GTK] Allow sharing the WebCore include list with the Chromium build
2606         https://bugs.webkit.org/show_bug.cgi?id=110241
2607
2608         Reviewed by Dirk Pranke.
2609
2610         * WebCore.gyp/WebCoreGTK.gyp: Added. A skeleton gyp file for WebCoreGTK+.
2611         * WebCore.gypi: Added shared include directories.
2612
2613 2013-03-01  Alexey Proskuryakov  <ap@apple.com>
2614
2615         Make in-memory blobs work in NetworkProcess
2616         https://bugs.webkit.org/show_bug.cgi?id=111132
2617
2618         Reviewed by Sam Weinig.
2619
2620         * WebCore.exp.in:
2621         * WebCore.xcodeproj/project.pbxproj:
2622         Exported functions now needed by WebKit2, and made some headers Private instead
2623         of Project.
2624
2625 2013-03-01  Eric Seidel  <eric@webkit.org>
2626
2627         Threaded HTML Parser has an extra copy of every byte from the network
2628         https://bugs.webkit.org/show_bug.cgi?id=111135
2629
2630         Reviewed by Adam Barth.
2631
2632         Every LayoutTest executes this code in threaded parsing mode.
2633
2634         * dom/DecodedDataDocumentParser.cpp:
2635         (WebCore::DecodedDataDocumentParser::appendBytes):
2636          - Pass ownership of the decoded string to the parser.
2637         (WebCore::DecodedDataDocumentParser::flush):
2638          - Same.
2639         * dom/DecodedDataDocumentParser.h:
2640         (DecodedDataDocumentParser):
2641         * dom/Document.cpp:
2642         (WebCore::Document::setContent):
2643         * dom/DocumentParser.h:
2644         (DocumentParser):
2645         * dom/RawDataDocumentParser.h:
2646         (WebCore::RawDataDocumentParser::append):
2647         * html/FTPDirectoryDocument.cpp:
2648         (FTPDirectoryDocumentParser):
2649         (WebCore::FTPDirectoryDocumentParser::append):
2650         * html/parser/HTMLDocumentParser.cpp:
2651         (WebCore::HTMLDocumentParser::append):
2652         * html/parser/HTMLDocumentParser.h:
2653         (HTMLDocumentParser):
2654         * html/parser/HTMLViewSourceParser.cpp:
2655         (WebCore::HTMLViewSourceParser::append):
2656         * html/parser/HTMLViewSourceParser.h:
2657         (HTMLViewSourceParser):
2658         * html/parser/TextDocumentParser.cpp:
2659         (WebCore::TextDocumentParser::append):
2660         * html/parser/TextDocumentParser.h:
2661         (TextDocumentParser):
2662         * loader/DocumentWriter.cpp:
2663         (WebCore::DocumentWriter::replaceDocument):
2664         * xml/parser/XMLDocumentParser.cpp:
2665         (WebCore::XMLDocumentParser::append):
2666         * xml/parser/XMLDocumentParser.h:
2667         (XMLDocumentParser):
2668         * xml/parser/XMLDocumentParserLibxml2.cpp:
2669         (WebCore::XMLDocumentParser::resumeParsing):
2670
2671 2013-03-01  David Hyatt  <hyatt@apple.com>
2672
2673         [New Multicolumn] Change inRenderFlowThread to follow containing block chain
2674         https://bugs.webkit.org/show_bug.cgi?id=111206
2675
2676         Reviewed by Simon Fraser.
2677
2678         This patch removes inRenderFlowThread and changes enclosingRenderFlowThread()
2679         to flowThreadContainingBlock(). flowThreadContainingBlock() now follows
2680         the containing block chain instead of the parent chain when outside of layout.
2681         (It already did the right thing when called during layout.)
2682         
2683         By removing inRenderFlowThread (which was following the parent chain), all
2684         code that is checking for flow thread containment now correctly uses the
2685         containing block chain. This allows for content to escape in-flow flow threads
2686         and do the right thing without asserting.
2687         
2688         Test: fast/multicol/positioned-outside-of-columns.html
2689
2690         * dom/WebKitNamedFlow.cpp:
2691         (WebCore::inFlowThread):
2692         (WebCore::WebKitNamedFlow::getRegionsByContent):
2693         * rendering/RenderBlock.cpp:
2694         (WebCore::RenderBlock::removeLeftoverAnonymousBlock):
2695         (WebCore::RenderBlock::collapseAnonymousBoxChild):
2696         (WebCore::RenderBlock::updateRegionsAndExclusionsLogicalSize):
2697         (WebCore::RenderBlock::computeRegionRangeForBlock):
2698         (WebCore::RenderBlock::layoutBlock):
2699         (WebCore::RenderBlock::computeOverflow):
2700         (WebCore::RenderBlock::determineLogicalLeftPositionForChild):
2701         (WebCore::RenderBlock::computeLogicalLocationForFloat):
2702         (WebCore::RenderBlock::logicalLeftOffsetForContent):
2703         (WebCore::RenderBlock::logicalRightOffsetForContent):
2704         (WebCore::RenderBlock::hasNextPage):
2705         (WebCore::RenderBlock::applyBeforeBreak):
2706         (WebCore::RenderBlock::applyAfterBreak):
2707         (WebCore::RenderBlock::pageLogicalTopForOffset):
2708         (WebCore::RenderBlock::pageLogicalHeightForOffset):
2709         (WebCore::RenderBlock::pageRemainingLogicalHeightForOffset):
2710         (WebCore::RenderBlock::adjustForUnsplittableChild):
2711         (WebCore::RenderBlock::adjustLinePositionForPagination):
2712         (WebCore::RenderBlock::lineWidthForPaginatedLineChanged):
2713         (WebCore::RenderBlock::offsetFromLogicalTopOfFirstPage):
2714         (WebCore::RenderBlock::regionAtBlockOffset):
2715         (WebCore::RenderBlock::setStaticInlinePositionForChild):
2716         (WebCore::RenderBlock::logicalWidthChangedInRegions):
2717         (WebCore::RenderBlock::clampToStartAndEndRegions):
2718         * rendering/RenderBlock.h:
2719         (RenderBlock):
2720         * rendering/RenderBlockLineLayout.cpp:
2721         (WebCore::layoutExclusionShapeInsideInfo):
2722         (WebCore::LineLayoutState::LineLayoutState):
2723         (WebCore::LineLayoutState::flowThread):
2724         (WebCore::LineLayoutState::setFlowThread):
2725         (LineLayoutState):
2726         (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
2727         (WebCore::RenderBlock::linkToEndLineIfNeeded):
2728         (WebCore::RenderBlock::layoutInlineChildren):
2729         (WebCore::RenderBlock::determineStartPosition):
2730         (WebCore::RenderBlock::checkPaginationAndFloatsAtEndLine):
2731         * rendering/RenderBox.cpp:
2732         (WebCore::RenderBox::clearRenderBoxRegionInfo):
2733         (WebCore::RenderBox::renderBoxRegionInfo):
2734         (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
2735         (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
2736         (WebCore::RenderBox::computePositionedLogicalWidth):
2737         (WebCore::RenderBox::computePositionedLogicalHeight):
2738         * rendering/RenderDeprecatedFlexibleBox.cpp:
2739         (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
2740         * rendering/RenderFlexibleBox.cpp:
2741         (WebCore::RenderFlexibleBox::layoutBlock):
2742         * rendering/RenderFlowThread.cpp:
2743         (WebCore::RenderFlowThread::objectInFlowRegion):
2744         * rendering/RenderGrid.cpp:
2745         (WebCore::RenderGrid::layoutBlock):
2746         * rendering/RenderInline.cpp:
2747         (WebCore::RenderInline::updateAlwaysCreateLineBoxes):
2748         * rendering/RenderLayer.cpp:
2749         (WebCore::accumulateOffsetTowardsAncestor):
2750         * rendering/RenderLayerCompositor.cpp:
2751         (WebCore::RenderLayerCompositor::canBeComposited):
2752         * rendering/RenderMedia.cpp:
2753         (WebCore::RenderMedia::layout):
2754         * rendering/RenderObject.cpp:
2755         (WebCore::RenderObject::locateFlowThreadContainingBlock):
2756         (WebCore::RenderObject::containerForRepaint):
2757         (WebCore::RenderObject::willBeRemovedFromTree):
2758         (WebCore::RenderObject::removeFromRenderFlowThread):
2759         (WebCore::RenderObject::removeFromRenderFlowThreadRecursive):
2760         * rendering/RenderObject.h:
2761         (RenderObject):
2762         (WebCore::RenderObject::flowThreadContainingBlock):
2763         * rendering/RenderRegion.cpp:
2764         (WebCore::RenderRegion::setObjectStyleInRegion):
2765         * rendering/RenderView.cpp:
2766         (WebCore::RenderView::addChild):
2767         (WebCore::RenderView::initializeLayoutState):
2768         (WebCore::RenderView::setSelection):
2769         * rendering/RenderView.h:
2770         (WebCore::RenderView::pushLayoutState):
2771         * rendering/RootInlineBox.cpp:
2772         (WebCore::RootInlineBox::containingRegion):
2773         (WebCore::RootInlineBox::setContainingRegion):
2774
2775 2013-02-28  Sam Weinig  <sam@webkit.org>
2776
2777         Add SPI for marking a WebView as doing things on behalf of another process
2778         https://bugs.webkit.org/show_bug.cgi?id=111125
2779
2780         Reviewed by Alexey Proskuryakov.
2781
2782         * platform/network/NetworkingContext.h:
2783         (NetworkingContext):
2784         * platform/network/cf/ResourceHandleCFNet.cpp:
2785         (WebCore::ResourceHandle::createCFURLConnection):
2786         * platform/network/mac/ResourceHandleMac.mm:
2787         (WebCore::ResourceHandle::createNSURLConnection):
2788         Set the sourceApplicationAuditData on the URL connection if available.
2789
2790 2013-03-01  Brent Fulgham  <bfulgham@webkit.org>
2791
2792         [Windows] Unreviewed VS2010 build fix.
2793
2794         * WebCore.vcxproj/WebCore.vcxproj: Add missing TimelineTraceEventProcessor
2795           files to the project.
2796         * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
2797
2798 2013-03-01  Bear Travis  <betravis@adobe.com>
2799
2800         [css exclusions] setting shape-inside on a parent does not relayout child blocks' inline content
2801         https://bugs.webkit.org/show_bug.cgi?id=108128
2802
2803         Reviewed by David Hyatt.
2804
2805         Ensure that blocks lay out when their parent's shape-inside changes.
2806         ExclusionShapeInsideInfo now stores an additional flag indicating whether
2807         the shape has changed and its block's children require layout. Each block
2808         can look up the flag via LayoutState to determine whether it needs to lay
2809         out its children.
2810
2811         Test: fast/exclusions/shape-inside/shape-inside-dynamic-nested.html
2812
2813         * rendering/ExclusionShapeInfo.h:
2814         (WebCore::ExclusionShapeInfo::shapeSizeDirty): Add a method to determine
2815         if the shape has changed.
2816         (ExclusionShapeInfo):
2817         * rendering/ExclusionShapeInsideInfo.h:
2818         (WebCore::ExclusionShapeInsideInfo::setNeedsLayout): Set the flag indicating
2819         layout is necessary.
2820         (WebCore::ExclusionShapeInsideInfo::needsLayout): Retrieve the layout flag.
2821         (ExclusionShapeInsideInfo):
2822         (WebCore::ExclusionShapeInsideInfo::ExclusionShapeInsideInfo): Initialize
2823         the layout flag.
2824         * rendering/RenderBlock.cpp:
2825         (WebCore::exclusionInfoRequiresRelayout): Return true if the shape info should
2826         cause a relayout. Also update the needsLayout flag on the ExclusionShapeInsideInfo.
2827         (WebCore):
2828         (WebCore::RenderBlock::updateRegionsAndExclusionsLogicalSize): Return a boolean
2829         indicating whether regions or exclusions updates should cause a relayout.
2830         (WebCore::RenderBlock::layoutBlock): Relayout children if the shape inside has
2831         changed.
2832         * rendering/RenderBlock.h:
2833         (RenderBlock):
2834         * rendering/RenderBlockLineLayout.cpp:
2835         (WebCore::RenderBlock::layoutExclusionShapeInsideInfo): Changing to be a
2836         class method.
2837         (WebCore::LineWidth::LineWidth): Changing to use class method.
2838         (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Ditto.
2839         (WebCore::constructBidiRunsForLine): Ditto.
2840         (WebCore::RenderBlock::layoutRunsAndFloatsInRange): Ditto.
2841         (WebCore::RenderBlock::LineBreaker::nextLineBreak): Ditto.
2842
2843 2013-03-01  Uday Kiran  <udaykiran@motorola.com>
2844
2845         getComputedStyle not implemented for -webkit-column-rule shorthand
2846         https://bugs.webkit.org/show_bug.cgi?id=111203
2847
2848         Reviewed by Alexis Menard.
2849
2850         Implement getComputedStyle for -webkit-column-rule property.
2851
2852         Test: fast/css/getComputedStyle/getComputedStyle-column-rule.html
2853
2854         * css/CSSComputedStyleDeclaration.cpp:
2855         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2856
2857 2013-02-28  David Hyatt  <hyatt@apple.com>
2858
2859         REGRESSION(r144318) 1-7% perf. regression on SVG/SvgHitTesting
2860         https://bugs.webkit.org/show_bug.cgi?id=111117
2861
2862         Make sure the allocated vector has a capacity of 1, since that is
2863         far and away the most common case.
2864
2865         Reviewed by Andreas Kling.
2866
2867         * rendering/RenderFlowThread.h:
2868         (WebCore):
2869         * rendering/RenderLayer.h:
2870         (WebCore):
2871         * rendering/RenderMultiColumnSet.cpp:
2872         (WebCore::RenderMultiColumnSet::collectLayerFragments):
2873         * rendering/RenderMultiColumnSet.h:
2874         * rendering/RenderRegion.h:
2875         (WebCore):
2876         (WebCore::RenderRegion::collectLayerFragments):
2877
2878 2013-03-01  Enrica Casucci  <enrica@apple.com>
2879
2880         Crash at WebCore::SharedBuffer::hasPlatformData writing an image to the pasteboard.
2881         https://bugs.webkit.org/show_bug.cgi?id=111211.
2882         <rdar://problem/8772758>
2883
2884         Reviewed by Ryosuke Niwa.
2885
2886         This is a speculative fix since we don't have a solid repro case.
2887         Adding null check every time we build a SharedBuffer from an NSData
2888         we have obtained manipulating data from the pasteboard.
2889
2890         * platform/mac/PasteboardMac.mm:
2891         (WebCore::writeFileWrapperAsRTFDAttachment):
2892         (WebCore::Pasteboard::writeImage):
2893
2894 2013-03-01  Enrica Casucci  <enrica@apple.com>
2895
2896         Crash at WebCore::SharedBuffer::hasPlatformData during paste.
2897         https://bugs.webkit.org/show_bug.cgi?id=111207.
2898         <rdar://problem/13024528>
2899
2900         Reviewed by Ryosuke Niwa.
2901
2902         This is a speculative fix since we don't have a solid repro case.
2903         Adding null check every time we get a SharedBuffer from the pasteboard.
2904
2905         * platform/mac/PasteboardMac.mm:
2906         (WebCore::Pasteboard::plainText):
2907         (WebCore::documentFragmentWithRTF):
2908
2909 2013-03-01  Alexey Proskuryakov  <ap@apple.com>
2910
2911         Build fix for builds with BLOB disabled. This fixes it for me on Mac at least.
2912
2913         * platform/network/BlobRegistryImpl.cpp:
2914
2915 2013-03-01  peavo@outlook.com  <peavo@outlook.com>
2916
2917         [Curl] Session cookies should not be persistent.
2918         https://bugs.webkit.org/show_bug.cgi?id=111060
2919
2920         Reviewed by Brent Fulgham.
2921
2922         Curl saves both persistent cookies, and session cookies to the cookie file.
2923         The session cookies should be deleted before starting a new session.
2924
2925         * platform/network/curl/ResourceHandleManager.cpp:
2926         (WebCore::ResourceHandleManager::ResourceHandleManager): Call method to initialize cookie session.
2927         (WebCore::ResourceHandleManager::initCookieSession): Added method to initialize cookie session.
2928         * platform/network/curl/ResourceHandleManager.h: Added method to initialize cookie session.
2929
2930 2013-03-01  Vsevolod Vlasov  <vsevik@chromium.org>
2931
2932         Web Inspector: Navigator should show tree element for each folder in the source path.
2933         https://bugs.webkit.org/show_bug.cgi?id=108943
2934
2935         Reviewed by Pavel Feldman.
2936
2937         NavigatorView now renders tree element for each folder in uiSourceCode uri.
2938         Merging several folders into one tree elememnt when folder has only one folder as a child is supported.
2939         ScriptsNavigator has horizontal scroll now.
2940         Projects are shown in ScriptsNavigator by their displayName. This allows us to show several root file system folders
2941         with the same name in the navigator (e.g. 'Source/WebCore/inspector' and 'LayoutTests/inspector').
2942
2943         Test: inspector/debugger/navigator-view.html: Renamed from scripts-file-selector.html
2944
2945         * English.lproj/localizedStrings.js:
2946         * inspector/front-end/NavigatorView.js:
2947         (WebInspector.NavigatorView):
2948         (WebInspector.NavigatorView.iconClassForType):
2949         (WebInspector.NavigatorView.prototype.addUISourceCode):
2950         (WebInspector.NavigatorView.prototype._getProjectNode):
2951         (WebInspector.NavigatorView.prototype._createProjectNode):
2952         (WebInspector.NavigatorView.prototype._getOrCreateProjectNode):
2953         (WebInspector.NavigatorView.prototype._getFolderNode):
2954         (WebInspector.NavigatorView.prototype._createFolderNode):
2955         (WebInspector.NavigatorView.prototype._getOrCreateFolderNode):
2956         (WebInspector.NavigatorView.prototype._getUISourceCodeParentNode):
2957         (WebInspector.NavigatorView.prototype._getOrCreateUISourceCodeParentNode):
2958         (WebInspector.NavigatorView.prototype.revealUISourceCode):
2959         (WebInspector.NavigatorView.prototype.removeUISourceCode):
2960         (WebInspector.NavigatorView.prototype.rename):
2961         (WebInspector.NavigatorView.prototype.reset):
2962         (.typeWeight):
2963         (WebInspector.NavigatorTreeOutline._treeElementsCompare):
2964         (WebInspector.BaseNavigatorTreeElement):
2965         (WebInspector.BaseNavigatorTreeElement.prototype.type):
2966         (WebInspector.NavigatorFolderTreeElement):
2967         (WebInspector.NavigatorFolderTreeElement.prototype.onpopulate):
2968         (WebInspector.NavigatorFolderTreeElement.prototype.onattach):
2969         (WebInspector.NavigatorSourceTreeElement):
2970         (WebInspector.NavigatorTreeNode):
2971         (WebInspector.NavigatorTreeNode.prototype.treeElement):
2972         (WebInspector.NavigatorTreeNode.prototype.dispose):
2973         (WebInspector.NavigatorTreeNode.prototype.isRoot):
2974         (WebInspector.NavigatorTreeNode.prototype.hasChildren):
2975         (WebInspector.NavigatorTreeNode.prototype.populate):
2976         (WebInspector.NavigatorTreeNode.prototype.wasPopulated):
2977         (WebInspector.NavigatorTreeNode.prototype.didAddChild):
2978         (WebInspector.NavigatorTreeNode.prototype.willRemoveChild):
2979         (WebInspector.NavigatorTreeNode.prototype.isPopulated):
2980         (WebInspector.NavigatorTreeNode.prototype.isEmpty):
2981         (WebInspector.NavigatorTreeNode.prototype.child):
2982         (WebInspector.NavigatorTreeNode.prototype.children):
2983         (WebInspector.NavigatorTreeNode.prototype.appendChild):
2984         (WebInspector.NavigatorTreeNode.prototype.removeChild):
2985         (WebInspector.NavigatorTreeNode.prototype.reset):
2986         (WebInspector.NavigatorRootTreeNode):
2987         (WebInspector.NavigatorRootTreeNode.prototype.isRoot):
2988         (WebInspector.NavigatorRootTreeNode.prototype.treeElement):
2989         (WebInspector.NavigatorRootTreeNode.prototype.wasPopulated):
2990         (WebInspector.NavigatorRootTreeNode.prototype.didAddChild):
2991         (WebInspector.NavigatorRootTreeNode.prototype.willRemoveChild):
2992         (WebInspector.NavigatorUISourceCodeTreeNode):
2993         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.treeElement):
2994         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.updateTitle):
2995         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.hasChildren):
2996         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.dispose):
2997         (WebInspector.NavigatorUISourceCodeTreeNode.prototype._titleChanged):
2998         (WebInspector.NavigatorUISourceCodeTreeNode.prototype._workingCopyChanged):
2999         (WebInspector.NavigatorUISourceCodeTreeNode.prototype._workingCopyCommitted):
3000         (WebInspector.NavigatorUISourceCodeTreeNode.prototype._formattedChanged):
3001         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.reveal):
3002         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.rename.commitHandler):
3003         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.rename.cancelHandler):
3004         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.rename.afterEditing):
3005         (WebInspector.NavigatorUISourceCodeTreeNode.prototype.rename):
3006         (WebInspector.NavigatorFolderTreeNode):
3007         (WebInspector.NavigatorFolderTreeNode.prototype.treeElement):
3008         (WebInspector.NavigatorFolderTreeNode.prototype._createTreeElement):
3009         (WebInspector.NavigatorFolderTreeNode.prototype.wasPopulated):
3010         (WebInspector.NavigatorFolderTreeNode.prototype._addChildrenRecursive):
3011         (WebInspector.NavigatorFolderTreeNode.prototype._shouldMerge):
3012         (WebInspector.NavigatorFolderTreeNode.prototype.didAddChild):
3013         (WebInspector.NavigatorFolderTreeNode.prototype.willRemoveChild):
3014         * inspector/front-end/ScriptsNavigator.js:
3015         * inspector/front-end/SimpleWorkspaceProvider.js:
3016         (WebInspector.SimpleProjectDelegate.prototype.displayName):
3017         * inspector/front-end/navigatorView.css:
3018         (.navigator > ol):
3019         (.navigator .base-navigator-tree-element-title):
3020         (.navigator-tabbed-pane .navigator-container):
3021
3022 2013-03-01  Arvid Nilsson  <anilsson@rim.com>
3023
3024         [BlackBerry] Upstream BlackBerry::Platform::Graphics::GraphicsContext integration related changes in platform/graphics/blackberry
3025         https://bugs.webkit.org/show_bug.cgi?id=111072
3026
3027         Reviewed by Rob Buis.
3028
3029         BlackBerry PR 293208
3030
3031         This patch contains contributions from many members of the BlackBerry
3032         WebKit team:
3033
3034         Rob Buis
3035         Robin Cao
3036         Michael Carmody
3037         Max Feil
3038         Eli Fidler
3039         Antonio Gomes
3040         Jacky Jiang
3041         Mike Lattanzio
3042         Yong Li
3043         Andrew Lo
3044         Maxim Mogilnitsky
3045         Joshua Netterfield
3046         Arvid Nilsson
3047         Jakob Petsovits
3048         Konrad Piascik
3049         Jeff Rogers
3050         Artem Simonov
3051         Filip Spacek
3052         George Staikos
3053         Cosmin Truta
3054
3055         Covered by existing tests.
3056
3057         * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp:
3058         (WebCore::CanvasLayerWebKitThread::deleteTextures):
3059         (CanvasLayerCompositingThreadClient):
3060         (WebCore::CanvasLayerCompositingThreadClient::layerCompositingThreadDestroyed):
3061         (WebCore::CanvasLayerCompositingThreadClient::layerVisibilityChanged):
3062         (WebCore::CanvasLayerCompositingThreadClient::uploadTexturesIfNeeded):
3063         (WebCore::CanvasLayerCompositingThreadClient::clearBuffer):
3064         (WebCore):
3065         (WebCore::CanvasLayerCompositingThreadClient::CanvasLayerCompositingThreadClient):
3066         (WebCore::CanvasLayerCompositingThreadClient::drawTextures):
3067         (WebCore::CanvasLayerCompositingThreadClient::deleteTextures):
3068         (WebCore::CanvasLayerCompositingThreadClient::commitPendingTextureUploads):
3069         (WebCore::CanvasLayerWebKitThread::CanvasLayerWebKitThread):
3070         (WebCore::CanvasLayerWebKitThread::~CanvasLayerWebKitThread):
3071         (WebCore::CanvasLayerWebKitThread::clearBuffer):
3072         * platform/graphics/blackberry/CanvasLayerWebKitThread.h:
3073         (WebCore):
3074         (WebCore::CanvasLayerWebKitThread::create):
3075         (CanvasLayerWebKitThread):
3076         * platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
3077         (WebCore::DisplayRefreshMonitor::displayLinkFired):
3078         * platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
3079         (WebCore::DrawingBuffer::DrawingBuffer):
3080         (WebCore):
3081         (WebCore::DrawingBuffer::publishToPlatformLayer):
3082         (WebCore::DrawingBuffer::platformLayer):
3083         * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.cpp:
3084         (WebCore::EGLImageLayerCompositingThreadClient::~EGLImageLayerCompositingThreadClient):
3085         (WebCore::EGLImageLayerCompositingThreadClient::uploadTexturesIfNeeded):
3086         (WebCore::EGLImageLayerCompositingThreadClient::drawTextures):
3087         (WebCore::EGLImageLayerCompositingThreadClient::deleteTextures):
3088         (WebCore::EGLImageLayerCompositingThreadClient::bindContentsTexture):
3089         (WebCore::EGLImageLayerCompositingThreadClient::setTextureAccessor):
3090         * platform/graphics/blackberry/EGLImageLayerCompositingThreadClient.h:
3091         (Graphics):
3092         (EGLImageLayerCompositingThreadClient):
3093         (WebCore::EGLImageLayerCompositingThreadClient::EGLImageLayerCompositingThreadClient):
3094         * platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp:
3095         (WebCore::EGLImageLayerWebKitThread::EGLImageLayerWebKitThread):
3096         (WebCore::EGLImageLayerWebKitThread::~EGLImageLayerWebKitThread):
3097         (WebCore::EGLImageLayerWebKitThread::updateFrontBuffer):
3098         (WebCore::EGLImageLayerWebKitThread::deleteFrontBuffer):
3099         (WebCore::EGLImageLayerWebKitThread::commitPendingTextureUploads):
3100         (WebCore::EGLImageLayerWebKitThread::createTextureIfNeeded):
3101         (WebCore::EGLImageLayerWebKitThread::blitToFrontBuffer):
3102         * platform/graphics/blackberry/EGLImageLayerWebKitThread.h:
3103         (Graphics):
3104         (EGLImageLayerWebKitThread):
3105         * platform/graphics/blackberry/FloatRectBlackBerry.cpp:
3106         (WebCore::FloatRect::normalized):
3107         (WebCore):
3108         * platform/graphics/blackberry/FontCacheBlackberry.cpp: Removed.
3109         * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
3110         (WebCore::GraphicsContext3D::GraphicsContext3D):
3111         (WebCore::GraphicsContext3D::paintToCanvas):
3112         (WebCore::GraphicsContext3D::getImageData):
3113         (WebCore):
3114         * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp:
3115         (WebCore::GraphicsLayerBlackBerry::GraphicsLayerBlackBerry):
3116         (WebCore::GraphicsLayerBlackBerry::setBackgroundColor):
3117         (WebCore::GraphicsLayerBlackBerry::clearBackgroundColor):
3118         (WebCore):
3119         (WebCore::GraphicsLayerBlackBerry::setContentsNeedsDisplay):
3120         (WebCore::GraphicsLayerBlackBerry::setNeedsDisplay):
3121         (WebCore::GraphicsLayerBlackBerry::setNeedsDisplayInRect):
3122         (WebCore::GraphicsLayerBlackBerry::updateLayerBackgroundColor):
3123         (WebCore::GraphicsLayerBlackBerry::setupContentsLayer):
3124         * platform/graphics/blackberry/GraphicsLayerBlackBerry.h:
3125         (GraphicsLayerBlackBerry):
3126         (WebCore::GraphicsLayerBlackBerry::notifySyncRequired):
3127         * platform/graphics/blackberry/ImageBlackBerry.cpp:
3128         (WebCore::ImageFrame::asNewNativeImage):
3129         (WebCore):
3130         (WebCore::FrameData::clear):
3131         (WebCore::BitmapImage::BitmapImage):
3132         (WebCore::BitmapImage::checkForSolidColor):
3133         (WebCore::BitmapImage::invalidatePlatformData):
3134         (WebCore::BitmapImage::draw):
3135         (WebCore::Image::drawPattern):
3136         * platform/graphics/blackberry/InstrumentedPlatformCanvas.h: Removed.
3137         * platform/graphics/blackberry/LayerCompositingThread.cpp:
3138         (WebCore::LayerCompositingThread::drawTextures):
3139         (WebCore::LayerCompositingThread::drawSurface):
3140         (WebCore::LayerCompositingThread::contentsTexture):
3141         (WebCore::LayerCompositingThread::commitPendingTextureUploads):
3142         (WebCore):
3143         * platform/graphics/blackberry/LayerCompositingThread.h:
3144         (Graphics):
3145         (LayerCompositingThread):
3146         * platform/graphics/blackberry/LayerCompositingThreadClient.h:
3147         (Graphics):
3148         (WebCore):
3149         (LayerCompositingThreadClient):
3150         (WebCore::LayerCompositingThreadClient::contentsTexture):
3151         (WebCore::LayerCompositingThreadClient::commitPendingTextureUploads):
3152         * platform/graphics/blackberry/LayerData.h:
3153         (WebCore::LayerData::LayerData):
3154         (WebCore::LayerData::contentsResolutionIndependent):
3155         (LayerData):
3156         (WebCore::LayerData::layerProgram):
3157         (WebCore::LayerData::isContainerForFixedPositionLayers):
3158         (WebCore::LayerData::isFixedToTop):
3159         (WebCore::LayerData::isFixedToLeft):
3160         (WebCore::LayerData::frameVisibleRect):
3161         (WebCore::LayerData::frameContentsSize):
3162         (WebCore::LayerData::contentsScale):
3163         * platform/graphics/blackberry/LayerFilterRenderer.cpp:
3164         (WebCore::LayerFilterRendererAction::LayerFilterRendererAction):
3165         (WebCore::LayerFilterRenderer::initializeSharedGLObjects):
3166         (WebCore::LayerFilterRenderer::ping):
3167         (WebCore::LayerFilterRenderer::pong):
3168         (WebCore::LayerFilterRenderer::pushSnapshot):
3169         (WebCore::LayerFilterRenderer::popSnapshot):
3170         (WebCore::LayerFilterRenderer::applyActions):
3171         * platform/graphics/blackberry/LayerRenderer.cpp:
3172         (WebCore):
3173         (WebCore::LayerRenderer::LayerRenderer):
3174         (WebCore::LayerRenderer::~LayerRenderer):
3175         (WebCore::LayerRenderer::setViewport):
3176         (WebCore::LayerRenderer::compositeLayers):
3177         (WebCore::LayerRenderer::compositeBuffer):
3178         (WebCore::LayerRenderer::drawColor):
3179         (WebCore::LayerRenderer::useSurface):
3180         (WebCore::LayerRenderer::drawLayersOnSurfaces):
3181         (WebCore::glRound):
3182         (WebCore::LayerRenderer::toOpenGLWindowCoordinates):
3183         (WebCore::LayerRenderer::drawDebugBorder):
3184         (WebCore::LayerRenderer::drawHolePunchRect):
3185         (WebCore::LayerRenderer::updateLayersRecursive):
3186         (WebCore::LayerRenderer::compositeLayersRecursive):
3187         (WebCore::LayerRenderer::createProgram):
3188         (WebCore::LayerRenderer::useProgram):
3189         (WebCore::LayerRenderer::useLayerProgram):
3190         * platform/graphics/blackberry/LayerRenderer.h:
3191         (LayerRenderer):
3192         * platform/graphics/blackberry/LayerRendererSurface.cpp:
3193         (WebCore::LayerRendererSurface::ensureTexture):
3194         * platform/graphics/blackberry/LayerTile.cpp:
3195         (WebCore::LayerTile::LayerTile):
3196         (WebCore::LayerTile::setContents):
3197         (WebCore::LayerTile::updateContents):
3198         * platform/graphics/blackberry/LayerTile.h:
3199         (LayerTile):
3200         (WebCore::LayerTile::renderState):
3201         (WebCore::LayerTile::needsRender):
3202         (WebCore::LayerTile::setNeedsRender):
3203         (WebCore::LayerTile::setRenderPending):
3204         (WebCore::LayerTile::setRenderDone):
3205         * platform/graphics/blackberry/LayerTileIndex.h:
3206         * platform/graphics/blackberry/LayerTiler.cpp:
3207         (WebCore):
3208         (WebCore::defaultTileSize):
3209         (WebCore::LayerTiler::LayerTiler):
3210         (WebCore::LayerTiler::updateTextureContentsIfNeeded):
3211         (WebCore::LayerTiler::createBuffer):
3212         (WebCore::LayerTiler::willCommit):
3213         (WebCore::LayerTiler::commitPendingTextureUploads):
3214         (WebCore::LayerTiler::layerVisibilityChanged):
3215         (WebCore::LayerTiler::uploadTexturesIfNeeded):
3216         (WebCore::LayerTiler::processTextureJob):
3217         (WebCore::LayerTiler::addTileJob):
3218         (WebCore::LayerTiler::performTileJob):
3219         (WebCore::LayerTiler::drawTile):
3220         (WebCore::LayerTiler::drawTextures):
3221         (WebCore::LayerTiler::pruneTextures):
3222         (WebCore::LayerTiler::updateTileSize):
3223         (WebCore::LayerTiler::setNeedsBacking):
3224         (WebCore::LayerTiler::contentsTexture):
3225         * platform/graphics/blackberry/LayerTiler.h:
3226         (WebCore::LayerTiler::tileSize):
3227         (LayerTiler):
3228         (WebCore::LayerTiler::TextureJob::TextureJob):
3229         (WebCore::LayerTiler::TextureJob::setContents):
3230         (WebCore::LayerTiler::TextureJob::updateContents):
3231         (TextureJob):
3232         (WebCore::LayerTiler::needsRender):
3233         (WebCore::LayerTiler::removeUpdateContentsJobs):
3234         * platform/graphics/blackberry/LayerWebKitThread.cpp:
3235         (WebCore::LayerWebKitThread::LayerWebKitThread):
3236         (WebCore::LayerWebKitThread::~LayerWebKitThread):
3237         (WebCore::LayerWebKitThread::paintContents):
3238         (WebCore::LayerWebKitThread::commitPendingTextureUploads):
3239         (WebCore::LayerWebKitThread::setContents):
3240         (WebCore::LayerWebKitThread::setNeedsCommit):
3241         (WebCore::LayerWebKitThread::notifyAnimationsStarted):
3242         (WebCore::LayerWebKitThread::commitOnWebKitThread):
3243         (WebCore::LayerWebKitThread::startAnimations):
3244         (WebCore::LayerWebKitThread::updateTextureContents):
3245         (WebCore::LayerWebKitThread::commitOnCompositingThread):
3246         (WebCore::LayerWebKitThread::addSublayer):
3247         (WebCore):
3248         (WebCore::LayerWebKitThread::addOverlay):
3249         (WebCore::LayerWebKitThread::insert):
3250         (WebCore::LayerWebKitThread::removeFromSuperlayer):
3251         (WebCore::LayerWebKitThread::removeSublayerOrOverlay):
3252         (WebCore::LayerWebKitThread::remove):
3253         (WebCore::LayerWebKitThread::replaceSublayer):
3254         (WebCore::LayerWebKitThread::filtersCanBeComposited):
3255         (WebCore::LayerWebKitThread::removeAll):
3256         (WebCore::LayerWebKitThread::setSublayers):
3257         (WebCore::LayerWebKitThread::updateLayerHierarchy):
3258         (WebCore::LayerWebKitThread::setIsMask):
3259         (WebCore::LayerWebKitThread::releaseLayerResources):
3260         * platform/graphics/blackberry/LayerWebKitThread.h:
3261         (WebCore::LayerWebKitThread::insertSublayer):
3262         (LayerWebKitThread):
3263         (WebCore::LayerWebKitThread::isMask):
3264         (WebCore::LayerWebKitThread::removeAllSublayers):
3265         (WebCore::LayerWebKitThread::setFixedPosition):
3266         (WebCore::LayerWebKitThread::setIsContainerForFixedPositionLayers):
3267         (WebCore::LayerWebKitThread::setFixedToTop):
3268         (WebCore::LayerWebKitThread::setFixedToLeft):
3269         (WebCore::LayerWebKitThread::setFrameVisibleRect):
3270         (WebCore::LayerWebKitThread::setFrameContentsSize):
3271         (WebCore::LayerWebKitThread::setLayerProgram):
3272         * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
3273         (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
3274         (WebCore::MediaPlayerPrivate::play):
3275         (WebCore::MediaPlayerPrivate::supportsFullscreen):
3276         (WebCore::MediaPlayerPrivate::paintCurrentFrameInContext):
3277         (WebCore::MediaPlayerPrivate::prepareForRendering):
3278         (WebCore):
3279         (WebCore::MediaPlayerPrivate::resizeSourceDimensions):
3280         (WebCore::MediaPlayerPrivate::percentLoaded):
3281         (WebCore::MediaPlayerPrivate::updateStates):
3282         (WebCore::MediaPlayerPrivate::waitMetadataTimerFired):
3283         (WebCore::MediaPlayerPrivate::onAuthenticationNeeded):
3284         (WebCore::MediaPlayerPrivate::notifyChallengeResult):
3285         (WebCore::MediaPlayerPrivate::isProcessingUserGesture):
3286         (WebCore::loadBufferingImageData):
3287         (WebCore::MediaPlayerPrivate::setBuffering):
3288         (WebCore::MediaPlayerPrivate::drawBufferingAnimation):
3289         (WebCore::MediaPlayerPrivate::onConditionallyEnterFullscreen):
3290         (WebCore::MediaPlayerPrivate::onExitFullscreen):
3291         (WebCore::MediaPlayerPrivate::onCreateHolePunchRect):
3292         (WebCore::MediaPlayerPrivate::onDestroyHolePunchRect):
3293         * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
3294         (BlackBerry):
3295         (Platform):
3296         (Graphics):
3297         (MediaPlayerPrivate):
3298         * platform/graphics/blackberry/PluginLayerWebKitThread.cpp:
3299         (WebCore::PluginLayerWebKitThread::setPluginView):
3300         * platform/graphics/blackberry/Texture.cpp:
3301         (WebCore::Texture::Texture):
3302         (WebCore::Texture::updateContents):
3303         (WebCore::Texture::setContentsToColor):
3304         (WebCore::Texture::protect):
3305         * platform/graphics/blackberry/Texture.h:
3306         (Texture):
3307         (WebCore::Texture::textureId):
3308         (WebCore::Texture::isDirty):
3309         (WebCore::Texture::hasTexture):
3310         (WebCore::Texture::sizeInBytes):
3311         (WebCore::Texture::setTextureId):
3312         (WebCore::Texture::setSize):
3313         * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
3314         (WebCore::TextureCacheCompositingThread::allocateTextureId):
3315         (WebCore::freeTextureId):
3316         (WebCore::TextureCacheCompositingThread::collectGarbage):
3317         (WebCore::TextureCacheCompositingThread::textureSizeInBytesChanged):
3318         (WebCore):
3319         (WebCore::TextureCacheCompositingThread::textureDestroyed):
3320         (WebCore::TextureCacheCompositingThread::install):
3321         (WebCore::TextureCacheCompositingThread::resizeTexture):
3322         (WebCore::TextureCacheCompositingThread::evict):
3323         (WebCore::TextureCacheCompositingThread::prune):
3324         (WebCore::TextureCacheCompositingThread::clear):
3325         (WebCore::TextureCacheCompositingThread::textureForTiledContents):
3326         (WebCore::TextureCacheCompositingThread::updateContents):
3327         * platform/graphics/blackberry/TextureCacheCompositingThread.h:
3328         (TextureCacheCompositingThread):
3329         (WebCore::TextureCacheCompositingThread::ZombieTexture::ZombieTexture):
3330         (ZombieTexture):
3331         * platform/graphics/blackberry/skia/ImageBufferDataSkia.h: Removed.
3332         * platform/graphics/blackberry/skia/PlatformSupport.cpp: Removed.
3333         * platform/graphics/blackberry/skia/PlatformSupport.h: Removed.
3334
3335 2013-03-01  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
3336
3337         [Qt] Fix the Mac build with the current qtbase/dev branch
3338         https://bugs.webkit.org/show_bug.cgi?id=111190
3339
3340         Reviewed by Allan Sandfeld Jensen.
3341
3342         QMAKE_MACOSX_DEPLOYMENT_TARGET now influences
3343         __MAC_OS_X_VERSION_MIN_REQUIRED through -mmacosx-version-min after
3344         changes in qtbase to support iOS.
3345
3346         Having only WebCore defining it to 10.5 would create a mismatch of
3347         ENABLE_THREADING_LIBDISPATCH with WTF to cause undefined symbols
3348         while linking both together at the end.
3349
3350         Fix it by removing the statement which isn't needed anymore.
3351         qtbase/mkspecs/common/mac-minimum-version.conf already defines
3352         10.6 as the minimum Mac version.
3353
3354         * Target.pri:
3355
3356 2013-03-01  Vsevolod Vlasov  <vsevik@chromium.org>
3357
3358         Web Inspector: [Regression] Snippets renaming is broken.
3359         https://bugs.webkit.org/show_bug.cgi?id=111181
3360
3361         Reviewed by Alexander Pavlov.
3362
3363         * inspector/front-end/NavigatorView.js:
3364         * inspector/front-end/ScriptSnippetModel.js:
3365         * inspector/front-end/ScriptsPanel.js:
3366         (WebInspector.ScriptsPanel.prototype.set _fileRenamed):
3367         * inspector/front-end/UISourceCode.js:
3368         (WebInspector.UISourceCode.prototype.rename):
3369
3370 2013-03-01  David Hyatt  <hyatt@apple.com>
3371
3372         Fix a misspelled word in RenderObject.h. staticly -> statically.
3373
3374         Reviewed by Dean Jackson.
3375
3376         * rendering/RenderObject.h:
3377         (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
3378         (WebCore::RenderObject::RenderObjectBitfields::isPositioned):
3379
3380 2013-03-01  David Hyatt  <hyatt@apple.com>
3381
3382         [New Multicolumn] Change flow thread containment to be a state.
3383         https://bugs.webkit.org/show_bug.cgi?id=111110
3384
3385         Change m_inRenderFlowThread from a single bit to an actual state. This
3386         will let us track whether we're inside a multicolumn (in-flow) flow thread
3387         or a named (out-of-flow) flow thread. In the former case, we're going to have
3388         to do more work to maintain this state, but for now I've kept all the logic
3389         the same just for the initial landing.
3390
3391         Reviewed by Andreas Kling.
3392
3393         * dom/NodeRenderingContext.cpp:
3394         (WebCore::NodeRenderingContext::createRendererForElementIfNeeded):
3395         (WebCore::NodeRenderingContext::createRendererForTextIfNeeded):
3396         * rendering/RenderBlock.cpp:
3397         (WebCore::RenderBlock::clone):
3398         * rendering/RenderFlowThread.cpp:
3399         (WebCore::RenderFlowThread::RenderFlowThread):
3400         * rendering/RenderInline.cpp:
3401         (WebCore::RenderInline::clone):
3402         * rendering/RenderMultiColumnFlowThread.cpp:
3403         (WebCore::RenderMultiColumnFlowThread::RenderMultiColumnFlowThread):
3404         * rendering/RenderObject.cpp:
3405         (WebCore::RenderObject::setFlowThreadStateIncludingDescendants):
3406         (WebCore::RenderObject::removeFromRenderFlowThreadRecursive):
3407         * rendering/RenderObject.h:
3408         (WebCore::RenderObject::setParent):
3409         (RenderObject):
3410         (WebCore::RenderObject::inRenderFlowThread):
3411         (WebCore::RenderObject::flowThreadState):
3412         (WebCore::RenderObject::setFlowThreadState):
3413         (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
3414         (RenderObjectBitfields):
3415         (WebCore::RenderObject::RenderObjectBitfields::flowThreadState):
3416         (WebCore::RenderObject::RenderObjectBitfields::setFlowThreadState):
3417         * rendering/RenderView.cpp:
3418         (WebCore::RenderView::addChild):
3419         
3420 2013-03-01  Jessie Berlin  <jberlin@apple.com>
3421
3422         Build fix.
3423
3424         Roll out r144431 because it was a build fix for r144422, which was rolled out in r144446.
3425
3426         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
3427
3428 2013-03-01  David Kilzer  <ddkilzer@apple.com>
3429
3430         BUILD FIX (r144358): Add UNUSED_PARAM() macros to WebCore::Extensions3DOpenGL::drawBuffersEXT()
3431         <http://webkit.org/b/109331>
3432
3433         Fixes the following build failures:
3434
3435             Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp:218:51: error: unused parameter 'n' [-Werror,-Wunused-parameter]
3436             void Extensions3DOpenGL::drawBuffersEXT(GC3Dsizei n, const GC3Denum* bufs)
3437                                                               ^
3438             Source/WebCore/platform/graphics/opengl/Extensions3DOpenGL.cpp:218:70: error: unused parameter 'bufs' [-Werror,-Wunused-parameter]
3439             void Extensions3DOpenGL::drawBuffersEXT(GC3Dsizei n, const GC3Denum* bufs)
3440                                                                                  ^
3441             2 errors generated.
3442
3443         * platform/graphics/opengl/Extensions3DOpenGL.cpp:
3444         (WebCore::Extensions3DOpenGL::drawBuffersEXT): Add UNUSED_PARAM()
3445         macros.
3446
3