Reverted r81319.
[WebKit.git] / Source / WebCore / ChangeLog
1 2011-04-28  Dan Bernstein  <mitz@apple.com>
2
3         Rubber-stamped by Mark Rowe.
4
5         Reverted r81319.
6
7         Fixes <rdar://problem/9331580> REGRESSION (r81319): Safari fails to display dropdown navigation on classics.berkeley.edu
8
9         * page/NavigatorBase.cpp:
10
11 2011-04-28  Simon Fraser  <simon.fraser@apple.com>
12
13         Reviewed by Dirk Schulze.
14
15         1px box-shadow looks ugly
16         https://bugs.webkit.org/show_bug.cgi?id=58100
17         and
18         ShadowBlur incorrectly handles zero-sized blur radius in one axis
19         https://bugs.webkit.org/show_bug.cgi?id=59710
20         
21         blurLayerImage() has issues at the edges if the blur radius
22         is one, so in that case bump the buffer size out by a pixel.
23         This results in a correct, symmetrical blur.
24         
25         Also fix an issue noticed during testing where a zero
26         height or width radius would still blur on that axis,
27         because we clamp the kernel size to a minimum of two.
28
29         Test: fast/box-shadow/single-pixel-shadow.html
30
31         * platform/graphics/ShadowBlur.h:
32         * platform/graphics/ShadowBlur.cpp:
33         (WebCore::ShadowBlur::blurLayerImage):
34         Skip horizontal or vertial passes if the radius on that axis is zero.
35         Move the "if (pass && m_blurRadius.width() != m_blurRadius.height())"
36         clause to the end of the loop, since it only needs to execute once
37         after the first pass.        
38         (WebCore::ShadowBlur::blurredEdgeSize):
39         New method to compute the width of the blurred edge (radius + extra
40         pixel when necessary).
41         (WebCore::ShadowBlur::calculateLayerBoundingRect):
42         (WebCore::ShadowBlur::templateSize):
43         (WebCore::ShadowBlur::drawRectShadow):
44         (WebCore::ShadowBlur::drawInsetShadow):
45         (WebCore::ShadowBlur::drawInsetShadowWithTiling):
46         (WebCore::ShadowBlur::drawRectShadowWithTiling):
47         (WebCore::ShadowBlur::drawLayerPieces):
48         Use the result of blurredEdgeSize() rather than recomputing.
49
50 2011-04-28  Yael Aharon  <yael.aharon@nokia.com>
51
52         Reviewed by Beth Dakin.
53
54         CSS sibling selector (~) does not work with :target pseudo class
55         https://bugs.webkit.org/show_bug.cgi?id=26539
56
57         Allow style recalculation of forward siblings of elements with
58         forward positional rules.
59
60         Tests: fast/css/pseudo-target-indirect-sibling-001.html
61                fast/css/pseudo-target-indirect-sibling-002.html
62
63         * dom/Element.cpp:
64         (WebCore::Element::recalcStyle):
65
66 2011-04-28  Nat Duca  <nduca@chromium.org>
67
68         Reviewed by Kenneth Russell.
69
70         [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
71         https://bugs.webkit.org/show_bug.cgi?id=59626
72
73         * platform/graphics/chromium/Extensions3DChromium.h:
74         (WebCore::Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM::~SwapBuffersCompleteCallbackCHROMIUM):
75
76 2011-04-28  Steve Lacey  <sjl@chromium.org>
77
78         Reviewed by Eric Carlson.
79
80         Change chromium media controls to use absolute positioning until bug 59644 is fixed.
81         https://bugs.webkit.org/show_bug.cgi?id=59732
82
83         * css/mediaControlsChromium.css:
84         (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
85         (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
86
87 2011-04-28  Luke Macpherson   <macpherson@chromium.org>
88
89         Reviewed by Eric Seidel.
90
91         Implement CSS border width and related properties in CSSStyleApplyProperty.
92         https://bugs.webkit.org/show_bug.cgi?id=59414
93
94         No new tests as no functionality added.
95
96         * css/CSSStyleApplyProperty.cpp:
97         Separated ApplyPropertyDefault into parent and child so that other classes could inherit
98         the applyInheritValue and applyInitialValue methods only.
99         This was necessary to avoid casting from CSSPrimitiveValue to inappropriate types in ApplyPropertyDefault::applyValue().
100         
101         Added ApplyPropertyWidth class for handling width based CSS properties.
102         * css/CSSStyleSelector.cpp:
103         Removed no-longer-required code for handling width based CSS properties.
104         * css/CSSStyleSelector.h:
105         Added a getter for m_rootElementStyle.
106
107 2011-04-28  Kent Tamura  <tkent@chromium.org>
108
109         Run sort-Xcode-project-file.
110
111         * WebCore.xcodeproj/project.pbxproj:
112
113 2011-04-28  Martin Robinson  <mrobinson@igalia.com>
114
115         Reviewed by Dirk Schulze.
116
117         [Cairo] Text underline is not shadowed when text-shadow is enabled
118         https://bugs.webkit.org/show_bug.cgi?id=48074
119
120         Use ContextShadow to enable shadows for text underlines. Also remove quite a bit
121         of duplicate code in GraphicsContext used for stroking lines. This code looks like it was
122         originally copied from the CG GraphicsContext.
123
124         * platform/graphics/GraphicsContext.h: Make adjustLineToPixelBoundaries so that we
125           can call it from a static helper function.
126         * platform/graphics/cairo/GraphicsContextCairo.cpp:
127         (WebCore::calculateStrokePatternOffset): Abstracted this code into a helper.
128         (WebCore::drawLineOnCairoContext): Abstracted this code into a helper. We need to
129         call it multiple times when shadowing text underlines.
130         (WebCore::GraphicsContext::drawLine): Use drawLineOnCairoContext.
131         (WebCore::GraphicsContext::strokeArc): Use calculateStrokePatternOffset.
132         (WebCore::GraphicsContext::drawLineForText): Use drawLineOnCairoContext.
133
134 2011-04-28  Sam Weinig  <sam@webkit.org>
135
136         Rubber-stamped by Mark Rowe.
137
138         Cleanup WebCore.xcodeproj a bit.
139
140         * WebCore.xcodeproj/project.pbxproj:
141         Added CompilerVersion.xcconfig and moved some JS bindings files into the
142         correct sub groups.
143
144 2011-04-28  David Levin  <levin@chromium.org>
145
146         Reviewed by Adam Barth.
147
148         Remove IMAGE_RESIZER related code.
149         https://bugs.webkit.org/show_bug.cgi?id=59735
150
151         * CMakeLists.txt:
152         * Configurations/FeatureDefines.xcconfig:
153         * GNUmakefile.am:
154         * GNUmakefile.list.am:
155         * WebCore.gypi:
156         * WebCore.pro:
157         * WebCore.vcproj/WebCore.vcproj:
158         * WebCore.xcodeproj/project.pbxproj:
159         * features.pri:
160         * html/AsyncImageResizer.cpp: Removed.
161         * html/AsyncImageResizer.h: Removed.
162         * html/ImageResizerThread.cpp: Removed.
163         * html/ImageResizerThread.h: Removed.
164
165 2011-04-28  Ilya Tikhonovsky  <loislo@chromium.org>
166
167         Unreviewed trivial one-line fix inspired by wrong patch for https://bugs.webkit.org/show_bug.cgi?id=59630.
168
169         * inspector/front-end/Settings.js:
170         (WebInspector.Settings):
171
172 2011-04-28  Beth Dakin  <bdakin@apple.com>
173
174         Rubber-stamped by Sam Weinig.
175
176         Rolling out revision 85258! I want to fix that bug a different way.
177         * platform/mac/ScrollbarThemeMac.mm:
178         (WebCore::ScrollbarThemeMac::paint):
179
180 2011-04-28  Chang Shu  <cshu@webkit.org>
181
182         Reviewed by Eric Seidel.
183
184         isContentEditable is not working properly with document.designMode
185         https://bugs.webkit.org/show_bug.cgi?id=53031
186
187         The specification (http://dev.w3.org/html5/spec/Overview.html#attr-contenteditable)
188         indicates that the element.isContentEditable relies on document.designMode if its
189         and its ancestors' contenteditable attributes are set to inherit.
190
191         1. Sync document render style after document.designMode is changed.
192         2. Removed the code that does unnecessary and incorrect handling for contenteditable
193         attribute with "inherit" value.
194         3. Ryosuke Niwa also helped to fix the code in ApplyStyleCommand that causes an assertion.
195
196         Tests: fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html
197                fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html
198                fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html
199                fast/dom/HTMLElement/iscontenteditable-designmodeon.html
200
201         * css/CSSStyleSelector.cpp:
202         (WebCore::CSSStyleSelector::styleForDocument):
203         * dom/Document.cpp:
204         (WebCore::Document::setDesignMode):
205         * dom/Node.cpp:
206         (WebCore::Node::rendererIsEditable):
207         * editing/ApplyStyleCommand.cpp:
208         (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
209         * html/HTMLElement.cpp:
210         (WebCore::HTMLElement::setContentEditable):
211
212 2011-04-28  Sheriff Bot  <webkit.review.bot@gmail.com>
213
214         Unreviewed, rolling out r85101.
215         http://trac.webkit.org/changeset/85101
216         https://bugs.webkit.org/show_bug.cgi?id=59757
217
218          it'd be better to rollout the patch and do another one with
219         another property name. Current one will bring us to a problem
220         at first run after upgrade because it's type was changed from
221         int to string. (Requested by loislo on #webkit).
222
223         * inspector/front-end/ScriptsPanel.js:
224         (WebInspector.ScriptsPanel.prototype._debuggerWasEnabled):
225         (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions.callback):
226         (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
227
228 2011-04-28  Mike Reed  <reed@google.com>
229
230         Reviewed by Eric Seidel.
231
232         fix shadw behavior for both CSS and Canvas -- skia only
233         https://bugs.webkit.org/show_bug.cgi?id=59700
234
235         Test:
236         canvas/philip/tests/2d.shadow.alpha.3.html
237         canvas/philip/tests/2d.shadow.alpha.4.html
238         canvas/philip/tests/2d.shadow.alpha.5.html
239         fast/canvas/canvas-fillPath-alpha-shadow.html
240         fast/canvas/canvas-strokePath-alpha-shadow.html
241         fast/canvas/canvas-strokeRect-alpha-shadow.html
242         fast/css/text-input-with-webkit-border-radius.html
243         fast/repaint/shadow-multiple-horizontal.html
244         fast/repaint/shadow-multiple-strict-horizontal.html
245         fast/repaint/shadow-multiple-strict-vertical.html
246         fast/repaint/shadow-multiple-vertical.html
247         fast/canvas/canvas-getImageData.html
248
249         * platform/graphics/chromium/FontChromiumWin.cpp:
250         (WebCore::Font::drawGlyphs):
251         * platform/graphics/skia/GraphicsContextSkia.cpp:
252         (WebCore::GraphicsContext::setPlatformShadow):
253
254 2011-04-28  David Kilzer  <ddkilzer@apple.com>
255
256         <http://webkit.org/b/59755> AXObjectCache::attachWrapper() over-retains an AccessibilityObjectWrapper
257
258         Reviewed by Chris Fleizach.
259
260         Previously, AXObjectCache::attachWrapper over-retained each
261         AccessibilityObjectWrapper it created, which is why
262         AXObjectCache::detachWrapper() contained an extra -release.
263
264         * accessibility/mac/AXObjectCacheMac.mm:
265         (WebCore::AXObjectCache::detachWrapper): Removed extra -release.
266         (WebCore::AXObjectCache::attachWrapper): Because setWrapper()
267         assigns to a RetainPtr<> instance variable, it doesn't need a +1
268         retained object passed in.  Fix the leak by using a RetainPtr<>
269         for the AccessibilityObjectWrapper.
270
271 2011-04-28  Nat Duca  <nduca@chromium.org>
272
273         Reviewed by Darin Fisher.
274
275         [chromium] Compute compositor fps value and history using the frameBegin timestamp
276         https://bugs.webkit.org/show_bug.cgi?id=59668
277
278         This change switches the compositor FPS meter to use the timestamp
279         of the beginning of the frame rather than the time we call
280         swapBuffers. When scheduling is correctly tied to vsync, we can
281         have highly variable times when we finish vsync and still have
282         stable frame rates.
283
284         * platform/graphics/chromium/LayerRendererChromium.cpp:
285         (WebCore::LayerRendererChromium::updateAndDrawLayers):
286         * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
287         (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay):
288         (WebCore::CCHeadsUpDisplay::drawFPSCounter):
289         (WebCore::CCHeadsUpDisplay::onFrameBegin):
290         (WebCore::CCHeadsUpDisplay::onPresent):
291         * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
292
293 2011-04-28  Beth Dakin  <bdakin@apple.com>
294
295         Reviewed by Darin Adler.
296
297         https://bugs.webkit.org/show_bug.cgi?id=59759
298         Overflow:scroll regions with overlay scrollbars show full thumb instead of just a 
299         track when there is nothing to scroll to
300         <rdar://problem/9282066>
301
302         Scrollbar::totalSize() and Scrollbar::visibleSize() are the same when there is 
303         nothing to scroll to. Just dividing them to get a knob proportion yields 1, which 
304         is not right. Set the proportion to 0 in this case instead.
305         * platform/mac/ScrollbarThemeMac.mm:
306         (WebCore::ScrollbarThemeMac::paint):
307
308 2011-04-28  Dan Bernstein  <mitz@apple.com>
309
310         Reviewed by Simon Fraser.
311
312         <rdar://problem/9291132> Add support for -epub-prefixed properties
313
314         Test: fast/css/epub-properties.html
315
316         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
317         (WebCore::cssPropertyName): Map "epub"-prefixed properties to "-epub"-prefixed ones.
318         * css/CSSPropertyNames.in: Added -epub- aliases to caption-side, -webkit-hyphens, -webkit-text-combine,
319         -webkit-text-emphasis, -webkit-text-emphasis-color, -webkit-text-emphasis-style, -webkit-text-orientation,
320         text-transform, text-transform, word-break, and -webkit-writing-mode.
321
322 2011-04-28  Adam Barth  <abarth@webkit.org>
323
324         Reviewed by Eric Seidel.
325
326         Remove WML
327         https://bugs.webkit.org/show_bug.cgi?id=59678
328
329         This patch removes WML from WebCore.  After removing WML, there's a
330         bunch of twisted code that could be untwisted, but this patch contains
331         only the purely mechanical part of removing the feature.
332
333         There's been a lot of discussion on webkit-dev about whether we should
334         remove WML.  In addition to those threads, we've had an informal poll
335         of the reviewers as well as an in-person discussion at the WebKit
336         contributor's meeting.  Removing any feature is likely to make some
337         folks unhappy, but, on balance, removing WML appears to be the right
338         thing for the project to do at this time.
339
340         * CMakeLists.txt:
341         * CodeGenerators.pri:
342         * Configurations/FeatureDefines.xcconfig:
343         * DerivedSources.cpp:
344         * DerivedSources.make:
345         * GNUmakefile.am:
346         * GNUmakefile.list.am:
347         * WebCore.gyp/WebCore.gyp:
348         * WebCore.gypi:
349         * WebCore.pro:
350         * WebCore.vcproj/WebCore.vcproj:
351         * WebCore.xcodeproj/project.pbxproj:
352         * css/CSSStyleSelector.cpp:
353         (WebCore::linkAttribute):
354         (WebCore::CSSStyleSelector::styleForElement):
355         (WebCore::CSSStyleSelector::adjustRenderStyle):
356         * css/wml.css: Removed.
357         * dom/DOMImplementation.cpp:
358         (WebCore::DOMImplementation::createDocument):
359         * dom/Document.cpp:
360         (WebCore::Document::Document):
361         (WebCore::Document::createElement):
362         * dom/Document.h:
363         (WebCore::Document::isMediaDocument):
364         * dom/Document.idl:
365         * dom/InputElement.h:
366         * dom/Node.cpp:
367         (WebCore::Node::toInputElement):
368         * dom/Node.h:
369         * dom/OptionElement.cpp:
370         (WebCore::toOptionElement):
371         (WebCore::isOptionElement):
372         * dom/OptionElement.h:
373         * dom/OptionGroupElement.cpp:
374         (WebCore::toOptionGroupElement):
375         (WebCore::isOptionGroupElement):
376         * dom/SelectElement.cpp:
377         (WebCore::toSelectElement):
378         * dom/SelectElement.h:
379         * dom/Text.cpp:
380         (WebCore::Text::attach):
381         * dom/XMLDocumentParser.cpp:
382         (WebCore::XMLDocumentParser::insertErrorMessageBlock):
383         * dom/XMLDocumentParser.h:
384         * dom/XMLDocumentParserLibxml2.cpp:
385         (WebCore::XMLDocumentParser::internalSubset):
386         (WebCore::getEntityHandler):
387         * dom/XMLDocumentParserQt.cpp:
388         (WebCore::XMLDocumentParser::parse):
389         (WebCore::XMLDocumentParser::parseDtd):
390         * editing/htmlediting.cpp:
391         (WebCore::canHaveChildrenForEditing):
392         * features.pri:
393         * history/BackForwardList.h:
394         * history/BackForwardListImpl.cpp:
395         * history/BackForwardListImpl.h:
396         * history/PageCache.cpp:
397         (WebCore::PageCache::canCachePageContainingThisFrame):
398         * html/HTMLAnchorElement.h:
399         * inspector/ConsoleMessage.cpp:
400         (WebCore::messageSourceValue):
401         * inspector/front-end/ConsoleView.js:
402         (WebInspector.ConsoleMessage.prototype.toString):
403         * loader/FrameLoader.cpp:
404         (WebCore::isBackForwardLoadType):
405         (WebCore::FrameLoader::transitionToCommitted):
406         (WebCore::FrameLoader::shouldReload):
407         (WebCore::FrameLoader::loadDifferentDocumentItem):
408         (WebCore::FrameLoader::loadItem):
409         * loader/FrameLoaderTypes.h:
410         * loader/HistoryController.cpp:
411         (WebCore::HistoryController::restoreDocumentState):
412         * manual-tests/wml: Removed.
413         * manual-tests/wml/StartTests.wml: Removed.
414         * manual-tests/wml/a-br-element.wml: Removed.
415         * manual-tests/wml/a-element.wml: Removed.
416         * manual-tests/wml/a-img-element.wml: Removed.
417         * manual-tests/wml/access-target.wml: Removed.
418         * manual-tests/wml/anchor-br-element.wml: Removed.
419         * manual-tests/wml/anchor-element.wml: Removed.
420         * manual-tests/wml/anchor-img-element.wml: Removed.
421         * manual-tests/wml/card-newcontext-attr.wml: Removed.
422         * manual-tests/wml/card-onenterbackward.wml: Removed.
423         * manual-tests/wml/card-onenterforward.wml: Removed.
424         * manual-tests/wml/card-ontimer.wml: Removed.
425         * manual-tests/wml/deck-access-control.wml: Removed.
426         * manual-tests/wml/input-format.wml: Removed.
427         * manual-tests/wml/onevent-go.wml: Removed.
428         * manual-tests/wml/onevent-noop.wml: Removed.
429         * manual-tests/wml/onevent-prev.wml: Removed.
430         * manual-tests/wml/onevent-refresh.wml: Removed.
431         * manual-tests/wml/onevent-shadow.wml: Removed.
432         * manual-tests/wml/resources: Removed.
433         * manual-tests/wml/resources/smiley.png: Removed.
434         * manual-tests/wml/select-element.wml: Removed.
435         * manual-tests/wml/select-onpick-event-crash.wml: Removed.
436         * manual-tests/wml/select-onpick-event.wml: Removed.
437         * manual-tests/wml/setvar-element.wml: Removed.
438         * manual-tests/wml/targetdeck.wml: Removed.
439         * manual-tests/wml/task-go-in-anchor.wml: Removed.
440         * manual-tests/wml/task-prev-in-anchor.wml: Removed.
441         * manual-tests/wml/task-refresh-in-anchor.wml: Removed.
442         * manual-tests/wml/template-go.wml: Removed.
443         * manual-tests/wml/template-ontimer.wml: Removed.
444         * manual-tests/wml/timer.wml: Removed.
445         * manual-tests/wml/variable-substitution.wml: Removed.
446         * page/Console.cpp:
447         (WebCore::printMessageSourceAndLevelPrefix):
448         * page/Console.h:
449         * page/Frame.cpp:
450         (WebCore::Frame::Frame):
451         * page/Page.cpp:
452         * page/Page.h:
453         * platform/MIMETypeRegistry.cpp:
454         (WebCore::initializeSupportedNonImageMimeTypes):
455         * platform/network/FormDataBuilder.h:
456         * platform/network/mac/ResourceHandleMac.mm:
457         (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
458         * platform/wince/MIMETypeRegistryWinCE.cpp:
459         (WebCore::initMIMETypeEntensionMap):
460         * rendering/HitTestResult.cpp:
461         (WebCore::HitTestResult::altDisplayString):
462         (WebCore::HitTestResult::absoluteImageURL):
463         (WebCore::HitTestResult::absoluteLinkURL):
464         (WebCore::HitTestResult::isLiveLink):
465         * rendering/RenderBox.cpp:
466         * rendering/RenderButton.cpp:
467         (WebCore::RenderButton::updateFromElement):
468         * rendering/RenderFieldset.cpp:
469         (WebCore::RenderFieldset::findLegend):
470         * rendering/RenderImage.cpp:
471         (WebCore::RenderImage::updateAltText):
472         * rendering/RenderObject.cpp:
473         (WebCore::RenderObject::isLegend):
474         (WebCore::RenderObject::offsetParent):
475         * wml: Removed.
476         * wml/WMLAElement.cpp: Removed.
477         * wml/WMLAElement.h: Removed.
478         * wml/WMLAccessElement.cpp: Removed.
479         * wml/WMLAccessElement.h: Removed.
480         * wml/WMLAnchorElement.cpp: Removed.
481         * wml/WMLAnchorElement.h: Removed.
482         * wml/WMLAttributeNames.in: Removed.
483         * wml/WMLBRElement.cpp: Removed.
484         * wml/WMLBRElement.h: Removed.
485         * wml/WMLCardElement.cpp: Removed.
486         * wml/WMLCardElement.h: Removed.
487         * wml/WMLDoElement.cpp: Removed.
488         * wml/WMLDoElement.h: Removed.
489         * wml/WMLDocument.cpp: Removed.
490         * wml/WMLDocument.h: Removed.
491         * wml/WMLElement.cpp: Removed.
492         * wml/WMLElement.h: Removed.
493         * wml/WMLErrorHandling.cpp: Removed.
494         * wml/WMLErrorHandling.h: Removed.
495         * wml/WMLEventHandlingElement.cpp: Removed.
496         * wml/WMLEventHandlingElement.h: Removed.
497         * wml/WMLFieldSetElement.cpp: Removed.
498         * wml/WMLFieldSetElement.h: Removed.
499         * wml/WMLFormControlElement.cpp: Removed.
500         * wml/WMLFormControlElement.h: Removed.
501         * wml/WMLGoElement.cpp: Removed.
502         * wml/WMLGoElement.h: Removed.
503         * wml/WMLImageElement.cpp: Removed.
504         * wml/WMLImageElement.h: Removed.
505         * wml/WMLImageLoader.cpp: Removed.
506         * wml/WMLImageLoader.h: Removed.
507         * wml/WMLInputElement.cpp: Removed.
508         * wml/WMLInputElement.h: Removed.
509         * wml/WMLInsertedLegendElement.cpp: Removed.
510         * wml/WMLInsertedLegendElement.h: Removed.
511         * wml/WMLIntrinsicEvent.cpp: Removed.
512         * wml/WMLIntrinsicEvent.h: Removed.
513         * wml/WMLIntrinsicEventHandler.cpp: Removed.
514         * wml/WMLIntrinsicEventHandler.h: Removed.
515         * wml/WMLMetaElement.cpp: Removed.
516         * wml/WMLMetaElement.h: Removed.
517         * wml/WMLNoopElement.cpp: Removed.
518         * wml/WMLNoopElement.h: Removed.
519         * wml/WMLOnEventElement.cpp: Removed.
520         * wml/WMLOnEventElement.h: Removed.
521         * wml/WMLOptGroupElement.cpp: Removed.
522         * wml/WMLOptGroupElement.h: Removed.
523         * wml/WMLOptionElement.cpp: Removed.
524         * wml/WMLOptionElement.h: Removed.
525         * wml/WMLPElement.cpp: Removed.
526         * wml/WMLPElement.h: Removed.
527         * wml/WMLPageState.cpp: Removed.
528         * wml/WMLPageState.h: Removed.
529         * wml/WMLPostfieldElement.cpp: Removed.
530         * wml/WMLPostfieldElement.h: Removed.
531         * wml/WMLPrevElement.cpp: Removed.
532         * wml/WMLPrevElement.h: Removed.
533         * wml/WMLRefreshElement.cpp: Removed.
534         * wml/WMLRefreshElement.h: Removed.
535         * wml/WMLSelectElement.cpp: Removed.
536         * wml/WMLSelectElement.h: Removed.
537         * wml/WMLSetvarElement.cpp: Removed.
538         * wml/WMLSetvarElement.h: Removed.
539         * wml/WMLTableElement.cpp: Removed.
540         * wml/WMLTableElement.h: Removed.
541         * wml/WMLTagNames.in: Removed.
542         * wml/WMLTaskElement.cpp: Removed.
543         * wml/WMLTaskElement.h: Removed.
544         * wml/WMLTemplateElement.cpp: Removed.
545         * wml/WMLTemplateElement.h: Removed.
546         * wml/WMLTimerElement.cpp: Removed.
547         * wml/WMLTimerElement.h: Removed.
548         * wml/WMLVariables.cpp: Removed.
549         * wml/WMLVariables.h: Removed.
550
551 2011-04-28  Sheriff Bot  <webkit.review.bot@gmail.com>
552
553         Unreviewed, rolling out r85233 and r85235.
554         http://trac.webkit.org/changeset/85233
555         http://trac.webkit.org/changeset/85235
556         https://bugs.webkit.org/show_bug.cgi?id=59754
557
558         Causes issues with jsc. (Requested by dave_levin on #webkit).
559
560         * ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Removed.
561         * loader/icon/IconDatabase.cpp:
562         (WebCore::IconDatabase::defaultIcon):
563         (WebCore::IconDatabase::setIconDataForIconURL):
564         (WebCore::IconDatabase::getOrCreateIconRecord):
565         (WebCore::IconDatabase::readFromDatabase):
566
567 2011-04-28  Jay Civelli  <jcivelli@chromium.org>
568
569         Reviewed by Adam Barth.
570
571         Introducing a new class that allows serialization of a page back
572         to HTML/XML with all its sub-frames and also retrieves the page's
573         resources.
574         Tests: unit-tests in chromium/tests/WebPageNewSerializerTest.cpp
575         https://bugs.webkit.org/show_bug.cgi?id=58947
576
577         * Android.mk:
578         * CMakeLists.txt:
579         * GNUmakefile.list.am:
580         * WebCore.gypi:
581         * WebCore.pro:
582         * WebCore.vcproj/WebCore.vcproj:
583         * dom/Document.cpp:
584         (WebCore::Document::suggestedMIMEType):
585         * dom/Document.h:
586         * editing/MarkupAccumulator.cpp:
587         (WebCore::MarkupAccumulator::appendCustomAttributes):
588         (WebCore::MarkupAccumulator::appendElement):
589         * editing/MarkupAccumulator.h:
590         * html/parser/HTMLMetaCharsetParser.cpp:
591         (WebCore::HTMLMetaCharsetParser::processMeta):
592         (WebCore::HTMLMetaCharsetParser::encodingFromMetaAttributes):
593         * html/parser/HTMLMetaCharsetParser.h:
594         * page/PageSerializer.cpp: Added.
595         * page/PageSerializer.h: Added.
596
597 2011-04-28  Mark Pilgrim  <pilgrim@chromium.org>
598
599         Reviewed by Tony Chang.
600
601         IndexedDB createIndex should fail if name arg is null
602         https://bugs.webkit.org/show_bug.cgi?id=58365
603
604         Test: storage/indexeddb/mozilla/create-index-null-name.html
605
606         * storage/IDBObjectStore.idl:
607         * storage/IDBObjectStoreBackendImpl.cpp:
608         (WebCore::IDBObjectStoreBackendImpl::createIndex):
609
610 2011-04-28  Mark Pilgrim  <pilgrim@chromium.org>
611
612         Reviewed by Tony Chang.
613
614         IndexedDB put() should fail if second (key) parameter is null
615         https://bugs.webkit.org/show_bug.cgi?id=58613
616
617         If key arg is not specified, prpKey ends up as a null pointer in ::put().
618         However, if the key arg is specified but is null, prpKey ends up as a
619         valid IDBKey which has a null key type. As it happens, we need to be able
620         to detect the difference between these cases (the key arg is optional but
621         if specified must not be null).
622
623         Test: storage/indexeddb/mozilla/key-requirements-put-null-key.html
624
625         * storage/IDBObjectStoreBackendImpl.cpp:
626         (WebCore::IDBObjectStoreBackendImpl::put):
627
628 2011-04-07  David Levin  <levin@chromium.org>
629
630         Reviewed by Darin Adler.
631
632         Add asserts to RefCounted to make sure ref/deref happens on the right thread.
633         https://bugs.webkit.org/show_bug.cgi?id=31639
634
635         No new functionality exposed so no new tests. (The change is basically adding
636         more testing.)
637
638         * ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Added.
639         * loader/icon/IconDatabase.cpp:
640         (WebCore::IconDatabase::defaultIcon): Set the mutex which does the guarding of the variable.
641         (WebCore::IconDatabase::getOrCreateIconRecord): Ditto.
642         (WebCore::IconDatabase::setIconDataForIconURL): Ditto.
643         (WebCore::IconDatabase::readFromDatabase): Ditto.
644
645 2011-04-28  Kenneth Russell  <kbr@google.com>
646
647         Unreviewed build fix for Web Audio with strict OwnPtr.
648
649         * platform/audio/HRTFDatabaseLoader.cpp:
650         (WebCore::HRTFDatabaseLoader::HRTFDatabaseLoader):
651
652 2011-04-28  Dominic Cooney  <dominicc@chromium.org>
653
654         Reviewed by Geoffrey Garen.
655
656         Walk shadow hosts as well as parent nodes when finding opaque roots.
657         https://bugs.webkit.org/show_bug.cgi?id=59571
658
659         Test: fast/dom/shadow/gc-shadow.html
660
661         * bindings/js/JSDOMBinding.h:
662         (WebCore::root):
663
664 2011-04-28  Martin Robinson  <mrobinson@igalia.com>
665
666         Reviewed by Xan Lopez.
667
668         [GTK] Click counting logic should be shared between WebKit1 and WebKit2
669         https://bugs.webkit.org/show_bug.cgi?id=59715
670
671         Added a GtkClickCounter class which is just the logic from WebKit1 pushed down
672         into WebCore so that WebKit1 and WebKit2 can share the code.
673
674         No new tests. This is covered by fast/events/click-count.html.
675
676         * GNUmakefile.list.am: Added new files.
677         * platform/gtk/GtkClickCounter.cpp: Added.
678         (WebCore::GtkClickCounter::GtkClickCounter): Added.
679         (WebCore::GtkClickCounter::reset): Added.
680         (WebCore::GtkClickCounter::shouldProcessButtonEvent): Added.
681         (WebCore::getEventTime): Added.
682         (WebCore::GtkClickCounter::clickCountForGdkButtonEvent): Added.
683         * platform/gtk/GtkClickCounter.h: Added.
684
685 2011-04-28  Dan Bernstein  <mitz@apple.com>
686
687         Build fix.
688
689         * css/CSSParser.cpp:
690         (WebCore::cssPropertyID):
691
692 2011-04-28  Dan Bernstein  <mitz@apple.com>
693
694         Reviewed by Simon Fraser.
695
696         Allow specifying CSS property aliases in CSSPropertyNames.in files
697         https://bugs.webkit.org/show_bug.cgi?id=59712
698
699         * css/CSSParser.cpp:
700         (WebCore::cssPropertyID): Removed code to handle some aliases
701         * css/CSSPropertyNames.in: Added aliases no longer handled in code.
702         * css/makeprop.pl: Interpret lines of the form "alias-property-name = property-name" as
703         defining an alias, and add an appropriate entry to the gperf file.
704
705 2011-04-28  Arno Renevier  <arno@renevier.net>
706
707         Reviewed by Gustavo Noronha Silva.
708
709         [Soup] does not load css stylesheets without content-type
710         https://bugs.webkit.org/show_bug.cgi?id=59697
711
712         When sniffing content type, do not replace http Content-Type header in
713         soup message anymore, but keep sniffed content type in a separate
714         variable.
715
716         * platform/network/soup/ResourceHandleSoup.cpp:
717         (WebCore::contentSniffedCallback):
718         * platform/network/soup/ResourceResponse.h:
719         (WebCore::ResourceResponse::sniffedContentType):
720         (WebCore::ResourceResponse::setSniffedContentType):
721         * platform/network/soup/ResourceResponseSoup.cpp:
722         (WebCore::ResourceResponse::updateFromSoupMessage):
723
724 2011-04-28  Yael Aharon  <yael.aharon@nokia.com>
725
726         Reviewed by Andreas Kling.
727
728         Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
729         https://bugs.webkit.org/show_bug.cgi?id=59704
730
731         No new tests, just code cleanup.
732
733         * WebCore.pri:
734
735 2011-04-28  Pavel Podivilov  <podivilov@chromium.org>
736
737         Reviewed by Pavel Feldman.
738
739         Web Inspector: remove "Pretty print" source frame context menu item.
740         https://bugs.webkit.org/show_bug.cgi?id=59709
741
742         * inspector/front-end/DebuggerPresentationModel.js:
743         (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
744         * inspector/front-end/ScriptsPanel.js:
745         (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles):
746         * inspector/front-end/SourceFrame.js:
747         (WebInspector.SourceFrame.prototype.populateTextAreaContextMenu):
748
749 2011-04-28  Satish Sampath  <satish@chromium.org>
750
751         Reviewed by Tony Gentilcore.
752
753         Speech input button layout issues with padding and border.
754         https://bugs.webkit.org/show_bug.cgi?id=59613
755
756         * rendering/RenderTextControlSingleLine.cpp:
757         (WebCore::RenderTextControlSingleLine::layout):
758         (WebCore::RenderTextControlSingleLine::nodeAtPoint):
759         (WebCore::RenderTextControlSingleLine::forwardEvent):
760
761 2011-04-28  Carlos Garcia Campos  <cgarcia@igalia.com>
762
763         Reviewed by Martin Robinson.
764
765         [GTK] Check whether to use native scrollbars at run time
766         https://bugs.webkit.org/show_bug.cgi?id=59694
767
768         It's currently decided at build time depending on whether webkit2
769         build is enabled or not. That makes imposible to build both
770         webkit1 and webkit2 using the same libWebCore.
771
772         * GNUmakefile.am:
773         * platform/ScrollView.cpp:
774         (WebCore::ScrollView::wheelEvent):
775         * platform/gtk/ScrollViewGtk.cpp:
776         (WebCore::ScrollView::createScrollbar):
777
778 2011-04-28  Pavel Feldman  <pfeldman@google.com>
779
780         Reviewed by Yury Semikhatsky.
781
782         Web Inspector: add status bar button for pretty print.
783         https://bugs.webkit.org/show_bug.cgi?id=59467
784
785         * WebCore.gypi:
786         * inspector/front-end/Images/prettyPrintButtonGlyph.png: Added.
787         * inspector/front-end/ScriptsPanel.js:
788         (WebInspector.ScriptsPanel):
789         (WebInspector.ScriptsPanel.prototype.get statusBarItems):
790         (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles):
791         * inspector/front-end/WebKit.qrc:
792         * inspector/front-end/inspector.css:
793         (.scripts-toggle-pretty-print-status-bar-item .glyph):
794         (.scripts-toggle-pretty-print-status-bar-item.toggled .glyph):
795
796 2011-04-28  Pavel Feldman  <pfeldman@google.com>
797
798         Reviewed by Yury Semikhatsky.
799
800         Web Inspector: add ResourceTreeModel tests.
801         https://bugs.webkit.org/show_bug.cgi?id=59616
802
803         Tests: http/tests/inspector/resource-tree/resource-tree-document-url.html
804                http/tests/inspector/resource-tree/resource-tree-frame-navigate.html
805                http/tests/inspector/resource-tree/resource-tree-reload.html
806
807         * inspector/front-end/ResourceTreeModel.js:
808         (WebInspector.ResourceTreeModel.prototype.frontendReused):
809         (WebInspector.ResourceTreeModel.prototype._addFrame):
810         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
811         (WebInspector.ResourceTreeModel.prototype._frameDetached):
812         (WebInspector.ResourceTreeModel.prototype._onResourceUpdated):
813         (WebInspector.ResourceTreeModel.prototype.forAllResources):
814         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
815         (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
816         (WebInspector.ResourceTreeModel.prototype._addFramesRecursively):
817         * inspector/front-end/ResourcesPanel.js:
818         (WebInspector.ResourcesPanel.prototype._populateResourceTree):
819         (WebInspector.ResourcesPanel.prototype._frameAdded):
820         (WebInspector.ResourcesPanel.prototype._frameDetached):
821         (WebInspector.ResourcesPanel.prototype._frameNavigated):
822         (WebInspector.FrameTreeElement):
823         (WebInspector.FrameTreeElement.prototype.frameNavigated):
824
825 2011-04-28  Mikhail Naganov  <mnaganov@chromium.org>
826
827         Reviewed by Yury Semikhatsky.
828
829         WebInspector: [Chromium] Implement retaining paths following in detailed heap snapshots.
830         https://bugs.webkit.org/show_bug.cgi?id=59592
831
832         * inspector/front-end/DetailedHeapshotGridNodes.js:
833         (WebInspector.HeapSnapshotGridNode.prototype._populate):
834         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved):
835         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.callSerialize):
836         (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
837         * inspector/front-end/DetailedHeapshotView.js:
838         (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute.nextStep.else.afterExpand):
839         (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute):
840         (WebInspector.HeapSnapshotRetainingPathsList.prototype.showNext.pathFound):
841         (WebInspector.DetailedHeapshotView.prototype._mouseClickInRetainmentGrid.expandRoute):
842         (WebInspector.DetailedHeapshotView.prototype._mouseClickInRetainmentGrid):
843         (WebInspector.DetailedHeapshotView.prototype.changeView.sortingComplete):
844         (WebInspector.DetailedHeapshotView.prototype.changeView):
845         * inspector/front-end/HeapSnapshot.js:
846         (WebInspector.HeapSnapshotPathFinder.prototype.findNext):
847         (WebInspector.HeapSnapshotPathFinder.prototype._nextEdgeIter):
848         (WebInspector.HeapSnapshotPathFinder.prototype._buildNextPath):
849         (WebInspector.HeapSnapshotPathFinder.prototype._pathToString):
850         (WebInspector.HeapSnapshotPathFinder.prototype._pathToRoute):
851         * inspector/front-end/heapProfiler.css:
852         (div.retaining-paths-view td.path-column div:hover):
853
854 2011-04-28  Mikhail Naganov  <mnaganov@chromium.org>
855
856         Reviewed by Yury Semikhatsky.
857
858         Web Inspector: [Chromium] Optimize detailed heap snapshots loading / parsing.
859         https://bugs.webkit.org/show_bug.cgi?id=59454
860
861         Test: inspector/profiler/heap-snapshot-loader.html
862
863         * inspector/front-end/HeapSnapshot.js:
864         (WebInspector.HeapSnapshotLoader):
865         (WebInspector.HeapSnapshotLoader.prototype._findBalancedCurlyBrackets):
866         (WebInspector.HeapSnapshotLoader.prototype.finishLoading):
867         (WebInspector.HeapSnapshotLoader.prototype._parseNodes):
868         (WebInspector.HeapSnapshotLoader.prototype._parseStringsArray):
869         (WebInspector.HeapSnapshotLoader.prototype.pushJSONChunk):
870         * inspector/front-end/HeapSnapshotProxy.js:
871         (WebInspector.HeapSnapshotFakeWorker.prototype.postMessage):
872
873 2011-04-28  ojab  <ojab@ojab.ru>
874
875         Reviewed by David Levin.
876
877         Fix build with libpng-1.5.1
878         https://bugs.webkit.org/show_bug.cgi?id=59607
879
880         * platform/image-decoders/png/PNGImageDecoder.cpp:
881         (WebCore::readColorProfile):
882
883 2011-04-28  Zoltan Herczeg  <zherczeg@inf.u-szeged.hu>
884
885         Reviewed by Nikolas Zimmermann.
886
887         Optimizing gaussian blur filter to ARM-neon SIMD instruction set
888         https://bugs.webkit.org/show_bug.cgi?id=59447
889
890         This patch contains two sub-routines, one for speeding up
891         alpha channel only gaussian blur (by 2.5 times) and one
892         for speeding up all channel blur (by 4 times).
893
894         The common code is also redesigned to better fit for platform
895         specific code. This means large chunks of code was moved to
896         different files, and all platform specific files are added to
897         all build systems.
898
899         * CMakeLists.txt:
900         * GNUmakefile.am:
901         * GNUmakefile.list.am:
902         * WebCore.gypi:
903         * WebCore.pro:
904         * WebCore.vcproj/WebCore.vcproj:
905         * WebCore.vcproj/WebCoreCommon.vsprops:
906         * WebCore.xcodeproj/project.pbxproj:
907         * platform/graphics/filters/FEGaussianBlur.cpp:
908         (WebCore::FEGaussianBlur::platformApplyGeneric):
909         (WebCore::FEGaussianBlur::apply):
910         * platform/graphics/filters/FEGaussianBlur.h:
911         (WebCore::FEGaussianBlur::kernelPosition):
912         (WebCore::FEGaussianBlur::platformApply):
913         * platform/graphics/filters/FELighting.cpp:
914         (WebCore::FELighting::platformApplyGeneric):
915         (WebCore::FELighting::drawLighting):
916         * platform/graphics/filters/FELighting.h:
917         (WebCore::FELighting::platformApply):
918         * platform/graphics/filters/arm/FEGaussianBlurNEON.cpp: Added.
919         (WebCore::WTF_ALIGNED):
920         (WebCore::feGaussianBlurConstantsForNeon):
921         * platform/graphics/filters/arm/FEGaussianBlurNEON.h: Added.
922         (WebCore::FEGaussianBlur::platformApplyNeon):
923         * platform/graphics/filters/arm/FELightingNEON.cpp:
924         (WebCore::WTF_ALIGNED):
925         (WebCore::FELighting::getPowerCoefficients):
926         * platform/graphics/filters/arm/FELightingNEON.h:
927         (WebCore::FELighting::platformApplyNeon):
928
929 2011-04-28  Alexander Pavlov  <apavlov@chromium.org>
930
931         Reviewed by Yury Semikhatsky.
932
933         Web Inspector: provide a hotkey for script pause
934         https://bugs.webkit.org/show_bug.cgi?id=59593
935
936         In fact, F8 works as a hotkey, but this fact was not reflected
937         in the shortcut help popup.
938
939         * English.lproj/localizedStrings.js:
940         * inspector/front-end/ScriptsPanel.js:
941         (WebInspector.ScriptsPanel.prototype._registerShortcuts):
942
943 2011-04-28  Adam Barth  <abarth@webkit.org>
944
945         Reviewed by Eric Seidel.
946
947         PluginStream should play nice with strict OwnPtr
948         https://bugs.webkit.org/show_bug.cgi?id=59675
949
950         These failures appear when enabling strict OwnPtr on Qt.
951
952         * plugins/PluginStream.cpp:
953         (WebCore::PluginStream::PluginStream):
954         (WebCore::PluginStream::didReceiveData):
955
956 2011-04-26  Alexander Pavlov  <apavlov@chromium.org>
957
958         Reviewed by Pavel Feldman.
959
960         Web Inspector: Use CachedResource to retrieve charset-decoded stylesheet text
961         https://bugs.webkit.org/show_bug.cgi?id=59326
962
963         Concrete CachedResource successors for stylesheets and scripts
964         can decode their content better than the generic approach we use.
965
966         * inspector/InspectorPageAgent.cpp:
967         (WebCore::decodeSharedBuffer):
968         (WebCore::prepareCachedResourceBuffer):
969         (WebCore::cachedResourceDecoded):
970         (WebCore::InspectorPageAgent::resourceContent):
971         (WebCore::InspectorPageAgent::resourceData):
972         * inspector/InspectorStyleSheet.cpp:
973         (WebCore::InspectorStyleSheet::originalStyleSheetText):
974
975 2011-04-28  Jon Lee  <jonlee@apple.com>
976
977         Reviewed by Simon Fraser.
978
979         REGRESSION: white overlay scrollbars on apple.com/startpage
980         https://bugs.webkit.org/show_bug.cgi?id=59540
981         <rdar://problem/9338653>
982
983         Now we look at the document background in addition to the <body> element,
984         and blend those colors in with the base background of the frame view to
985         arrive at our aggregate color. This provides a better result to determine
986         overlay scrollbar style.
987
988         * page/Frame.cpp:
989         (WebCore::Frame::getDocumentBackgroundColor): look up the colors on the html and body element, and properly composite them.
990         * platform/graphics/Color.h: a short comment to note that blend() uses the Porter-Duff source-over equation
991
992 2011-04-27  Adam Barth  <abarth@webkit.org>
993
994         Reviewed by Maciej Stachowiak.
995
996         Fix OwnPtr issues in IndexedDB
997         https://bugs.webkit.org/show_bug.cgi?id=59656
998
999         This patch is an attempt to fix the clang build.  Clang can't seem to
1000         cope with OwnPtrs to classes declared in an anonymous namespace because
1001         OwnPtr's copy constructor isn't defined (but would need to be defined
1002         in this translation unit).
1003
1004         * platform/leveldb/LevelDBDatabase.cpp:
1005
1006 2011-04-27  Ryuan Choi  <ryuan.choi@samsung.com>
1007
1008         Reviewed by Antonio Gomes.
1009
1010         [EFL] Change cursor to LAZY_NATIVE_CURSOR
1011         https://bugs.webkit.org/show_bug.cgi?id=59411
1012
1013         Enable LAZY_NATIVE_CURSOR on EFL build.
1014
1015         No test added because functionality is unchanged.
1016
1017         * CMakeListsEfl.txt: Add Cursor.cpp
1018         * platform/Cursor.h:
1019         (WebCore::Cursor::Cursor):
1020         * platform/efl/CursorEfl.cpp:
1021         (WebCore::Cursor::Cursor):
1022         (WebCore::Cursor::~Cursor):
1023         (WebCore::getCursorString):
1024         (WebCore::Cursor::ensurePlatformCursor):
1025         * platform/efl/WidgetEfl.cpp:
1026         (WebCore::Widget::setCursor):
1027
1028 2011-04-27  Adam Barth  <abarth@webkit.org>
1029
1030         Build fix from the future.  Another trival strict OwnPtr fixes.  This
1031         is the last futuristic build fix I can detect with my time traveling
1032         abilities.
1033
1034         * platform/graphics/chromium/TransparencyWin.cpp:
1035         (WebCore::TransparencyWin::initializeNewContext):
1036
1037 2011-04-27  Dmitry Lomov  <dslomov@google.com>
1038
1039         Reviewed by David Levin.
1040
1041         CrossThreadCopier should not have a default specialization for raw pointers
1042         https://bugs.webkit.org/show_bug.cgi?id=59234
1043         Removed the ablity to pass raw pointers cross-thread
1044         Added and applied annotations for doing that
1045
1046         * fileapi/FileReader.cpp:
1047         (WebCore::FileReader::readInternal):
1048         (WebCore::FileReader::abort):
1049         * fileapi/FileStreamProxy.cpp:
1050         (WebCore::FileStreamProxy::startOnFileThread):
1051         (WebCore::FileStreamProxy::stopOnFileThread):
1052         (WebCore::FileStreamProxy::getSize):
1053         (WebCore::FileStreamProxy::getSizeOnFileThread):
1054         (WebCore::FileStreamProxy::openForRead):
1055         (WebCore::FileStreamProxy::openForReadOnFileThread):
1056         (WebCore::FileStreamProxy::openForWrite):
1057         (WebCore::FileStreamProxy::openForWriteOnFileThread):
1058         (WebCore::FileStreamProxy::close):
1059         (WebCore::FileStreamProxy::read):
1060         (WebCore::FileStreamProxy::readOnFileThread):
1061         (WebCore::FileStreamProxy::write):
1062         (WebCore::FileStreamProxy::writeOnFileThread):
1063         (WebCore::FileStreamProxy::truncate):
1064         (WebCore::FileStreamProxy::truncateOnFileThread):
1065         * loader/WorkerThreadableLoader.cpp:
1066         (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge):
1067         (WebCore::WorkerThreadableLoader::MainThreadBridge::destroy):
1068         (WebCore::WorkerThreadableLoader::MainThreadBridge::cancel):
1069         * page/GeolocationPositionCache.cpp:
1070         (WebCore::GeolocationPositionCache::triggerReadFromDatabase):
1071         (WebCore::GeolocationPositionCache::triggerWriteToDatabase):
1072         * platform/CrossThreadCopier.h:
1073         (WebCore::AllowCrossThreadAccessWrapper::AllowCrossThreadAccessWrapper):
1074         (WebCore::AllowCrossThreadAccessWrapper::value):
1075         (WebCore::AllowCrossThreadAccess):
1076         (WebCore::AllowExtendedLifetimeWrapper::AllowExtendedLifetimeWrapper):
1077         (WebCore::AllowExtendedLifetimeWrapper::value):
1078         (WebCore::AllowExtendedLifetime):
1079         * platform/graphics/chromium/cc/CCCompletionEvent.h:
1080         * storage/IDBObjectStoreBackendImpl.cpp:
1081         (WebCore::IDBObjectStoreBackendImpl::get):
1082         (WebCore::IDBObjectStoreBackendImpl::put):
1083         (WebCore::IDBObjectStoreBackendImpl::deleteFunction):
1084         (WebCore::IDBObjectStoreBackendImpl::clear):
1085         (WebCore::IDBObjectStoreBackendImpl::createIndex):
1086         (WebCore::IDBObjectStoreBackendImpl::deleteIndex):
1087         (WebCore::IDBObjectStoreBackendImpl::openCursor):
1088         * storage/SQLCallbackWrapper.h:
1089         (WebCore::SQLCallbackWrapper::clear):
1090         * websockets/WorkerThreadableWebSocketChannel.cpp:
1091         (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
1092         (WebCore::WorkerThreadableWebSocketChannel::Bridge::Bridge):
1093         (WebCore::WorkerThreadableWebSocketChannel::Bridge::connect):
1094         (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
1095         (WebCore::WorkerThreadableWebSocketChannel::Bridge::bufferedAmount):
1096         (WebCore::WorkerThreadableWebSocketChannel::Bridge::close):
1097         (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
1098         (WebCore::WorkerThreadableWebSocketChannel::Bridge::suspend):
1099         (WebCore::WorkerThreadableWebSocketChannel::Bridge::resume):
1100         * workers/WorkerMessagingProxy.cpp:
1101         (WebCore::WorkerMessagingProxy::postConsoleMessageToWorkerObject):
1102
1103 2011-04-27  Adam Barth  <abarth@webkit.org>
1104
1105         Two build fixes from the future.  (Trivial strict OwnPtr fixes.)
1106
1107         * page/Frame.cpp:
1108         (WebCore::Frame::setTiledBackingStoreEnabled):
1109         * platform/audio/ReverbConvolver.cpp:
1110         (WebCore::ReverbConvolver::ReverbConvolver):
1111
1112 2011-04-27  Adam Barth  <abarth@webkit.org>
1113
1114         Reviewed by David Levin.
1115
1116         Fix five strict PassOwnPtr violations in WebCore
1117         https://bugs.webkit.org/show_bug.cgi?id=59640
1118
1119         * css/MediaList.cpp:
1120         (WebCore::MediaList::deleteMedium):
1121         (WebCore::MediaList::setMediaText):
1122         (WebCore::MediaList::appendMedium):
1123         * css/MediaQuery.h:
1124         * dom/MessagePort.cpp:
1125         (WebCore::MessagePort::disentanglePorts):
1126         (WebCore::MessagePort::entanglePorts):
1127         * inspector/InspectorStyleSheet.cpp:
1128         (ParsedStyleSheet::setText):
1129         * rendering/RenderTheme.cpp:
1130         (WebCore::RenderTheme::adjustStyle):
1131         (WebCore::RenderTheme::adjustMeterStyle):
1132         * rendering/RenderThemeMac.mm:
1133         (WebCore::RenderThemeMac::adjustMenuListStyle):
1134         (WebCore::RenderThemeMac::adjustSliderTrackStyle):
1135         (WebCore::RenderThemeMac::adjustSliderThumbStyle):
1136         (WebCore::RenderThemeMac::adjustSearchFieldStyle):
1137         (WebCore::RenderThemeMac::adjustSearchFieldCancelButtonStyle):
1138         (WebCore::RenderThemeMac::adjustSearchFieldDecorationStyle):
1139         (WebCore::RenderThemeMac::adjustSearchFieldResultsDecorationStyle):
1140         (WebCore::RenderThemeMac::adjustSearchFieldResultsButtonStyle):
1141
1142 2011-04-27  Chris Fleizach  <cfleizach@apple.com>
1143
1144         Reviewed by Beth Dakin.
1145
1146         <rdar://problem/9315254> ARIA role attribute implemented incorrectly; does not support token list with fallbacks
1147         https://bugs.webkit.org/show_bug.cgi?id=59648
1148
1149         Test: accessibility/aria-fallback-roles.html
1150
1151         * accessibility/AccessibilityObject.cpp:
1152         (WebCore::AccessibilityObject::ariaRoleToWebCoreRole):
1153
1154 2011-04-27  Beth Dakin  <bdakin@apple.com>
1155
1156         Reviewed by Dan Bernstein.
1157
1158         https://bugs.webkit.org/show_bug.cgi?id=59671
1159         Race condition with scrollbar animations and closing a page can cause a crash in 
1160         WebCore::FrameView::setVisibleScrollerThumbRect + 15
1161         -and corresponding-
1162         <rdar://problem/9329253>
1163
1164         It is definitely possible for Page to be null here. So we should null-check it! 
1165         And we should not ASSERT.
1166         * page/FrameView.cpp:
1167         (WebCore::FrameView::didCompleteRubberBand):
1168         (WebCore::FrameView::scrollbarStyleChanged):
1169         (WebCore::FrameView::setVisibleScrollerThumbRect):
1170
1171 2011-04-27  Ryosuke Niwa  <rniwa@webkit.org>
1172
1173         WinCE build fix after r85143.
1174
1175         * platform/graphics/wince/FontWinCE.cpp:
1176         (WebCore::TextRunComponent::TextRunComponent):
1177
1178 2011-04-27  Mark Pilgrim  <pilgrim@chromium.org>
1179
1180         Reviewed by Tony Chang.
1181
1182         IndexedDB object store delete should fail if key is null
1183         https://bugs.webkit.org/show_bug.cgi?id=58614
1184
1185         Test: storage/indexeddb/mozilla/key-requirements-delete-null-key.html
1186
1187         * storage/IDBObjectStoreBackendImpl.cpp:
1188         (WebCore::IDBObjectStoreBackendImpl::deleteFunction):
1189
1190 2011-04-27  Eric Seidel  <eric@webkit.org>
1191
1192         Reviewed by Ryosuke Niwa.
1193
1194         Should have an easy way to construct starting BidiStatus for a paragraph root
1195         https://bugs.webkit.org/show_bug.cgi?id=59226
1196
1197         Two places try to construct BidiStatuses for a paragraph root using copy/paste code.
1198         I've made this a constructor for BidiStatus instead.
1199
1200         As part of this effort I added a direction() accessor for TextRun and got
1201         rid of the old m_rtl bool.  This is part of the generic effort in the
1202         Bidi code to replace old bool usage with the superior TextDirection enum
1203         (this generally makes the code cleaner).
1204
1205         As part of this replacement effort I found several places which were
1206         assuming LTR (by passing rtl=false) when they probably want to use
1207         the current text direction.  I suspect that LTR vs. RTL may affect
1208         string width in the case of ligatures.  It's unclear.
1209
1210         This is almost entirely a mechanical change.
1211
1212         * html/canvas/CanvasRenderingContext2D.cpp:
1213         (WebCore::CanvasRenderingContext2D::drawTextInternal):
1214         * platform/graphics/GraphicsContext.cpp:
1215         (WebCore::GraphicsContext::drawBidiText):
1216         * platform/graphics/TextRun.h:
1217         (WebCore::TextRun::TextRun):
1218         (WebCore::TextRun::direction):
1219         (WebCore::TextRun::rtl):
1220         (WebCore::TextRun::ltr):
1221         (WebCore::TextRun::setDirection):
1222         * platform/text/BidiResolver.h:
1223         (WebCore::BidiStatus::BidiStatus):
1224         * rendering/EllipsisBox.cpp:
1225         (WebCore::EllipsisBox::paint):
1226         (WebCore::EllipsisBox::selectionRect):
1227         (WebCore::EllipsisBox::paintSelection):
1228         * rendering/InlineTextBox.cpp:
1229         (WebCore::InlineTextBox::selectionRect):
1230         (WebCore::InlineTextBox::paint):
1231         (WebCore::InlineTextBox::paintSelection):
1232         (WebCore::InlineTextBox::paintCompositionBackground):
1233         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
1234         (WebCore::InlineTextBox::paintTextMatchMarker):
1235         (WebCore::InlineTextBox::computeRectForReplacementMarker):
1236         (WebCore::InlineTextBox::offsetForPosition):
1237         (WebCore::InlineTextBox::positionForOffset):
1238         * rendering/RenderBlockLineLayout.cpp:
1239         (WebCore::RenderBlock::determineStartPosition):
1240         * rendering/RenderFileUploadControl.cpp:
1241         (WebCore::RenderFileUploadControl::paintObject):
1242         (WebCore::RenderFileUploadControl::computePreferredLogicalWidths):
1243         * rendering/RenderListBox.cpp:
1244         (WebCore::RenderListBox::updateFromElement):
1245         (WebCore::RenderListBox::paintItemForeground):
1246         * rendering/RenderTextControl.cpp:
1247         (WebCore::RenderTextControl::getAvgCharWidth):
1248         (WebCore::RenderTextControl::paintPlaceholder):
1249         * rendering/svg/SVGInlineTextBox.cpp:
1250         (WebCore::SVGInlineTextBox::constructTextRun):
1251         * rendering/svg/SVGTextMetrics.cpp:
1252         (WebCore::constructTextRun):
1253
1254 2011-04-27  Robert Hogan  <robert@webkit.org>
1255
1256         Reviewed by Adam Barth.
1257
1258         Allow shadowing of history object
1259         https://bugs.webkit.org/show_bug.cgi?id=55965
1260
1261         Tests: http/tests/history/cross-origin-replace-history-object-child.html
1262                http/tests/history/cross-origin-replace-history-object.html
1263
1264         * page/DOMWindow.idl:
1265
1266 2011-04-27  James Robinson  <jamesr@chromium.org>
1267
1268         Reviewed by Kenneth Russell.
1269
1270         [chromium] Ensure compositing layers are up to date before entering doComposite
1271         https://bugs.webkit.org/show_bug.cgi?id=59159
1272
1273         Adds some assertions to try to catch GraphicsLayer mutations at bad times (such as during
1274         GraphicsLayerClient::paintContents() implementations).
1275
1276         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1277         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
1278         * platform/graphics/chromium/LayerChromium.cpp:
1279         (WebCore::LayerChromium::LayerChromium):
1280         (WebCore::LayerChromium::~LayerChromium):
1281         * platform/graphics/chromium/LayerRendererChromium.cpp:
1282         (WebCore::LayerRendererChromium::updateLayers):
1283         * platform/graphics/chromium/LayerRendererChromium.h:
1284           Add a set of assertions that we aren't creating or destroying LayerChromiums during paintContents
1285
1286 2011-04-27  James Robinson  <jamesr@chromium.org>
1287
1288         Reviewed by Adam Barth.
1289
1290         Fix OwnPtr strict issues in chromium linux build
1291         https://bugs.webkit.org/show_bug.cgi?id=59664
1292
1293         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
1294         (WebCore::ComplexTextController::getNormalizedTextRun):
1295         * platform/graphics/skia/ImageBufferSkia.cpp:
1296         (WebCore::ImageBuffer::ImageBuffer):
1297         * platform/graphics/skia/PlatformContextSkia.cpp:
1298         (WebCore::PlatformContextSkia::PlatformContextSkia):
1299
1300 2011-04-27  Chris Rogers  <crogers@google.com>
1301
1302         Reviewed by Kenneth Russell.
1303
1304         Make sure to set sample-rate of created AudioBus in AudioBus::createBySampleRateConverting()
1305         https://bugs.webkit.org/show_bug.cgi?id=59641
1306
1307         No new tests since audio API is not yet implemented.
1308
1309         * platform/audio/AudioBus.cpp:
1310         (WebCore::AudioBus::createBySampleRateConverting):
1311         (WebCore::AudioBus::createByMixingToMono):
1312
1313 2011-04-27  Geoffrey Garen  <ggaren@apple.com>
1314
1315         Motivated by Alexey Proskuryakov.
1316
1317         * bindings/scripts/CodeGeneratorJS.pm: Tried to make this comment more
1318         informative, since it confused Alexey and me.
1319
1320 2011-04-27  Geoffrey Garen  <ggaren@apple.com>
1321
1322         Reviewed by Sam Weinig.
1323
1324         Fixed a small leak related to CSSValues when deallocating a DOMWrapperWorld
1325         https://bugs.webkit.org/show_bug.cgi?id=59646
1326
1327         Made the cssValueRoots map per-world, instead of a global. When we deallocate
1328         a world, we need to clear all entries in the map for that world, since
1329         the finalizers that would otherwise clear those entries don't run. The
1330         simplest way to do this is just to make the world own the map.
1331         
1332         * bindings/js/DOMWrapperWorld.h:
1333         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
1334         (WebCore::JSCSSStyleDeclaration::getPropertyCSSValue):
1335         * bindings/js/JSCSSValueCustom.cpp:
1336         (WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
1337         (WebCore::JSCSSValueOwner::finalize):
1338         * bindings/js/JSDOMBinding.h:
1339
1340 2011-04-27  Adam Barth  <abarth@webkit.org>
1341
1342         Reviewed by David Levin.
1343
1344         Fix OwnPtr issues in IndexedDB
1345         https://bugs.webkit.org/show_bug.cgi?id=59656
1346
1347         I didn't do an exhaustive review of this code, but I fixed the problems
1348         caught by turning on strict OwnPtr and all their antecedents.  This
1349         patch is entirely tighter bookkeeping.  There shouldn't be any actual
1350         behavior change.
1351
1352         * platform/leveldb/LevelDBDatabase.cpp:
1353         (WebCore::LevelDBDatabase::LevelDBDatabase):
1354         (WebCore::LevelDBDatabase::open):
1355         (WebCore::LevelDBDatabase::createIterator):
1356         * platform/leveldb/LevelDBDatabase.h:
1357         * platform/leveldb/LevelDBIterator.cpp:
1358         (WebCore::LevelDBIterator::LevelDBIterator):
1359         * platform/leveldb/LevelDBIterator.h:
1360         * storage/IDBLevelDBBackingStore.cpp:
1361         (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
1362         (WebCore::IDBLevelDBBackingStore::open):
1363         (WebCore::getNewDatabaseId):
1364         (WebCore::IDBLevelDBBackingStore::getObjectStores):
1365         (WebCore::getNewObjectStoreId):
1366         (WebCore::deleteRange):
1367         (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
1368         (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
1369         (WebCore::IDBLevelDBBackingStore::getIndexes):
1370         (WebCore::getNewIndexId):
1371         (WebCore::findGreatestKeyLessThan):
1372         (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
1373         (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
1374         (WebCore::findLastIndexKeyEqualTo):
1375         * storage/IDBLevelDBBackingStore.h:
1376
1377 2011-04-19  MORITA Hajime  <morrita@google.com>
1378
1379         Reviewed by Tony Chang.
1380
1381         [Refactoring] DocumentMarkerController::MarkerMapVectorPair should be replaced with a list of some class.
1382         https://bugs.webkit.org/show_bug.cgi?id=58113
1383
1384         * Introduced RenderedDocumentMarker, a subclass of DocumentMarker.
1385         * Eliminated Vector<IntRect> and move the IntRect into RenderedDocumentMarker
1386         * Now MarkerMapVectorPair is no longer used.
1387         
1388         No new tests, No behavior change.
1389
1390         * GNUmakefile.list.am:
1391         * WebCore.gypi:
1392         * WebCore.pro:
1393         * WebCore.vcproj/WebCore.vcproj:
1394         * WebCore.xcodeproj/project.pbxproj:
1395         * dom/DocumentMarker.h:
1396         * dom/DocumentMarkerController.cpp:
1397         (WebCore::DocumentMarkerController::addMarker):
1398         (WebCore::DocumentMarkerController::copyMarkers):
1399         (WebCore::DocumentMarkerController::removeMarkers):
1400         (WebCore::DocumentMarkerController::markerContainingPoint):
1401         (WebCore::DocumentMarkerController::markersForNode):
1402         (WebCore::DocumentMarkerController::renderedRectsForMarkers):
1403         (WebCore::DocumentMarkerController::removeMarkersFromList):
1404         (WebCore::DocumentMarkerController::repaintMarkers):
1405         (WebCore::DocumentMarkerController::setRenderedRectForMarker):
1406         (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
1407         (WebCore::DocumentMarkerController::shiftMarkers):
1408         (WebCore::DocumentMarkerController::setMarkersActive):
1409         (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
1410         (WebCore::DocumentMarkerController::showMarkers):
1411         * dom/DocumentMarkerController.h:
1412         * dom/RenderedDocumentMarker.h: Added.
1413         (WebCore::RenderedDocumentMarker::RenderedDocumentMarker):
1414         (WebCore::RenderedDocumentMarker::isRendered):
1415         (WebCore::RenderedDocumentMarker::contains):
1416         (WebCore::RenderedDocumentMarker::setRenderedRect):
1417         (WebCore::RenderedDocumentMarker::renderedRect):
1418         (WebCore::RenderedDocumentMarker::invalidate):
1419         (WebCore::RenderedDocumentMarker::invalidMarkerRect):
1420
1421 2011-04-27  James Robinson  <jamesr@chromium.org>
1422
1423         Unreviewed, rolling out r85112.
1424         http://trac.webkit.org/changeset/85112
1425         https://bugs.webkit.org/show_bug.cgi?id=59159
1426
1427         Broke mac compile
1428
1429         * page/FrameView.cpp:
1430         (WebCore::FrameView::updateCompositingLayers):
1431         * page/FrameView.h:
1432         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1433         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
1434         * platform/graphics/chromium/LayerChromium.cpp:
1435         (WebCore::LayerChromium::LayerChromium):
1436         (WebCore::LayerChromium::~LayerChromium):
1437         * platform/graphics/chromium/LayerRendererChromium.cpp:
1438         (WebCore::LayerRendererChromium::updateLayers):
1439         * platform/graphics/chromium/LayerRendererChromium.h:
1440
1441 2011-04-27  Mark Rowe  <mrowe@apple.com>
1442
1443         Build fix.
1444
1445         * WebCore.xcodeproj/project.pbxproj: Make RenderLayerCompositor.h accessbile to WebKit and WebKit2.
1446
1447 2011-04-27  Pratik Solanki  <psolanki@apple.com>
1448
1449         Unreviewed. Fix WinCE build. The include should be guarded inside USE(CFNETWORK).
1450
1451         * platform/network/ResourceHandleClient.h:
1452
1453 2011-04-27  James Robinson  <jamesr@chromium.org>
1454
1455         Reviewed by Kenneth Russell.
1456
1457         [chromium] Ensure compositing layers are up to date before entering doComposite
1458         https://bugs.webkit.org/show_bug.cgi?id=59159
1459
1460         Adds some assertions to try to catch GraphicsLayer mutations at bad times (such as during
1461         GraphicsLayerClient::paintContents() implementations).
1462
1463         * page/FrameView.cpp:
1464         (WebCore::FrameView::updateCompositingLayers):
1465             Add an optional CompositingUpdateType parameter.
1466         * page/FrameView.h:
1467         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1468         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
1469         * platform/graphics/chromium/LayerChromium.cpp:
1470         (WebCore::LayerChromium::LayerChromium):
1471         (WebCore::LayerChromium::~LayerChromium):
1472         * platform/graphics/chromium/LayerRendererChromium.cpp:
1473         (WebCore::LayerRendererChromium::updateLayers):
1474         * platform/graphics/chromium/LayerRendererChromium.h:
1475           Add a set of assertions that we aren't creating or destroying LayerChromiums during paintContents
1476         * rendering/RenderLayer.cpp:
1477         (WebCore::RenderLayer::dirtyZOrderLists):
1478         (WebCore::RenderLayer::updateCompositingAndLayerListsIfNeeded):
1479         * rendering/RenderLayerCompositor.cpp:
1480         (WebCore::RenderLayerCompositor::updateCompositingLayers):
1481         * rendering/RenderLayerCompositor.h:
1482           Fix a typo in CompositingUpdateType Pait->Paint
1483
1484 2011-04-27  Pratik Solanki  <psolanki@apple.com>
1485
1486         Reviewed by Antti Koivisto.
1487
1488         Part of WebCore should use CFNetwork-based loader on Mac
1489         https://bugs.webkit.org/show_bug.cgi?id=51836
1490
1491         Add willCacheResponse method when using CFNetwork on Mac. Also put appropriate ifdefs around
1492         willCacheResponse/shouldCacheResponse.
1493
1494         * loader/EmptyClients.h:
1495         * loader/FrameLoaderClient.h:
1496         * loader/ResourceLoader.h:
1497         * loader/cf/ResourceLoaderCFNet.cpp:
1498         * loader/mac/ResourceLoaderMac.mm:
1499         (WebCore::ResourceLoader::willCacheResponse):
1500         * platform/network/ResourceHandleClient.h:
1501         (WebCore::ResourceHandleClient::willCacheResponse):
1502         (WebCore::ResourceHandleClient::shouldCacheResponse):
1503         * platform/network/cf/ResourceHandleCFNet.cpp:
1504         (WebCore::willCacheResponse):
1505
1506 2011-04-27  Ilya Tikhonovsky  <loislo@chromium.org>
1507
1508         Reviewed by Brian Weinstein.
1509
1510         Web Inspector: Stop on Exception state does not persist.
1511
1512         A wrong property name was used when we persist PauseOnExceptionState property to Local Storage.
1513         https://bugs.webkit.org/show_bug.cgi?id=59630
1514
1515         * inspector/front-end/ScriptsPanel.js:
1516         (WebInspector.ScriptsPanel.prototype._debuggerWasEnabled):
1517         (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions.callback):
1518         (WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
1519
1520 2011-04-27  Adrienne Walker  <enne@google.com>
1521
1522         [chromium] Unreviewed, rollout r85075 (scissor rect changes)
1523         https://bugs.webkit.org/show_bug.cgi?id=59020
1524
1525         * platform/graphics/chromium/LayerRendererChromium.cpp:
1526         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
1527
1528 2011-04-27  Darin Adler  <darin@apple.com>
1529
1530         Reviewed by David Levin.
1531
1532         Fix strict OwnPtr issues seen in about 30 more files
1533         https://bugs.webkit.org/show_bug.cgi?id=59615
1534
1535         * bindings/js/JSCallbackData.h:
1536         (WebCore::DeleteCallbackDataTask::create): Use adoptPtr.
1537         * bindings/js/JSMessageEventCustom.cpp:
1538         (WebCore::JSMessageEvent::initMessageEvent): Use adoptPtr.
1539         * css/CSSParser.cpp:
1540         (WebCore::CSSParser::updateSpecifiersWithElementName): Use OwnPtr,
1541         adoptPtr, and release.
1542         * dom/MessageEvent.cpp:
1543         (WebCore::MessageEvent::initMessageEvent): Use OwnPtr, adoptPtr,
1544         and release.
1545         * dom/MessagePortChannel.cpp:
1546         (WebCore::MessagePortChannel::EventData::create): Use adoptPtr.
1547         * dom/ScriptExecutionContext.cpp:
1548         (WebCore::ProcessMessagesSoonTask::create): Use adoptPtr.
1549         * dom/XMLDocumentParserLibxml2.cpp:
1550         (WebCore::XMLDocumentParser::doEnd): Use adoptPtr.
1551         * dom/default/PlatformMessagePortChannel.cpp:
1552         (WebCore::MessagePortChannel::create): Use adoptPtr.
1553         * html/HTMLFormControlElement.cpp:
1554         (WebCore::HTMLFormControlElement::detach): Use nullptr.
1555         * inspector/InspectorAgent.cpp:
1556         (WebCore::PostWorkerNotificationToFrontendTask::create): Use adoptPtr.
1557         * inspector/InspectorConsoleAgent.cpp:
1558         (WebCore::InspectorConsoleAgent::addMessageToConsole): Use adoptPtr.
1559         (WebCore::InspectorConsoleAgent::didReceiveResponse): Use adoptPtr.
1560         (WebCore::InspectorConsoleAgent::didFailLoading): Use adoptPtr.
1561         * inspector/InspectorController.cpp:
1562         (WebCore::InspectorController::connectFrontend): Use adoptPtr.
1563         * inspector/InspectorDOMAgent.cpp:
1564         (WebCore::InspectorDOMAgent::didInvalidateStyleAttr): Use adoptPtr.
1565         * inspector/InspectorResourceAgent.cpp:
1566         (WebCore::InspectorResourceAgent::InspectorResourceAgent): Use adoptPtr.
1567         * page/FrameActionScheduler.cpp:
1568         (WebCore::FrameActionScheduler::scheduleEvent): Use adoptPtr.
1569         * platform/graphics/ShadowBlur.cpp:
1570         (WebCore::ScratchBuffer::clearScratchBuffer): Use nullptr.
1571         * platform/graphics/ca/GraphicsLayerCA.cpp:
1572         (WebCore::GraphicsLayer::create): Use adoptPtr.
1573         (WebCore::GraphicsLayerCA::ensureCloneLayers): Use adoptPtr.
1574         (WebCore::GraphicsLayerCA::removeCloneLayers): Use nullptr.
1575         * rendering/RenderBlock.cpp:
1576         (WebCore::RenderBlock::setMaxMarginBeforeValues): Use adoptPtr.
1577         (WebCore::RenderBlock::setMaxMarginAfterValues): Use adoptPtr.
1578         (WebCore::RenderBlock::setPaginationStrut): Use adoptPtr.
1579         (WebCore::RenderBlock::setPageLogicalOffset): Use adoptPtr.
1580         * rendering/RenderLayerBacking.cpp:
1581         (WebCore::RenderLayerBacking::destroyGraphicsLayer): Use nullptr.
1582         (WebCore::RenderLayerBacking::updateClippingLayers): Use nullptr.
1583         (WebCore::RenderLayerBacking::updateForegroundLayer): Use nullptr.
1584         (WebCore::RenderLayerBacking::updateMaskLayer): Use nullptr.
1585         * rendering/RenderLayerCompositor.cpp:
1586         (WebCore::RenderLayerCompositor::updateOverflowControlsLayers): Use nullptr.
1587         (WebCore::RenderLayerCompositor::ensureRootPlatformLayer): Use nullptr.
1588         (WebCore::RenderLayerCompositor::destroyRootPlatformLayer): Use nullptr.
1589         * rendering/style/StyleRareNonInheritedData.cpp:
1590         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Removed
1591         explicit initializations of OwnPtr members to 0. Use adoptPtr.
1592         * workers/SharedWorkerContext.cpp:
1593         (WebCore::createConnectEvent): Use adoptPtr.
1594         * workers/Worker.cpp:
1595         (WebCore::Worker::notifyFinished): Use nullptr.
1596
1597 2011-04-27  Enrica Casucci  <enrica@apple.com>
1598
1599         Reviewed by Darin Adler.
1600
1601         REGRESSION (r84311): Copy should preserve background color if specified in the body only if the entire content is selected.
1602         https://bugs.webkit.org/show_bug.cgi?id=59251
1603         <rdar://problem/9327044>
1604
1605         When we are looking for wrapping elements that are presentational, we should
1606         include elements that have a non transparent background color only if they
1607         are not blocks.
1608
1609         Test: editing/pasteboard/do-not-copy-body-color.html
1610
1611         * editing/markup.cpp:
1612         (WebCore::isElementPresentational):
1613
1614 2011-04-20  Dimitri Glazkov  <dglazkov@chromium.org>
1615
1616         Reviewed by Antti Koivisto.
1617
1618         Teach sub-selector chains about shadow descendants
1619         https://bugs.webkit.org/show_bug.cgi?id=58342
1620
1621         The primary change is to the logic of parsing specifiers:
1622         1) The shadow descendant selectors (those specifiers that are unknown
1623         pseudo element selectors) are always kept at the top of the chain.
1624         2) The sub-selectors after shadow descendant selectors are stashed right
1625         behind the sub-selector, but not at the end of the chain.
1626         3) Other sub-selectors are appended at the end of the chain.
1627
1628         * css/CSSGrammar.y: Changed specifier_list collection to use new
1629             CSSParser::updateSpecifier helper.
1630         * css/CSSParser.cpp:
1631         (WebCore::CSSParser::updateSpecifiersWithElementName): Added logic to
1632             look for the last ShadowDescendant relation in the chain of selectors,
1633             because the next selector after it is the one that should get the
1634             element name.
1635         (WebCore::CSSParser::updateSpecifiers): Moved and modified the logic from
1636             CSSGrammar.y. The new logic adjusts the selector chain to allow
1637             shadow descendant selectors have sub-selectors (and have multiple shadow
1638             descendants in the chain).
1639         * css/CSSParser.h: Added decl.
1640         * css/CSSParserValues.cpp:
1641         (WebCore::CSSParserSelector::insertTagHistory): Added.
1642         (WebCore::CSSParserSelector::appendTagHistory): Aded.
1643         * css/CSSParserValues.h: Added decls.
1644         * css/CSSStyleSelector.cpp:
1645         (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Added
1646             shadow descendant selector match check, since now there could be many
1647             of them in the selector chain.
1648
1649 2011-04-20  Adrienne Walker  <enne@google.com>
1650
1651         Reviewed by Kenneth Russell.
1652
1653         [chromium] Fix incorrect scissor rect for layers that render into a rendersurface
1654         https://bugs.webkit.org/show_bug.cgi?id=59020
1655
1656         mapRect is the incorrect transform here.  The parent scissor rect
1657         needs to be projected into layer space instead.
1658
1659         Test: compositing/flat-with-transformed-child.html
1660
1661         * platform/graphics/chromium/LayerRendererChromium.cpp:
1662         (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
1663
1664 2011-04-27  Pratik Solanki  <psolanki@apple.com>
1665
1666         Reviewed by Antti Koivisto.
1667
1668         Part of WebCore should use CFNetwork-based loader on Mac
1669         https://bugs.webkit.org/show_bug.cgi?id=51836
1670
1671         * Configurations/WebCore.xcconfig: Add location of CFNetwork.framework.
1672         * platform/mac/SoftLinking.h:
1673         * platform/network/cf/CookieJarCFNet.cpp: Soft-link in CFNetwork functions on Mac.
1674
1675 2011-04-27  Nikolas Zimmermann  <nzimmermann@rim.com>
1676
1677         Reviewed by Antti Koivisto.
1678
1679         Cleanup CSSStyleApplyProperty.cpp
1680         https://bugs.webkit.org/show_bug.cgi?id=59623
1681
1682         As first step remove ApplyPropertyColorBase, merge it with ApplyPropertyColor, there's no need for two seperated classes.
1683         Use typedefs instead of repating the function pointer declarations in a few places.
1684
1685         * css/CSSStyleApplyProperty.cpp:
1686         (WebCore::ApplyPropertyDefault::ApplyPropertyDefault):
1687         (WebCore::ApplyPropertyColor::ApplyPropertyColor):
1688         (WebCore::ApplyPropertyColor::applyInheritValue):
1689         (WebCore::ApplyPropertyColor::applyInitialValue):
1690         (WebCore::ApplyPropertyColor::applyValue):
1691         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
1692
1693 2011-04-27  Dan Bernstein  <mitz@apple.com>
1694
1695         Reviewed by Anders Carlsson.
1696
1697         <rdar://problem/9335973> REGRESSION (r84341): Buttons in the Mac App store are rendered incorrectly
1698         https://bugs.webkit.org/show_bug.cgi?id=59622
1699
1700         Test: fast/borders/border-image-trumps-radius.html
1701
1702         * rendering/RenderBox.cpp:
1703         (WebCore::RenderBox::determineBackgroundBleedAvoidance): If there is a renderable, loaded border
1704         image, then border radius is ignored, so no bleed avoidance is needed.
1705         * rendering/RenderObject.cpp:
1706         (WebCore::RenderObject::borderImageIsLoadedAndCanBeRendered): Added. Moved some logic here from...
1707         (WebCore::RenderObject::mustRepaintBackgroundOrBorder): ...here.
1708         * rendering/RenderObject.h:
1709
1710 2011-02-03  Martin Robinson  <mrobinson@igalia.com>
1711
1712         Reviewed by Xan Lopez.
1713
1714         [GTK] editing/pasteboard/copy-standalone-image.html fails
1715         https://bugs.webkit.org/show_bug.cgi?id=53645
1716
1717         When writing an image to the clipboard, also write the URL and title
1718         into the markup and URL portion. This change also abstracts a helper
1719         imageToMarkup into markup.{cpp/h} from several different locations
1720         throughout the platform layer.
1721
1722         * editing/markup.h: Added new function definition.
1723         * editing/markup.cpp:
1724         (WebCore::imageToMarkup): Add this function which turns an image URL 
1725         and element into some markup representing that image, while preserving
1726         non-src attributes.
1727         * platform/chromium/ClipboardChromium.cpp: Move the imageToMarkup helper
1728         to markup.cpp.
1729         * platform/gtk/PasteboardGtk.cpp:
1730         (WebCore::getURLForImageNode): Add this helper which gets the appropriate
1731         image URL for a variety of image tag types.
1732         (WebCore::Pasteboard::writeImage): Write the image URL and title to the
1733         markup and URL portions of the clipboard. This will ensure that images
1734         paste properly back into WebKit.
1735         * platform/win/ClipboardWin.cpp: Remove the imageToMarkup helper and the
1736         one from markup.h
1737
1738 2011-04-27  Steve Block  <steveblock@google.com>
1739
1740         Reviewed by David Levin.
1741
1742         Remove Android build system
1743         https://bugs.webkit.org/show_bug.cgi?id=48111
1744
1745         This is to avoid the maintenance burden until the Android port is
1746         fully upstreamed.
1747
1748         No new tests, build change only.
1749
1750         * Android.derived.jscbindings.mk: Removed.
1751         * Android.derived.mk: Removed.
1752         * Android.derived.v8bindings.mk: Removed.
1753         * Android.jscbindings.mk: Removed.
1754         * Android.mk: Removed.
1755         * Android.v8bindings.mk: Removed.
1756
1757 2011-04-27  Darin Adler  <darin@apple.com>
1758
1759         Reviewed by Sam Weinig.
1760
1761         Somehow about:blank gets into the icon database
1762         https://bugs.webkit.org/show_bug.cgi?id=58067
1763         rdar://problem/6751446
1764
1765         Implemented the policy Brady suggested, where only http and https URLs can
1766         be associated with and icon, guarding both on the way in to the database,
1767         and on the way out.
1768
1769         * loader/icon/IconDatabase.cpp:
1770         (WebCore::pageCanHaveIcon): Added.
1771         (WebCore::IconDatabase::synchronousIconForPageURL): Call pageCanHaveIcon
1772         instead of just checking for an empty URL.
1773         (WebCore::IconDatabase::synchronousIconURLForPageURL): Ditto.
1774         (WebCore::IconDatabase::retainIconForPageURL): Ditto.
1775         (WebCore::IconDatabase::releaseIconForPageURL): Ditto.
1776         (WebCore::IconDatabase::setIconURLForPageURL): Ditto.
1777         (WebCore::IconDatabase::getOrCreatePageURLRecord): Ditto.
1778         (WebCore::IconDatabase::importIconURLForPageURL): Broke assertion into
1779         two separate assertions and added a third.
1780         (WebCore::IconDatabase::performURLImport): Call pageCanHaveIcon.
1781
1782         * platform/KURL.cpp: Sorted includes. Moved a FIXME to the top of the file.
1783         (WebCore::isLetterMatchIgnoringCase): Renamed matchLetter to this name,
1784         overloaded it to work on both UChar and char, and added an assertion to it.
1785         Also moved this to the top of the file and made the UChar version usable
1786         in the shared code used even by Google.
1787         (WebCore::KURL::invalidate): Updated for name change.
1788         (WebCore::KURL::protocolIs): Use isLetterMatchIgnoringCase instead of
1789         toASCIILower since it's faster.
1790         (WebCore::KURL::parse): Updated for name changes.
1791         (WebCore::protocolIs):Use isLetterMatchIgnoringCase instead of toASCIILower
1792         since it's faster.
1793         (WebCore::protocolIsInHTTPFamily): Added.
1794
1795         * platform/KURL.h: Tweaked formatting. Renamed protocolInHTTPFamily
1796         to protocolIsInHTTPFamily and added a version that works on a string.
1797         Kept the old name as an inline function so we don't have to rename
1798         all the cal sites now.
1799
1800         * platform/KURLGoogle.cpp: Renamed as above.
1801         (WebCore::KURLGooglePrivate::KURLGooglePrivate): Updated for rename.
1802         (WebCore::KURLGooglePrivate::setUtf8): Ditto.
1803         (WebCore::KURLGooglePrivate::setAscii): Ditto.
1804         (WebCore::KURLGooglePrivate::initProtocolIsInHTTPFamily): Ditto.
1805         (WebCore::KURLGooglePrivate::copyTo): Ditto.
1806         (WebCore::KURL::KURL): Ditto.
1807         (WebCore::KURL::protocolIsInHTTPFamily): Ditto.
1808         (WebCore::KURL::invalidate): Ditto.
1809         * platform/KURLGooglePrivate.h: Ditto.
1810
1811         * WebCore.exp.in: Updated for above changes.
1812
1813 2011-04-27  Yury Semikhatsky  <yurys@chromium.org>
1814
1815         Reviewed by Pavel Feldman.
1816
1817         Web Inspector: browser crash on evaluation of 'throw undefined'
1818         https://bugs.webkit.org/show_bug.cgi?id=59611
1819
1820         Test: inspector/console/console-eval-throw-undefined.html
1821
1822         * inspector/InjectedScriptSource.js: use try/catch to protect from
1823         exception during conversion of another exception to string.
1824
1825 2011-04-27  Pavel Feldman  <pfeldman@google.com>
1826
1827         Reviewed by Yury Semikhatsky.
1828
1829         Web Inspector: clicking bookmarklet multiplies resources panel entries.
1830         https://bugs.webkit.org/show_bug.cgi?id=59590
1831
1832         * inspector/front-end/ResourceTreeModel.js:
1833         (WebInspector.ResourceTreeModel):
1834         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
1835         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
1836         * inspector/front-end/ResourcesPanel.js:
1837         (WebInspector.ResourcesPanel.prototype._populateResourceTree):
1838         (WebInspector.FrameTreeElement):
1839         (WebInspector.FrameTreeElement.prototype.appendResource):
1840         * inspector/front-end/inspector.js:
1841         (WebInspector.frontendReused):
1842
1843 2011-04-27  Pavel Feldman  <pfeldman@google.com>
1844
1845         Reviewed by Yury Semikhatsky.
1846
1847         Web Inspector: opening bookmarklet disconnects DOM agent.
1848         https://bugs.webkit.org/show_bug.cgi?id=59588
1849
1850         * inspector/InspectorDOMAgent.cpp:
1851         (WebCore::InspectorDOMAgent::setDocument):
1852
1853 2011-04-27  Hans Wennborg  <hans@chromium.org>
1854
1855         Reviewed by Tony Gentilcore.
1856
1857         IndexedDB: Fix compiler warnings about uninitialized variables
1858         https://bugs.webkit.org/show_bug.cgi?id=59599
1859
1860         Build fix. No new tests.
1861
1862         * storage/IDBLevelDBBackingStore.cpp:
1863         (WebCore::getNewObjectStoreId):
1864         (WebCore::getNewIndexId):
1865
1866 2011-04-26  Hans Wennborg  <hans@chromium.org>
1867
1868         Reviewed by Tony Gentilcore.
1869
1870         IndexedDB: Move LevelDB key coding routines to separate file
1871         https://bugs.webkit.org/show_bug.cgi?id=59452
1872
1873         Move all routines concerned with encoding, decoding and comparison of
1874         LevelDB keys from IDBLevelDBBackingStore.cpp to a separate file:
1875         IDBLevelDBCoding.cpp.
1876
1877         This makes IDBLevelDBBackingStore.cpp easier to work with, and will
1878         allow for unit testing of the coding routines.
1879
1880         No new functionality, no new tests.
1881
1882         * WebCore.gypi:
1883         * storage/IDBLevelDBBackingStore.cpp:
1884         (WebCore::getInt):
1885         (WebCore::putInt):
1886         (WebCore::getString):
1887         (WebCore::putString):
1888         (WebCore::compareKeys):
1889         (WebCore::compareIndexKeys):
1890         (WebCore::Comparator::compare):
1891         (WebCore::setUpMetadata):
1892         (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData):
1893         (WebCore::getNewDatabaseId):
1894         (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
1895         (WebCore::IDBLevelDBBackingStore::getObjectStores):
1896         (WebCore::getNewObjectStoreId):
1897         (WebCore::IDBLevelDBBackingStore::createObjectStore):
1898         (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
1899         (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
1900         (WebCore::getNewVersionNumber):
1901         (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
1902         (WebCore::IDBLevelDBBackingStore::clearObjectStore):
1903         (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
1904         (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
1905         (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
1906         (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
1907         (WebCore::IDBLevelDBBackingStore::getIndexes):
1908         (WebCore::getNewIndexId):
1909         (WebCore::IDBLevelDBBackingStore::createIndex):
1910         (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
1911         (WebCore::versionExists):
1912         (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
1913         (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
1914         (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
1915         (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
1916         (WebCore::IDBLevelDBBackingStore::openIndexCursor):
1917         * storage/IDBLevelDBCoding.cpp: Added.
1918         (WebCore::IDBLevelDBCoding::encodeByte):
1919         (WebCore::IDBLevelDBCoding::maxIDBKey):
1920         (WebCore::IDBLevelDBCoding::minIDBKey):
1921         (WebCore::IDBLevelDBCoding::encodeInt):
1922         (WebCore::IDBLevelDBCoding::decodeInt):
1923         (WebCore::IDBLevelDBCoding::encodeVarInt):
1924         (WebCore::IDBLevelDBCoding::decodeVarInt):
1925         (WebCore::IDBLevelDBCoding::encodeString):
1926         (WebCore::IDBLevelDBCoding::decodeString):
1927         (WebCore::IDBLevelDBCoding::encodeStringWithLength):
1928         (WebCore::IDBLevelDBCoding::decodeStringWithLength):
1929         (WebCore::IDBLevelDBCoding::encodeDouble):
1930         (WebCore::IDBLevelDBCoding::decodeDouble):
1931         (WebCore::IDBLevelDBCoding::encodeIDBKey):
1932         (WebCore::IDBLevelDBCoding::decodeIDBKey):
1933         (WebCore::IDBLevelDBCoding::extractEncodedIDBKey):
1934         (WebCore::IDBLevelDBCoding::compareEncodedIDBKeys):
1935         (WebCore::IDBLevelDBCoding::compare):
1936         (WebCore::IDBLevelDBCoding::KeyPrefix::KeyPrefix):
1937         (WebCore::IDBLevelDBCoding::KeyPrefix::decode):
1938         (WebCore::IDBLevelDBCoding::KeyPrefix::encode):
1939         (WebCore::IDBLevelDBCoding::KeyPrefix::compare):
1940         (WebCore::IDBLevelDBCoding::KeyPrefix::type):
1941         (WebCore::IDBLevelDBCoding::SchemaVersionKey::encode):
1942         (WebCore::IDBLevelDBCoding::MaxDatabaseIdKey::encode):
1943         (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::DatabaseFreeListKey):
1944         (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::decode):
1945         (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::encode):
1946         (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::databaseId):
1947         (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::compare):
1948         (WebCore::IDBLevelDBCoding::DatabaseNameKey::decode):
1949         (WebCore::IDBLevelDBCoding::DatabaseNameKey::encode):
1950         (WebCore::IDBLevelDBCoding::DatabaseNameKey::compare):
1951         (WebCore::IDBLevelDBCoding::DatabaseMetaDataKey::encode):
1952         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::ObjectStoreMetaDataKey):
1953         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::decode):
1954         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::encode):
1955         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::objectStoreId):
1956         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::metaDataType):
1957         (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::compare):
1958         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::IndexMetaDataKey):
1959         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::decode):
1960         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::encode):
1961         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::compare):
1962         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::indexId):
1963         (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::ObjectStoreFreeListKey):
1964         (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::decode):
1965         (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::encode):
1966         (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::objectStoreId):
1967         (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::compare):
1968         (WebCore::IDBLevelDBCoding::IndexFreeListKey::IndexFreeListKey):
1969         (WebCore::IDBLevelDBCoding::IndexFreeListKey::decode):
1970         (WebCore::IDBLevelDBCoding::IndexFreeListKey::encode):
1971         (WebCore::IDBLevelDBCoding::IndexFreeListKey::compare):
1972         (WebCore::IDBLevelDBCoding::IndexFreeListKey::objectStoreId):
1973         (WebCore::IDBLevelDBCoding::IndexFreeListKey::indexId):
1974         (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::decode):
1975         (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::encode):
1976         (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::compare):
1977         (WebCore::IDBLevelDBCoding::IndexNamesKey::IndexNamesKey):
1978         (WebCore::IDBLevelDBCoding::IndexNamesKey::decode):
1979         (WebCore::IDBLevelDBCoding::IndexNamesKey::encode):
1980         (WebCore::IDBLevelDBCoding::IndexNamesKey::compare):
1981         (WebCore::IDBLevelDBCoding::ObjectStoreDataKey::decode):
1982         (WebCore::IDBLevelDBCoding::ObjectStoreDataKey::encode):
1983         (WebCore::IDBLevelDBCoding::ObjectStoreDataKey::compare):
1984         (WebCore::IDBLevelDBCoding::ObjectStoreDataKey::userKey):
1985         (WebCore::IDBLevelDBCoding::ExistsEntryKey::decode):
1986         (WebCore::IDBLevelDBCoding::ExistsEntryKey::encode):
1987         (WebCore::IDBLevelDBCoding::ExistsEntryKey::compare):
1988         (WebCore::IDBLevelDBCoding::ExistsEntryKey::userKey):
1989         (WebCore::IDBLevelDBCoding::IndexDataKey::IndexDataKey):
1990         (WebCore::IDBLevelDBCoding::IndexDataKey::decode):
1991         (WebCore::IDBLevelDBCoding::IndexDataKey::encode):
1992         (WebCore::IDBLevelDBCoding::IndexDataKey::encodeMaxKey):
1993         (WebCore::IDBLevelDBCoding::IndexDataKey::compare):
1994         (WebCore::IDBLevelDBCoding::IndexDataKey::databaseId):
1995         (WebCore::IDBLevelDBCoding::IndexDataKey::objectStoreId):
1996         (WebCore::IDBLevelDBCoding::IndexDataKey::indexId):
1997         (WebCore::IDBLevelDBCoding::IndexDataKey::userKey):
1998         * storage/IDBLevelDBCoding.h: Added.
1999         (WebCore::IDBLevelDBCoding::DatabaseNameKey::origin):
2000         (WebCore::IDBLevelDBCoding::DatabaseNameKey::databaseName):
2001         (WebCore::IDBLevelDBCoding::IndexMetaDataKey::metaDataType):
2002         (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::objectStoreName):
2003         (WebCore::IDBLevelDBCoding::IndexNamesKey::indexName):
2004
2005 2011-04-27  Yury Semikhatsky  <yurys@chromium.org>
2006
2007         Reviewed by Pavel Feldman.
2008
2009         Web Inspector: expose exception details when script is paused on exception
2010         https://bugs.webkit.org/show_bug.cgi?id=59591
2011
2012         When script is paused on an exception, the exception value is added as <exception>
2013         property in the local scope and the breakpoint details message says
2014         "Paused on excepion: '<exception to strin value>'."
2015
2016         * English.lproj/localizedStrings.js:
2017         * inspector/front-end/ScopeChainSidebarPane.js:
2018         (WebInspector.ScopeChainSidebarPane.prototype.update):
2019         * inspector/front-end/ScriptsPanel.js:
2020         (WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
2021         (WebInspector.ScriptsPanel.prototype._debuggerPaused):
2022
2023 2011-04-26  Yury Semikhatsky  <yurys@chromium.org>
2024
2025         Reviewed by Pavel Feldman.
2026
2027         Web Inspector: [protocol] Paused event should expose exception value that caused it
2028         https://bugs.webkit.org/show_bug.cgi?id=58996
2029
2030         Debug.pause event now contains an optional reference to the exception
2031         object in case script execution is paused on a JavaScript exception.
2032
2033         Also JavaScript call frames are passed directly into the injected script when
2034         we need to wrap them for passing to the front-end. This change breaks cyclic
2035         dependency ScriptDebugServer->InspectorDebuggerAgent->InjectedScript->InjectedScriptHost->ScriptDebugServer
2036
2037         * bindings/js/JSInjectedScriptHostCustom.cpp:
2038         * bindings/js/ScriptDebugServer.cpp:
2039         (WebCore::ScriptDebugServer::dispatchDidPause):
2040         * bindings/js/ScriptDebugServer.h:
2041         * bindings/v8/ScriptDebugServer.cpp:
2042         (WebCore::ScriptDebugServer::breakProgram):
2043         (WebCore::ScriptDebugServer::editScriptSource):
2044         (WebCore::ScriptDebugServer::breakProgramCallback):
2045         (WebCore::ScriptDebugServer::handleV8DebugEvent):
2046         * bindings/v8/ScriptDebugServer.h:
2047         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
2048         * inspector/InjectedScript.cpp:
2049         (WebCore::InjectedScript::evaluateOnCallFrame):
2050         (WebCore::InjectedScript::wrapCallFrames):
2051         * inspector/InjectedScript.h:
2052         * inspector/InjectedScriptHost.cpp:
2053         * inspector/InjectedScriptHost.h:
2054         (WebCore::InjectedScriptHost::init):
2055         * inspector/InjectedScriptHost.idl:
2056         * inspector/InjectedScriptSource.js:
2057         (.):
2058         * inspector/Inspector.json:
2059         * inspector/InspectorAgent.cpp:
2060         (WebCore::InspectorAgent::InspectorAgent):
2061         * inspector/InspectorDebuggerAgent.cpp:
2062         (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
2063         (WebCore::InspectorDebuggerAgent::currentCallFrames):
2064         (WebCore::InspectorDebuggerAgent::wrapCallFrames):
2065         (WebCore::InspectorDebuggerAgent::didPause):
2066         (WebCore::InspectorDebuggerAgent::didContinue):
2067         (WebCore::InspectorDebuggerAgent::clear):
2068         * inspector/InspectorDebuggerAgent.h:
2069         * inspector/ScriptDebugListener.h:
2070         * inspector/WorkerInspectorController.cpp:
2071         (WebCore::WorkerInspectorController::WorkerInspectorController):
2072
2073 2011-04-27  Pavel Feldman  <pfeldman@google.com>
2074
2075         Reviewed by Yury Semikhatsky.
2076
2077         Web Inspector: implement incremental CSS editing in the structure view.
2078         https://bugs.webkit.org/show_bug.cgi?id=59455
2079
2080         * inspector/front-end/StylesSidebarPane.js:
2081         (WebInspector.StylePropertyTreeElement.prototype):
2082
2083 2011-04-27  Mihai Parparita  <mihaip@chromium.org>
2084
2085         Reviewed by Eric Seidel.
2086
2087         Frame.h shouldn't include Document.h
2088         https://bugs.webkit.org/show_bug.cgi?id=59560
2089
2090         Frame can use a forward-declared Document if we move
2091         Frame::displayStringModifiedByEncoding's implementation out of the
2092         header.
2093                                 Size  #includes  Size * #includes
2094         Before: page/Frame.h:   0.746       653           487.138
2095                 dom/Document.h: 0.220      1306           287.320
2096         
2097         After:  page/Frame.h:   0.646       653           421.838
2098                 dom/Document.h: 0.220      1189           261.580
2099
2100         * WebCore.exp.in:
2101         * bindings/ScriptControllerBase.cpp:
2102         * bindings/generic/BindingSecurityBase.cpp:
2103         * bindings/v8/V8Proxy.cpp:
2104         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
2105         * dom/CharacterData.cpp:
2106         * dom/UserTypingGestureIndicator.cpp:
2107         * editing/chromium/SelectionControllerChromium.cpp:
2108         * inspector/InspectorDOMStorageResource.cpp:
2109         * inspector/InspectorInstrumentation.h:
2110         * loader/PingLoader.cpp:
2111         * loader/SubresourceLoader.cpp:
2112         * loader/appcache/DOMApplicationCache.cpp:
2113         * loader/cache/CachedResourceRequest.cpp:
2114         * page/Frame.cpp:
2115         (WebCore::Frame::displayStringModifiedByEncoding):
2116         * page/Frame.h:
2117         * page/Geolocation.cpp:
2118         * page/Location.cpp:
2119         * page/Navigator.cpp:
2120         * page/PageGroupLoadDeferrer.cpp:
2121         * page/PerformanceTiming.cpp:
2122         * xml/XSLTProcessorLibxslt.cpp:
2123
2124 2011-04-27  James Robinson  <jamesr@chromium.org>
2125
2126         Reviewed by Eric Seidel.
2127
2128         Fix OwnPtr strict errors in RenderStyle and make StyleRareInheritedData::textShadow an OwnPtr
2129         https://bugs.webkit.org/show_bug.cgi?id=59377
2130
2131         This cleans up some strict OwnPtr<> violations around text and box shadow data.  ShadowData's linked list data
2132         structure now uses OwnPtr<>s to manage memory - each entry in the list has ownership of the next ShadowData.
2133
2134         * css/CSSStyleSelector.cpp:
2135         (WebCore::CSSStyleSelector::applyProperty):
2136         * page/animation/AnimationBase.cpp:
2137         (WebCore::blendFunc):
2138         (WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
2139         (WebCore::PropertyWrapperShadow::blend):
2140         * rendering/style/RenderStyle.cpp:
2141         (WebCore::RenderStyle::setTextShadow):
2142         (WebCore::RenderStyle::setBoxShadow):
2143         * rendering/style/RenderStyle.h:
2144         (WebCore::InheritedFlags::textShadow):
2145         * rendering/style/ShadowData.cpp:
2146         (WebCore::ShadowData::ShadowData):
2147         * rendering/style/ShadowData.h:
2148         (WebCore::ShadowData::ShadowData):
2149         (WebCore::ShadowData::next):
2150         (WebCore::ShadowData::setNext):
2151         * rendering/style/StyleRareInheritedData.cpp:
2152         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
2153         (WebCore::StyleRareInheritedData::~StyleRareInheritedData):
2154         * rendering/style/StyleRareInheritedData.h:
2155         * rendering/style/StyleRareNonInheritedData.cpp:
2156         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
2157
2158 2011-04-26  David Levin  <levin@chromium.org>
2159
2160         Reviewed by Eric Seidel.
2161
2162         Fix some strict PassOwnPtr issues in WebCore.
2163         https://bugs.webkit.org/show_bug.cgi?id=59563
2164
2165         * css/SVGCSSStyleSelector.cpp:
2166         (WebCore::CSSStyleSelector::applySVGProperty):
2167         * html/canvas/WebGLRenderingContext.cpp:
2168         (WebCore::WebGLRenderingContext::create):
2169         (WebCore::WebGLRenderingContext::~WebGLRenderingContext):
2170         * platform/text/TextCodecLatin1.cpp:
2171         (WebCore::newStreamingTextDecoderWindowsLatin1):
2172         * platform/text/TextCodecUTF16.cpp:
2173         (WebCore::newStreamingTextDecoderUTF16LE):
2174         (WebCore::newStreamingTextDecoderUTF16BE):
2175         * platform/text/TextCodecUserDefined.cpp:
2176         (WebCore::newStreamingTextDecoderUserDefined):
2177         * platform/text/mac/TextCodecMac.cpp:
2178         (WebCore::newTextCodecMac):
2179         * workers/Worker.cpp:
2180         (WebCore::Worker::notifyFinished):
2181
2182 2011-04-26  Justin Novosad  <junov@chromium.org>
2183
2184         Reviewed by Kenneth Russell.
2185
2186         [Chromium] Expose skia gpu canvas rendering as a runtime flag
2187         https://bugs.webkit.org/show_bug.cgi?id=58683
2188         Replace the SKIA_GPU compile flag by the pre-existing
2189         acceleratedDrawingEnabled flag. Most code changes are trivial:
2190         compile-time conditionals on SKIA_GPU were either replaced with
2191         a run-time check, or a compile time check on USE(SKIA) 
2192
2193         No new tests. Covered by existing tests.
2194
2195         * html/canvas/CanvasRenderingContext2D.cpp:
2196         (WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):
2197         * page/Page.cpp:
2198         (WebCore::Page::sharedGraphicsContext3D):
2199         Added check for the acceleratedDrawing flag.
2200         * platform/graphics/chromium/DrawingBufferChromium.cpp:
2201         (WebCore::DrawingBuffer::DrawingBuffer):
2202         (WebCore::DrawingBuffer::publishToPlatformLayer):
2203         * platform/graphics/gpu/DrawingBuffer.h:
2204         * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
2205         (WebCore::SharedGraphicsContext3D::create):
2206         On Skia builds, this methos now receives a bool arg to turn on
2207         GPU-accelerated skia rendering
2208         (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
2209         (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
2210         (WebCore::SharedGraphicsContext3D::grContext):
2211         * platform/graphics/gpu/SharedGraphicsContext3D.h:
2212         * platform/graphics/skia/ImageSkia.cpp:
2213         (WebCore::computeResamplingMode):
2214         (WebCore::paintSkBitmap):
2215         (WebCore::Image::drawPattern):
2216         * platform/graphics/skia/PlatformContextSkia.cpp:
2217         (WebCore::PlatformContextSkia::PlatformContextSkia):
2218         (WebCore::PlatformContextSkia::~PlatformContextSkia):
2219         (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
2220         (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
2221         (WebCore::PlatformContextSkia::prepareForSoftwareDraw):
2222         (WebCore::PlatformContextSkia::prepareForHardwareDraw):
2223         (WebCore::PlatformContextSkia::syncSoftwareCanvas):
2224         (WebCore::PlatformContextSkia::markDirtyRect):
2225         * platform/graphics/skia/PlatformContextSkia.h:
2226         (WebCore::PlatformContextSkia::accelerationMode):
2227         (WebCore::PlatformContextSkia::useGPU):
2228         (WebCore::PlatformContextSkia::useSkiaGPU):
2229
2230 2011-04-26  Pavel Feldman  <pfeldman@chromium.org>
2231
2232         Not reviewed: restore inspector test disabled in r84913.
2233
2234         Test: http/tests/inspector-enabled/dom-storage-open.html
2235
2236         * inspector/InspectorDOMStorageAgent.cpp:
2237         (WebCore::InspectorDOMStorageAgent::clearFrontend):
2238
2239 2011-04-26  Kenichi Ishibashi  <bashi@chromium.org>
2240
2241         Reviewed by Tony Chang.
2242
2243         [Chromium] Vertical positions are off for some Arabic glyphs on Linux
2244         https://bugs.webkit.org/show_bug.cgi?id=59182
2245
2246         Use vertical offsets of the shaping results.
2247
2248         Test: platform/chromium-linux/fast/text/international/arabic-vertical-offset.html
2249
2250         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
2251         (WebCore::ComplexTextController::ComplexTextController):
2252         Added initialization of m_startingY.
2253         (WebCore::ComplexTextController::nextScriptRun):
2254         Followed the change in handling positions.
2255         (WebCore::ComplexTextController::deleteGlyphArrays): Ditto.
2256         (WebCore::ComplexTextController::createGlyphArrays): Ditto.
2257         (WebCore::ComplexTextController::resetGlyphArrays): Ditto.
2258         (WebCore::ComplexTextController::setGlyphPositions):
2259         Changed to use vertical offsets as same as horizontal offsets.
2260         * platform/graphics/chromium/ComplexTextControllerLinux.h:
2261         Removed m_xPositions and Added m_positions and m_startingY.
2262         (WebCore::ComplexTextController::positions): Added.
2263         * platform/graphics/chromium/FontLinux.cpp:
2264         Followed the change in ComplexTextController.
2265         (WebCore::Font::drawComplexText): Ditto.
2266         (WebCore::Font::floatWidthForComplexText): Ditto.
2267         (WebCore::glyphIndexForXPositionInScriptRun): Ditto.
2268         (WebCore::Font::offsetForPositionForComplexText): Ditto.
2269         (WebCore::Font::selectionRectForComplexText): Ditto.
2270
2271 2011-04-26  Levi Weintraub  <leviw@chromium.org>
2272
2273         Reviewed by Eric Seidel.
2274
2275         Root element should establish a new block formatting context
2276         https://bugs.webkit.org/show_bug.cgi?id=54573
2277
2278         Always expanding the root renderer to include overhanging floats.
2279
2280         Test: fast/block/float/float-overhangs-root.html
2281
2282         * rendering/RenderBlock.cpp:
2283         (WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
2284
2285 2011-04-26  Dawit Alemayehu  <adawit@kde.org>
2286
2287         Reviewed by Andreas Kling.
2288
2289         [Qt] Improper rendering of <button> tag when it contains a <br>
2290         https://bugs.webkit.org/show_bug.cgi?id=50521
2291
2292         Test: platform/qt/fast/forms/button-line-break.html
2293
2294         * platform/qt/RenderThemeQt.cpp:
2295         (WebCore::RenderThemeQt::computeSizeBasedOnStyle):
2296         (WebCore::RenderThemeQt::setButtonPadding):
2297
2298 2011-04-26  James Robinson  <jamesr@chromium.org>
2299
2300         Reviewed by Kenneth Russell.
2301
2302         [chromium] Only reset tiles if the LayerRendererChromium is actually changing
2303         https://bugs.webkit.org/show_bug.cgi?id=59572
2304
2305         http://trac.webkit.org/changeset/84981/ caused us to reset the tiles
2306         when LayerRendererChromium was set.  We set this pointer every frame
2307         and should only reset the tiles if the new LayerRendererChromium is
2308         different from the old one (indicating a context loss), not just reset
2309         on every frame.
2310
2311         * platform/graphics/chromium/LayerTilerChromium.cpp:
2312         (WebCore::LayerTilerChromium::setLayerRenderer):
2313         * platform/graphics/chromium/LayerTilerChromium.h:
2314
2315 2011-04-26  Dinesh K Garg  <dineshg@codeaurora.org>
2316
2317         Reviewed by Eric Seidel.
2318
2319         beginElement broken by setAttribute
2320         https://bugs.webkit.org/show_bug.cgi?id=26019
2321
2322         Test: svg/animations/animate-beginElementAt.svg
2323
2324         * svg/SVGAnimationElement.cpp:
2325         (WebCore::SVGAnimationElement::attributeChanged):
2326         Reset the animation state here as the rest of the code reads it and would still
2327         think we are animating when we are not.
2328
2329         * svg/animation/SVGSMILElement.h:
2330         (WebCore::SVGSMILElement::setInactive): Helper function to reset the state.
2331
2332 2011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2333
2334         Unreviewed, rolling out r84989.
2335         http://trac.webkit.org/changeset/84989
2336         https://bugs.webkit.org/show_bug.cgi?id=59566
2337
2338         REGRESSION (r84989): Lots of vertical text tests failing on
2339         windows (Requested by weinig on #webkit).
2340
2341         * platform/graphics/FontPlatformData.h:
2342         * platform/graphics/win/FontCacheWin.cpp:
2343         (WebCore::FontCache::getFontDataForCharacters):
2344         (WebCore::FontCache::createFontPlatformData):
2345         * platform/graphics/win/FontCustomPlatformData.cpp:
2346         (WebCore::FontCustomPlatformData::fontPlatformData):
2347         * platform/graphics/win/FontPlatformDataCGWin.cpp:
2348         (WebCore::FontPlatformData::FontPlatformData):
2349         * platform/graphics/win/FontPlatformDataWin.cpp:
2350         (WebCore::FontPlatformData::FontPlatformData):
2351
2352 2011-04-26  Sam Weinig  <sam@webkit.org>
2353
2354         Reviewed by Eric Seidel.
2355
2356         Try again:
2357             Remove JSDOMWrapperWithGlobalPointer now that all JSDOMWrappers have global objects
2358             https://bugs.webkit.org/show_bug.cgi?id=59310
2359
2360         * bindings/js/JSDOMBinding.h:
2361         (WebCore::DOMConstructorObject::DOMConstructorObject):
2362         * bindings/js/JSDOMWrapper.h:
2363         (WebCore::JSDOMWrapper::globalObject):
2364         (WebCore::JSDOMWrapper::scriptExecutionContext):
2365         (WebCore::JSDOMWrapper::createStructure):
2366         (WebCore::JSDOMWrapper::JSDOMWrapper):
2367         * bindings/scripts/CodeGeneratorJS.pm:
2368
2369 2011-04-26  Sam Weinig  <sam@webkit.org>
2370
2371         Reviewed by David Hyatt.
2372
2373         Remove Datagrid from the tree
2374         https://bugs.webkit.org/show_bug.cgi?id=59543
2375
2376         * Android.derived.jscbindings.mk:
2377         * Android.derived.v8bindings.mk:
2378         * Android.jscbindings.mk:
2379         * Android.v8bindings.mk:
2380         * CMakeLists.txt:
2381         * CodeGenerators.pri:
2382         * Configurations/FeatureDefines.xcconfig:
2383         * DerivedSources.cpp:
2384         * DerivedSources.make:
2385         * GNUmakefile.am:
2386         * GNUmakefile.list.am:
2387         * UseJSC.cmake:
2388         * WebCore.gypi:
2389         * WebCore.pro:
2390         * WebCore.vcproj/WebCore.vcproj:
2391         * WebCore.xcodeproj/project.pbxproj:
2392         * bindings/js/JSBindingsAllInOne.cpp:
2393         * bindings/js/JSDataGridColumnListCustom.cpp: Removed.
2394         * bindings/js/JSDataGridDataSource.cpp: Removed.
2395         * bindings/js/JSDataGridDataSource.h: Removed.
2396         * bindings/js/JSHTMLDataGridElementCustom.cpp: Removed.
2397         * bindings/v8/V8DataGridDataSource.cpp: Removed.
2398         * bindings/v8/V8DataGridDataSource.h: Removed.
2399         * bindings/v8/custom/V8DataGridColumnListCustom.cpp: Removed.
2400         * bindings/v8/custom/V8HTMLDataGridElementCustom.cpp: Removed.
2401         * css/CSSStyleSelector.cpp:
2402         * css/CSSStyleSelector.h:
2403         * css/html.css:
2404         (input, textarea, keygen, select, button, isindex):
2405         (select:disabled, keygen:disabled, optgroup:disabled, option:disabled):
2406         * editing/htmlediting.cpp:
2407         (WebCore::canHaveChildrenForEditing):
2408         * features.pri:
2409         * html/DOMDataGridDataSource.cpp: Removed.
2410         * html/DOMDataGridDataSource.h: Removed.
2411         * html/DataGridColumn.cpp: Removed.
2412         * html/DataGridColumn.h: Removed.
2413         * html/DataGridColumn.idl: Removed.
2414         * html/DataGridColumnList.cpp: Removed.
2415         * html/DataGridColumnList.h: Removed.
2416         * html/DataGridColumnList.idl: Removed.
2417         * html/DataGridDataSource.h: Removed.
2418         * html/HTMLDataGridCellElement.cpp: Removed.
2419         * html/HTMLDataGridCellElement.h: Removed.
2420         * html/HTMLDataGridCellElement.idl: Removed.
2421         * html/HTMLDataGridColElement.cpp: Removed.
2422         * html/HTMLDataGridColElement.h: Removed.
2423         * html/HTMLDataGridColElement.idl: Removed.
2424         * html/HTMLDataGridElement.cpp: Removed.
2425         * html/HTMLDataGridElement.h: Removed.
2426         * html/HTMLDataGridElement.idl: Removed.
2427         * html/HTMLDataGridRowElement.cpp: Removed.
2428         * html/HTMLDataGridRowElement.h: Removed.
2429         * html/HTMLDataGridRowElement.idl: Removed.
2430         * html/HTMLElement.cpp:
2431         (WebCore::HTMLElement::ieForbidsInsertHTML):
2432         * html/HTMLElementsAllInOne.cpp:
2433         * html/HTMLTagNames.in:
2434         * page/DOMWindow.idl:
2435         * rendering/RenderBox.cpp:
2436         (WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
2437         * rendering/RenderDataGrid.cpp: Removed.
2438         * rendering/RenderDataGrid.h: Removed.
2439         * rendering/RenderingAllInOne.cpp:
2440
2441 2011-04-26  Chun-Lung Huang  <alvincl.huang@gmail.com>
2442
2443         Reviewed by Adele Peterson.
2444
2445         On WebKit (Windows), glyphs in vertical text tests are rotated 90
2446         degrees clockwise.  https://bugs.webkit.org/show_bug.cgi?id=48459
2447
2448         This platform dependent patch makes WebKit (Windows) show the
2449         vertical writing text correctly.  Job was done by adding a prefix '@'
2450         in front of the font family name (Windows Only). No new tests added.
2451         Some layout tests images:
2452         http://www.flickr.com/photos/burorly/sets/72157625585506341/
2453
2454         * platform/graphics/FontPlatformData.h:
2455         * platform/graphics/win/FontCacheWin.cpp:
2456         (WebCore::FontCache::getFontDataForCharacters):
2457         (WebCore::FontCache::createFontPlatformData):
2458         * platform/graphics/win/FontCustomPlatformData.cpp:
2459         (WebCore::FontCustomPlatformData::fontPlatformData):
2460         * platform/graphics/win/FontPlatformDataCGWin.cpp:
2461         (WebCore::FontPlatformData::FontPlatformData):
2462         * platform/graphics/win/FontPlatformDataWin.cpp:
2463         (WebCore::FontPlatformData::FontPlatformData):
2464
2465 2011-04-26  Jer Noble  <jer.noble@apple.com>
2466
2467         Reviewed by Brady Eidson.
2468
2469         HTML5 video fullscreen transition causes an audio stutter
2470         https://bugs.webkit.org/show_bug.cgi?id=59544
2471
2472         AVFoundation will momentarily stutter when you disconnect a AVPlayerLayer 
2473         from its AVPlayer.  Since you shouldn't necessarily have to destroy the
2474         layer to render it invisible, instead just set the layer as hidden.
2475
2476         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
2477         (WebCore::MediaPlayerPrivateAVFoundation::setVisible): Call through to platformSetVisible().
2478         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
2479         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
2480         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
2481         (WebCore::MediaPlayerPrivateAVFoundationObjC::platformSetVisible): Added.
2482
2483 2011-04-26  Christian Dywan  <christian@lanedo.com>
2484
2485         Reviewed by Eric Seidel.
2486
2487         Extra separator after Select All in context menu
2488         https://bugs.webkit.org/show_bug.cgi?id=54092
2489
2490         * page/ContextMenuController.cpp: Move separator to non-GTK+
2491             port guards since it is for the spelling options menu
2492             which the GTK+ port doesn't use.
2493
2494 2011-04-26  James Robinson  <jamesr@chromium.org>
2495
2496         Reviewed by Kenneth Russell.
2497
2498         [chromium] Clear out LayerTilerChromium's tiles on lost context
2499         https://bugs.webkit.org/show_bug.cgi?id=59233
2500
2501         Clears out the LayerTilerChromium's tile set when the LayerRendererChromium is reset.  In this case the tiles are
2502         no longer valid since they exist in the previous LayerRendererChromium.
2503
2504         Will be tested by a chrome test since we don't have any way to exercise the context lost case in layout tests.
2505
2506         * platform/graphics/chromium/LayerTilerChromium.h:
2507         (WebCore::LayerTilerChromium::setLayerRenderer):
2508
2509 2011-04-26  Martin Robinson  <mrobinson@igalia.com>
2510
2511         Reviewed by Dirk Schulze.
2512
2513         [GTK] Flash in divs with overflow: auto is not positioned and clipped properly
2514         https://bugs.webkit.org/show_bug.cgi?id=57644
2515
2516         Manual test: plugins/windowed-in-iframe-2.html
2517
2518         * manual-tests/plugins/windowed-in-iframe-2.html: Added.
2519         * platform/gtk/WidgetGtk.cpp:
2520         (WebCore::Widget::setFrameRect): Like the Qt port, we notify the widget via frameRectsChanged.
2521         * plugins/PluginView.h: Added helper method to set the allocation and clip.
2522         * plugins/gtk/PluginViewGtk.cpp:
2523         (WebCore::PluginView::setNPWindowIfNeeded):Call the helper method instead of setting
2524         the allocation immediately. Bring this method into sync with the implementation in
2525         the Qt port.
2526         (WebCore::PluginView::updateWidgetAllocationAndClip): Added.
2527         (WebCore::PluginView::plugAddedCallback): Call the new helper method.
2528
2529 2011-04-26  Martin Robinson  <mrobinson@igalia.com>
2530
2531         Reviewed by Eric Seidel.
2532
2533         [GTK]  fast/block/float/overhanging-tall-block.html crashes in the bots
2534         https://bugs.webkit.org/show_bug.cgi?id=58818
2535
2536         Prevent allocating scratch buffers larger than the target GdkDrawable
2537         when creating a WidgetRenderingContext. This prevents incredibly large
2538         widgets from crashing the X Server. This change also allowed greatly
2539         simplifying the way that the painting offset is calculated.
2540
2541         * platform/gtk/WidgetRenderingContext.cpp:
2542         (WebCore::WidgetRenderingContext::WidgetRenderingContext): Never allocate a pixmap
2543         larger than the target GdkDrawable.
2544         (WebCore::WidgetRenderingContext::~WidgetRenderingContext): Calculate the offset of the
2545         blit by looking at the location of the target rect itself, rather than delaying the
2546         calculation up to this point.
2547         (WebCore::WidgetRenderingContext::calculateClipRect): Added.
2548         (WebCore::WidgetRenderingContext::gtkPaintBox): Use the new calculateClipRectHelper.
2549         (WebCore::WidgetRenderingContext::gtkPaintFlatBox): Ditto.
2550         (WebCore::WidgetRenderingContext::gtkPaintFocus): Ditto.
2551         (WebCore::WidgetRenderingContext::gtkPaintSlider): Ditto.
2552         (WebCore::WidgetRenderingContext::gtkPaintCheck): Ditto.
2553         (WebCore::WidgetRenderingContext::gtkPaintOption): Ditto.
2554         (WebCore::WidgetRenderingContext::gtkPaintShadow): Ditto.
2555         (WebCore::WidgetRenderingContext::gtkPaintArrow): Ditto.
2556         (WebCore::WidgetRenderingContext::gtkPaintVLine): Ditto.
2557         * platform/gtk/WidgetRenderingContext.h: Remove some now unused members. Add
2558         a member to store the IntSize mapping from the coordinates of the target to the coordinates
2559         of the scratch buffer.
2560
2561 2011-04-26  Patrick Gansterer  <paroga@webkit.org>
2562
2563         Reviewed by Adam Barth.
2564
2565         Respect charset in handleDataURL
2566         https://bugs.webkit.org/show_bug.cgi?id=47746
2567
2568         Original patch by Kwang Yul Seo <skyul@company100.net>
2569
2570         We must use TextEncoding(charset) to encode data URL again. Otherwise TextEncoding::encode()
2571         returns an empty string because encoding name is not specified.
2572
2573         Also use "US-ASCII" as fallback charset as extractCharsetFromMediaType can be empty.
2574
2575         This change fixes over 130 layout tests when running GTK port with cURL network backend.
2576
2577         * platform/network/DataURL.cpp:
2578         (WebCore::handleDataURL):
2579
2580 2011-04-26  Anders Carlsson  <andersca@apple.com>
2581
2582         Fix clang++ build.
2583
2584         You can never have too many casts!
2585
2586         * accessibility/mac/AccessibilityObjectWrapper.mm:
2587         (-[AccessibilityObjectWrapper position]):
2588         * editing/mac/SelectionControllerMac.mm:
2589         (WebCore::accessibilityConvertScreenRect):
2590
2591 2011-04-26  Chris Rogers  <crogers@google.com>
2592
2593         Reviewed by Kenneth Russell.
2594
2595         Fix web audio build on mac port
2596         https://bugs.webkit.org/show_bug.cgi?id=59355
2597
2598         No new tests since audio API is not yet implemented.
2599
2600         * WebCore.xcodeproj/project.pbxproj:
2601         * bindings/js/JSAudioContextCustom.cpp:
2602         (WebCore::JSAudioContext::visitChildren):
2603         * bindings/js/JSJavaScriptAudioNodeCustom.cpp:
2604         (WebCore::JSJavaScriptAudioNode::visitChildren):
2605         * webaudio/AudioContext.idl:
2606
2607 2011-04-26  Chris Rogers  <crogers@google.com>
2608
2609         Reviewed by Kenneth Russell.
2610
2611         Add FFTFrame implementation for FFmpeg
2612         https://bugs.webkit.org/show_bug.cgi?id=59408
2613
2614         No new tests since audio API is not yet implemented.
2615
2616         * WebCore.gyp/WebCore.gyp:
2617         * WebCore.gypi:
2618         * platform/audio/FFTFrame.h:
2619         * platform/audio/FFTFrameStub.cpp:
2620         * platform/audio/ffmpeg: Added.
2621         * platform/audio/ffmpeg/FFTFrameFFMPEG.cpp: Added.
2622         (WebCore::FFTFrame::FFTFrame):
2623         (WebCore::FFTFrame::initialize):
2624         (WebCore::FFTFrame::cleanup):
2625         (WebCore::FFTFrame::~FFTFrame):
2626         (WebCore::FFTFrame::multiply):
2627         (WebCore::FFTFrame::doFFT):
2628         (WebCore::FFTFrame::doInverseFFT):
2629         (WebCore::FFTFrame::realData):
2630         (WebCore::FFTFrame::imagData):
2631         (WebCore::FFTFrame::getUpToDateComplexData):
2632         (WebCore::FFTFrame::contextForSize):
2633         * platform/audio/mac/FFTFrameMac.cpp:
2634         * webaudio/ConvolverNode.cpp:
2635
2636 2011-04-26  Jeff Miller  <jeffm@apple.com>
2637
2638         Add a newline at the end of SVGFEDropShadowElement.idl.
2639
2640         * svg/SVGFEDropShadowElement.idl:
2641
2642 2011-04-26  Mihai Parparita  <mihaip@chromium.org>
2643
2644         Reviewed by Eric Seidel.
2645
2646         InlineBox.h shouldn't include RenderBR.h
2647         https://bugs.webkit.org/show_bug.cgi?id=59480
2648
2649         Per bug 59348 RenderBR.h is a "top header" by include * size, because
2650         InlineBox.h includes it. There's no reason why it has to.
2651
2652         * rendering/InlineBox.h:
2653         * rendering/InlineTextBox.cpp:
2654         * rendering/RenderBlock.h:
2655
2656 2011-04-26  Sam Weinig  <sam@webkit.org>
2657
2658         Nope, roll out r84950 and r84952. Working on a laptop is clearly not something
2659         I should do.
2660
2661         * bindings/js/JSDOMBinding.h:
2662         (WebCore::JSDOMWrapperWithGlobalPointer::globalObject):
2663         (WebCore::JSDOMWrapperWithGlobalPointer::scriptExecutionContext):
2664         (WebCore::JSDOMWrapperWithGlobalPointer::createStructure):
2665         (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer):
2666         (WebCore::DOMConstructorObject::DOMConstructorObject):
2667         * bindings/js/JSDOMWrapper.h:
2668         (WebCore::JSDOMWrapper::JSDOMWrapper):
2669         * bindings/scripts/CodeGeneratorJS.pm:
2670
2671 2011-04-26  Sam Weinig  <sam@webkit.org>
2672
2673         Fix build.
2674
2675         * bindings/js/JSDOMWrapper.h:
2676         (WebCore::JSDOMWrapper::globalObject):
2677
2678 2011-04-26  Sam Weinig  <sam@webkit.org>
2679
2680         Roll r84945 back in with infinite recursion removed.
2681
2682         * bindings/js/JSDOMBinding.h:
2683         (WebCore::DOMConstructorObject::DOMConstructorObject):
2684         * bindings/js/JSDOMWrapper.h:
2685         (WebCore::JSDOMWrapper::globalObject):
2686         (WebCore::JSDOMWrapper::scriptExecutionContext):
2687         (WebCore::JSDOMWrapper::createStructure):
2688         (WebCore::JSDOMWrapper::JSDOMWrapper):
2689         * bindings/scripts/CodeGeneratorJS.pm:
2690
2691 2011-04-26  Sam Weinig  <sam@webkit.org>
2692
2693         Rollout previous patch. It broke stuff.
2694
2695         * bindings/js/JSDOMBinding.h:
2696         (WebCore::JSDOMWrapperWithGlobalPointer::globalObject):
2697         (WebCore::JSDOMWrapperWithGlobalPointer::scriptExecutionContext):
2698         (WebCore::JSDOMWrapperWithGlobalPointer::createStructure):
2699         (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer):
2700         (WebCore::DOMConstructorObject::DOMConstructorObject):
2701         * bindings/js/JSDOMWrapper.h:
2702         (WebCore::JSDOMWrapper::JSDOMWrapper):
2703         * bindings/scripts/CodeGeneratorJS.pm:
2704
2705 2011-04-26  Sam Weinig  <sam@webkit.org>
2706
2707         Reviewed by Maciej Stachowiak.
2708
2709         Remove JSDOMWrapperWithGlobalPointer now that all JSDOMWrappers have global objects
2710         https://bugs.webkit.org/show_bug.cgi?id=59310
2711
2712         * bindings/js/JSDOMBinding.h:
2713         (WebCore::DOMConstructorObject::DOMConstructorObject):
2714         * bindings/js/JSDOMWrapper.h:
2715         (WebCore::JSDOMWrapper::globalObject):
2716         (WebCore::JSDOMWrapper::scriptExecutionContext):
2717         (WebCore::JSDOMWrapper::createStructure):
2718         (WebCore::JSDOMWrapper::JSDOMWrapper):
2719         Merge JSDOMWrapperWithGlobalPointer with JSDOMWrapper.
2720
2721         * bindings/scripts/CodeGeneratorJS.pm:
2722         Make JSDOMWrapper the base class.
2723
2724 2011-04-26  Dan Bernstein  <mitz@apple.com>
2725
2726         Reviewed by Mark Rowe.
2727
2728         Choose the compiler based on the Xcode version for Snow Leopard debug builds.
2729
2730         * Configurations/Base.xcconfig:
2731         * Configurations/CompilerVersion.xcconfig: Added.
2732
2733 2011-04-26  Adrienne Walker  <enne@google.com>
2734
2735         Reviewed by Geoffrey Garen.
2736
2737         Use OwnArrayPtr<T> instead of OwnPtr<T*> in ScopeTracer
2738         https://bugs.webkit.org/show_bug.cgi?id=59469
2739
2740         * platform/chromium/TraceEvent.h:
2741         (WebCore::internal::ScopeTracer::ScopeTracer):
2742
2743 2011-04-25  Geoffrey Garen  <ggaren@apple.com>
2744
2745         Reviewed by Oliver Hunt.
2746
2747         Nixed special finalizer handling for WebCore strings
2748         https://bugs.webkit.org/show_bug.cgi?id=59425
2749
2750         Not needed anymore, since weak handles have finalizers.
2751
2752         * WebCore.exp.in: Exports!
2753
2754         * bindings/js/DOMWrapperWorld.cpp:
2755         (WebCore::JSStringOwner::finalize):
2756         (WebCore::DOMWrapperWorld::DOMWrapperWorld): Use a weak handle finalizer,
2757         so we don't need special treatment anymore.
2758
2759         * bindings/js/DOMWrapperWorld.h:
2760         (WebCore::JSStringOwner::JSStringOwner):
2761         (WebCore::DOMWrapperWorld::stringWrapperOwner): Use a HashMap of Weak<T>
2762         instead of a WeakGCMap, so we can specify a custom finalizer.
2763
2764         * bindings/js/JSDOMBinding.cpp:
2765         (WebCore::jsStringSlowCase):
2766         * bindings/js/JSDOMBinding.h:
2767         (WebCore::jsString): Updated for string map change.
2768
2769 2011-04-26  David Kilzer  <ddkilzer@apple.com>
2770
2771         <http://webkit.org/b/59372> Restore user default for enabling HTTP pipelining
2772
2773         Reviewed by Antti Koivisto.
2774
2775         To enable HTTP pipelining post-SnowLeopard, use this command:
2776
2777             defaults write BUNDLE.ID WebKitEnableHTTPPipelining -bool YES
2778
2779         * platform/network/cf/ResourceRequestCFNet.cpp:
2780         (WebCore::readBooleanPreference): Re-added.  Originally added in
2781         r76756 and removed in r84120.
2782         (WebCore::initializeMaximumHTTPConnectionCountPerHost): Enable
2783         HTTP pipelining if use default is set to true.  Added macro
2784         guards to match those in ResourceRequestMac.mm.
2785
2786 2011-04-26  Antti Koivisto  <antti@apple.com>
2787
2788         Reviewed by Adele Peterson.
2789
2790         Don't strip fragments from file: urls in memory cache
2791         https://bugs.webkit.org/show_bug.cgi?id=59463
2792         <rdar://problem/9231130>
2793
2794         Some clients expect file: resources to be unique based on fragment identifier. 
2795         Limit the changes in http://trac.webkit.org/changeset/74107 to the HTTP protocol only
2796
2797         Test: fast/loader/file-protocol-fragment.html
2798
2799         * loader/cache/MemoryCache.cpp:
2800         (WebCore::MemoryCache::removeFragmentIdentifierIfNeeded):
2801
2802 2011-04-26  David Levin  <levin@chromium.org>
2803
2804         Reviewed by Darin Adler.
2805
2806         Fix more strict OwnPtr in WebCore (round N).
2807         https://bugs.webkit.org/show_bug.cgi?id=59464
2808
2809         * dom/Document.cpp:
2810         (WebCore::Document::Document):
2811         (WebCore::Document::attach):
2812         * fileapi/FileReader.cpp:
2813         (WebCore::FileReader::terminate):
2814         * loader/DocumentThreadableLoader.cpp:
2815         (WebCore::DocumentThreadableLoader::preflightFailure):
2816         * workers/DefaultSharedWorkerRepository.cpp:
2817         (WebCore::SharedWorkerConnectTask::create):
2818         (WebCore::SharedWorkerScriptLoader::load):
2819
2820 2011-04-26  Ruben  <chromium@hybridsource.org>
2821
2822         Reviewed by Tony Chang.
2823
2824         Change linux ifdefs for Chromium to Unix instead, allowing
2825         new Unix ports to be enabled by default
2826         https://bugs.webkit.org/show_bug.cgi?id=59297
2827
2828         No new tests, just changing preprocessor defines.
2829
2830         * bindings/js/JSInspectorFrontendHostCustom.cpp:
2831         * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
2832         * dom/SelectElement.cpp:
2833         * loader/cache/CachedFont.cpp:
2834         * page/EventHandler.cpp:
2835         * page/chromium/EventHandlerChromium.cpp:
2836         * platform/Scrollbar.cpp:
2837         * platform/chromium/PlatformBridge.h:
2838         * platform/graphics/chromium/FontPlatformData.h:
2839         * platform/graphics/skia/FontCustomPlatformData.cpp:
2840         * platform/graphics/skia/FontCustomPlatformData.h:
2841
2842 2011-04-26  Ryosuke Niwa  <rniwa@webkit.org>
2843
2844         Reviewed by Dan Bernstein.
2845
2846         [RTL] Arabic/AB - after typing a date, cursors doesn't go back
2847         https://bugs.webkit.org/show_bug.cgi?id=49111
2848
2849         Even when the offset corresponds to a position visually left of the box
2850         and there aren't any inline boxes on the left, the previous/next position
2851         may still correspond to some position in the same line.
2852
2853         The bug was caused by our ignoring such cases. Fixed the bug by comparing
2854         previous/next position's inline box to the current box. If they match,
2855         then we stay on the same position because moving to the left visually at
2856         the left edge should not result in a position on the same line.
2857
2858         Also fixed a bug that WebKit uses offsets that are not extrema when moved to
2859         the left edge or to the right edge, and a bug that WebKit could not move to
2860         the left from 12^3 CBA abc to 123 C^BA abc (there is no offset between 3 and C).
2861
2862         Test cases are added to editing/selection/move-left-right.html
2863
2864         * editing/VisiblePosition.cpp:
2865         (WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
2866         (WebCore::VisiblePosition::rightVisuallyDistinctCandidate):
2867
2868 2011-04-26  Gabor Loki  <loki@webkit.org>
2869
2870         Reviewed by Csaba Osztrogon√°c.
2871
2872         Speeding up SVG filters with multicore (SMP) support
2873         https://bugs.webkit.org/show_bug.cgi?id=43903
2874
2875         Some SVG filters execute a huge number of pixel manipulations, which
2876         cannot be sped up by graphics accelerators, since their algorithm is
2877         too complex. Using the power of Symmetric Multi Processing (SMP) we
2878         can split up a task to smaller (data independent) tasks, which can be
2879         executed independently.
2880
2881         The ParallelJobs framework provides a simple way for distributed
2882         programming. The framework is based on WebKit's threading infrastructure,
2883         Open Multi-Processing's (OpenMP) API, and libdispatch API.
2884
2885         * ForwardingHeaders/wtf/ParallelJobs.h: Added.
2886         * platform/graphics/filters/FETurbulence.cpp:
2887         (WebCore::FETurbulence::PaintingData::PaintingData):
2888         (WebCore::FETurbulence::noise2D):
2889         (WebCore::FETurbulence::calculateTurbulenceValueForPoint):
2890         (WebCore::FETurbulence::fillRegion):
2891         (WebCore::FETurbulence::fillRegionWorker):
2892         (WebCore::FETurbulence::apply):
2893         * platform/graphics/filters/FETurbulence.h:
2894
2895 2011-04-26  Pavel Feldman  <pfeldman@google.com>
2896
2897         Reviewed by Yury Semikhatsky.
2898
2899         Web Inspector: close button is off in docked mode on a mac.
2900         https://bugs.webkit.org/show_bug.cgi?id=59453
2901
2902         * inspector/front-end/inspector.css:
2903         (.toolbar-item.close-left):
2904
2905 2011-04-26  Pavel Feldman  <pfeldman@google.com>
2906
2907         Reviewed by Yury Semikhatsky.
2908
2909         Web Inspector: New Style is not working (UI glitch)
2910         https://bugs.webkit.org/show_bug.cgi?id=59451
2911
2912         * inspector/InspectorDOMStorageAgent.cpp:
2913         (WebCore::InspectorDOMStorageAgent::setFrontend):
2914         * inspector/front-end/AuditRules.js:
2915         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
2916         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.externalStylesheetsReceived):
2917         (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.inlineStylesReceived):
2918         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.cssBeforeInlineReceived):
2919         (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.lateStylesReceived):
2920         * inspector/front-end/CSSStyleModel.js:
2921         (WebInspector.CSSStyleModel.prototype.setRuleSelector):
2922         (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
2923         (WebInspector.CSSStyleModel.prototype.addRule):
2924         (WebInspector.CSSStyleModel.prototype.addRule.callback):
2925         (WebInspector.CSSStyleModel.prototype._documentElementId):
2926         * inspector/front-end/DOMAgent.js:
2927         (WebInspector.DOMNode.prototype._addAttribute):
2928         (WebInspector.DOMNode.prototype.documentElement):
2929         * inspector/front-end/ResourceTreeModel.js:
2930         (WebInspector.PageDispatcher.prototype.frameDetached):
2931         * inspector/front-end/StylesSidebarPane.js:
2932         (WebInspector.StylesSidebarPane.prototype._createNewRule):
2933
2934 2011-04-26  Pavel Feldman  <pfeldman@google.com>
2935
2936         Reviewed by Yury Semikhatsky.
2937
2938         Web Inspector: introduce DOMStorage::enable and disable.
2939         https://bugs.webkit.org/show_bug.cgi?id=59445
2940
2941         * inspector/Inspector.json:
2942         * inspector/InspectorAgent.cpp:
2943         (WebCore::InspectorAgent::InspectorAgent):
2944         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
2945         * inspector/InspectorDOMStorageAgent.cpp:
2946         (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
2947         (WebCore::InspectorDOMStorageAgent::restore):
2948         (WebCore::InspectorDOMStorageAgent::enable):
2949         (WebCore::InspectorDOMStorageAgent::disable):
2950         * inspector/InspectorDOMStorageAgent.h:
2951         (WebCore::InspectorDOMStorageAgent::create):
2952         * inspector/front-end/DOMStorage.js:
2953         (WebInspector.DOMStorageDispatcher.prototype.addDOMStorage):
2954         * inspector/front-end/ResourcesPanel.js:
2955         (WebInspector.ResourcesPanel.prototype._reset):
2956         * inspector/front-end/inspector.js:
2957
2958 2011-04-26  Pavel Feldman  <pfeldman@google.com>
2959
2960         Reviewed by Yury Semikhatsky.
2961
2962         Web Inspector: extract Page agent dispatcher into the ResourceTreeModel.
2963         https://bugs.webkit.org/show_bug.cgi?id=59440
2964
2965         * inspector/Inspector.json:
2966         * inspector/InspectorAgent.cpp:
2967         (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
2968         * inspector/InspectorPageAgent.cpp:
2969         (WebCore::InspectorPageAgent::setFrontend):
2970         (WebCore::InspectorPageAgent::frameNavigated):
2971         * inspector/InspectorPageAgent.h:
2972         * inspector/front-end/AuditsPanel.js:
2973         (WebInspector.AuditsPanel):
2974         (WebInspector.AuditsPanel.prototype._onLoadEventFired):
2975         (WebInspector.AuditsPanel.prototype._domContentLoadedEventFired):
2976         * inspector/front-end/CSSStyleModel.js:
2977         (WebInspector.CSSStyleModelResourceBinding):
2978         (WebInspector.CSSStyleModelResourceBinding.prototype._inspectedURLChanged):
2979         * inspector/front-end/DOMBreakpointsSidebarPane.js:
2980         (WebInspector.DOMBreakpointsSidebarPane):
2981         (WebInspector.DOMBreakpointsSidebarPane.prototype._inspectedURLChanged):
2982         * inspector/front-end/DOMStorage.js:
2983         (WebInspector.DOMStorageDispatcher.prototype.addDOMStorage):
2984         * inspector/front-end/ExtensionServer.js:
2985         (WebInspector.ExtensionServer.prototype._inspectedURLChanged):
2986         (WebInspector.ExtensionServer.prototype.initExtensions):
2987         * inspector/front-end/NetworkPanel.js:
2988         (WebInspector.NetworkPanel):
2989         (WebInspector.NetworkPanel.prototype._onLoadEventFired):
2990         (WebInspector.NetworkPanel.prototype._domContentLoadedEventFired):
2991         (WebInspector.NetworkPanel.prototype._frameNavigated):
2992         * inspector/front-end/ResourceTreeModel.js:
2993         (WebInspector.ResourceTreeModel):
2994         (WebInspector.ResourceTreeModel.prototype._processCachedResources):
2995         (WebInspector.ResourceTreeModel.prototype._dispatchInspectedURLChanged):
2996         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
2997         (WebInspector.ResourceTreeModel.prototype._frameDetached):
2998         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
2999         (WebInspector.PageDispatcher):
3000         (WebInspector.PageDispatcher.prototype.domContentEventFired):
3001         (WebInspector.PageDispatcher.prototype.loadEventFired):
3002         (WebInspector.PageDispatcher.prototype.frameNavigated):
3003         (WebInspector.PageDispatcher.prototype.frameDetached):
3004         * inspector/front-end/ResourcesPanel.js:
3005         (WebInspector.ResourcesPanel):
3006         (WebInspector.ResourcesPanel.prototype._onLoadEventFired):
3007         (WebInspector.ResourcesPanel.prototype._frameNavigated):
3008         * inspector/front-end/inspector.js:
3009
3010 2011-04-26  Csaba Osztrogon√°c  <ossy@webkit.org>
3011
3012         Unreviewed rollout r84877 and StyleRareInheritedData.cpp changes of r84892,
3013         because it broke transitions/multiple-text-shadow-transition.html
3014
3015         Fix OwnPtr strict errors in RenderStyle and make StyleRareInheritedData::textShadow an OwnPtr
3016         https://bugs.webkit.org/show_bug.cgi?id=59377
3017
3018         * css/CSSStyleSelector.cpp:
3019         (WebCore::CSSStyleSelector::applyProperty):
3020         * page/animation/AnimationBase.cpp:
3021         (WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
3022         (WebCore::PropertyWrapperShadow::blend):
3023         * rendering/style/RenderStyle.cpp:
3024         (WebCore::RenderStyle::setTextShadow):
3025         (WebCore::RenderStyle::setBoxShadow):
3026         * rendering/style/RenderStyle.h:
3027         (WebCore::InheritedFlags::textShadow):
3028         * rendering/style/StyleRareInheritedData.cpp:
3029         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
3030         (WebCore::StyleRareInheritedData::~StyleRareInheritedData):
3031         * rendering/style/StyleRareInheritedData.h:
3032         * rendering/style/StyleRareNonInheritedData.cpp:
3033         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
3034
3035 2011-04-26  Mihai Parparita  <mihaip@chromium.org>
3036
3037         Reviewed by Adam Barth.
3038
3039         Turn off make built-in implicit rules for derived sources makefile
3040         https://bugs.webkit.org/show_bug.cgi?id=59418
3041
3042         We don't use any of make's built-in implicit rules, turning them off
3043         speeds up parsing of the makefile.
3044
3045         * WebCore.xcodeproj/project.pbxproj:
3046         * gyp/generate-derived-sources.sh:
3047
3048 2011-04-26  Leo Yang  <leo.yang@torchmobile.com.cn>
3049
3050         Reviewed by Nikolas Zimmermann.
3051
3052         ASSERT failure in SVGUseElement
3053         https://bugs.webkit.org/show_bug.cgi?id=59313
3054
3055         In SVGUseElement::insertedIntoDocument(), ASSERT(!m_isPendingResource)
3056         was wrong because the document may not be well-formed.
3057
3058         This patch asserts the element is not pending on resource or the
3059         document is not well-formed.
3060
3061         Test: svg/custom/use-crash-in-non-wellformed-document.svg
3062
3063         * svg/SVGUseElement.cpp:
3064         (WebCore::isWellFormedDocument):
3065         (WebCore::SVGUseElement::insertedIntoDocument):
3066
3067 2011-04-26  Mikhail Naganov  <mnaganov@chromium.org>
3068
3069         Reviewed by Pavel Feldman.
3070
3071         Web Inspector: [Chromium] Fix columns resizing in the detailed heap snapshot grids.
3072         https://bugs.webkit.org/show_bug.cgi?id=59438
3073
3074         * inspector/front-end/DetailedHeapshotView.js:
3075         (WebInspector.DetailedHeapshotView.prototype._changeView):
3076
3077 2011-04-26  David Levin  <levin@chromium.org>
3078
3079         Reviewed by Adam Barth.
3080
3081         Fix a few OwnPtr strict errors in WebCore headers.
3082         https://bugs.webkit.org/show_bug.cgi?id=59431
3083
3084         * bindings/js/ScheduledAction.cpp:
3085         (WebCore::ScheduledAction::create):
3086         * css/MediaQueryMatcher.cpp:
3087         (WebCore::MediaQueryMatcher::prepareEvaluator):
3088         * dom/NodeRareData.h:
3089         (WebCore::NodeListsNodeData::create):
3090         * dom/ScriptRunner.h:
3091         (WebCore::ScriptRunner::create):
3092         * inspector/WorkerInspectorController.cpp:
3093         (WebCore::WorkerInspectorController::connectFrontend):
3094         * loader/icon/IconDatabase.h:
3095         (WebCore::IconDatabase::create):
3096         * platform/graphics/SimpleFontData.cpp:
3097         (WebCore::SimpleFontData::verticalRightOrientationFontData):
3098         (WebCore::SimpleFontData::uprightOrientationFontData):
3099         (WebCore::SimpleFontData::brokenIdeographFontData):
3100         * rendering/style/StyleRareInheritedData.cpp:
3101         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
3102         * rendering/svg/SVGResources.h:
3103         (WebCore::SVGResources::ClipperFilterMaskerData::create):
3104         (WebCore::SVGResources::MarkerData::create):
3105         (WebCore::SVGResources::FillStrokeData::create):
3106         * storage/StorageSyncManager.cpp:
3107         (WebCore::StorageSyncManager::close):
3108         * workers/WorkerContext.cpp:
3109         (WebCore::CloseWorkerContextTask::create):
3110         * workers/WorkerMessagingProxy.cpp:
3111         (WebCore::MessageWorkerContextTask::create):
3112         (WebCore::MessageWorkerTask::create):
3113         (WebCore::WorkerExceptionTask::create):
3114         (WebCore::WorkerContextDestroyedTask::create):
3115         (WebCore::WorkerTerminateTask::create):
3116         (WebCore::WorkerThreadActivityReportTask::create):
3117         * workers/WorkerRunLoop.cpp:
3118         (WebCore::WorkerRunLoop::Task::create):
3119         * workers/WorkerThread.cpp:
3120         (WebCore::WorkerThreadStartupData::create):
3121         (WebCore::WorkerThreadShutdownFinishTask::create):
3122         (WebCore::WorkerThreadShutdownStartTask::create):
3123
3124 2011-04-26  Adam Klein  <adamk@chromium.org>
3125
3126         Reviewed by Adam Barth.
3127
3128         Fix last strict OwnPtr violation under svg/...
3129         https://bugs.webkit.org/show_bug.cgi?id=59429
3130
3131         * svg/SVGDocumentExtensions.cpp:
3132         (WebCore::SVGDocumentExtensions::removePendingResource):
3133
3134 2011-04-26  Adam Barth  <abarth@webkit.org>
3135
3136         Reviewed by David Levin.
3137
3138         Fix more strict OwnPtr violations in WebCore
3139         https://bugs.webkit.org/show_bug.cgi?id=59433
3140
3141         These manifest in the Chromium build.
3142
3143         * bindings/v8/ScriptController.cpp:
3144         (WebCore::ScriptController::ScriptController):
3145         * bindings/v8/ScriptDebugServer.cpp:
3146         (WebCore::ScriptDebugServer::editScriptSource):
3147         * bindings/v8/V8DOMMap.cpp:
3148         (WebCore::DOMDataStoreHandle::DOMDataStoreHandle):
3149         * bindings/v8/V8Proxy.cpp:
3150         (WebCore::V8Proxy::precompileScript):
3151         * bindings/v8/WorkerScriptController.cpp:
3152         (WebCore::WorkerScriptController::WorkerScriptController):
3153         * page/Page.cpp:
3154         (WebCore::Page::Page):
3155         (WebCore::Page::speechInput):
3156         * platform/PlatformGestureRecognizer.cpp:
3157         (WebCore::PlatformGestureRecognizer::create):
3158         * platform/PlatformGestureRecognizer.h:
3159         * platform/graphics/chromium/DrawingBufferChromium.cpp:
3160         (WebCore::DrawingBuffer::DrawingBuffer):
3161         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
3162         (WebCore::CCLayerImpl::CCLayerImpl):
3163         * platform/graphics/gpu/Texture.cpp:
3164         (WebCore::Texture::create):
3165         * platform/image-decoders/bmp/BMPImageDecoder.cpp:
3166         (WebCore::BMPImageDecoder::decodeHelper):
3167         * platform/image-decoders/gif/GIFImageDecoder.cpp:
3168         (WebCore::GIFImageDecoder::decode):
3169         * platform/image-decoders/ico/ICOImageDecoder.cpp:
3170         (WebCore::ICOImageDecoder::decodeAtIndex):
3171         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
3172         (WebCore::JPEGImageDecoder::decode):
3173         * platform/image-decoders/png/PNGImageDecoder.cpp:
3174         (WebCore::PNGImageDecoder::decode):
3175         * storage/chromium/DatabaseTrackerChromium.cpp:
3176         (WebCore::DatabaseTracker::addOpenDatabase):
3177
3178 2011-04-25  David Levin  <levin@chromium.org>
3179
3180         Reviewed by Adam Barth.
3181
3182         Fix OwnPtr strict errors in CrossThreadTask.h
3183         https://bugs.webkit.org/show_bug.cgi?id=59427
3184
3185         * dom/CrossThreadTask.h:
3186         (WebCore::CrossThreadTask1::create):
3187         (WebCore::CrossThreadTask2::create):
3188         (WebCore::CrossThreadTask3::create):
3189         (WebCore::CrossThreadTask4::create):
3190         (WebCore::CrossThreadTask5::create):
3191         (WebCore::CrossThreadTask6::create):
3192         (WebCore::CrossThreadTask7::create):
3193         (WebCore::CrossThreadTask8::create):
3194
3195 2011-04-25  Mark Rowe  <mrowe@apple.com>
3196
3197         Reviewed by Dan Bernstein.
3198
3199         <rdar://problem/9330337> Leak of 'WebCore::ApplyPropertyFillLayer<WebCore::FillSize>'
3200
3201         * css/CSSStyleApplyProperty.cpp:
3202         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): Don't initialize CSSPropertyWebkitMaskSize twice.
3203         * css/CSSStyleApplyProperty.h:
3204         (WebCore::CSSStyleApplyProperty::setPropertyValue): Add some asserts to catch this class of leak.
3205
3206 2011-04-25  Levi Weintraub  <leviw@chromium.org>
3207
3208         Reviewed by Ryosuke Niwa.
3209
3210         REGRESSION: a character appears after tab span when typing immediately before the tab span
3211         https://bugs.webkit.org/show_bug.cgi?id=58132
3212
3213         Correcting the order of operations we use to avoid inserting into invalid positions in
3214         ReplaceSelectionCommand to avoid inserting into tab-spans.
3215
3216         Test: editing/pasteboard/paste-before-tab-span.html
3217
3218         * editing/ReplaceSelectionCommand.cpp:
3219         (WebCore::ReplaceSelectionCommand::doApply): Moving positionOutsideTabSpan to after
3220         positionAvoidingPrecedingNodes, since that function could once again put our position
3221         inside a tab span.
3222
3223 2011-04-25  David Levin  <levin@chromium.org>
3224
3225         Reviewed by Adam Barth.
3226
3227         Fix OwnPtr strict error in ImageBuffer.h
3228         https://bugs.webkit.org/show_bug.cgi?id=59422
3229
3230         * platform/graphics/ImageBuffer.h:
3231         (WebCore::ImageBuffer::create):
3232
3233 2011-04-25  Adam Barth  <abarth@webkit.org>
3234
3235         Reviewed by David Levin.
3236
3237         Fix strict OwnPtr violations and whitelist known-tricky files
3238         https://bugs.webkit.org/show_bug.cgi?id=59421
3239
3240         With this patch, WebCore builds cleanly with strict OwnPtrs.
3241
3242         * dom/MessagePort.cpp:
3243         (WebCore::MessagePort::MessagePort):
3244         * dom/XMLDocumentParserLibxml2.cpp:
3245         * page/ContextMenuController.cpp:
3246         (WebCore::ContextMenuController::ContextMenuController):
3247         (WebCore::ContextMenuController::clearContextMenu):
3248         * page/PluginHalter.cpp:
3249         * platform/graphics/MediaPlayer.cpp:
3250         * platform/network/ResourceRequestBase.cpp:
3251         (WebCore::ResourceRequestBase::adopt):
3252         (WebCore::ResourceRequestBase::copyData):
3253         * svg/SVGDocumentExtensions.cpp:
3254
3255 2011-04-25  David Levin  <levin@chromium.org>
3256
3257         Reviewed by Adam Barth.
3258
3259         Fix OwnPtr strict errors in DatasetDOMStringMap.h.
3260         https://bugs.webkit.org/show_bug.cgi?id=59419
3261
3262         * dom/DatasetDOMStringMap.h:
3263         (WebCore::DatasetDOMStringMap::create):
3264
3265 2011-04-25  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3266
3267         Reviewed by Eric Seidel.
3268
3269         KeyboardEvent.cpp should work with strict OwnPtrs.
3270         https://bugs.webkit.org/show_bug.cgi?id=59403
3271
3272         * dom/KeyboardEvent.cpp:
3273         (WebCore::KeyboardEvent::KeyboardEvent):
3274
3275 2011-04-25  James Robinson  <jamesr@chromium.org>
3276
3277         Reviewed by Eric Seidel.
3278
3279         Fix OwnPtr strict errors in RenderStyle and make StyleRareInheritedData::textShadow an OwnPtr
3280         https://bugs.webkit.org/show_bug.cgi?id=59377
3281
3282         * css/CSSStyleSelector.cpp:
3283         (WebCore::CSSStyleSelector::applyProperty):
3284         * page/animation/AnimationBase.cpp:
3285         (WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
3286         (WebCore::PropertyWrapperShadow::blend):
3287         * rendering/style/RenderStyle.cpp:
3288         (WebCore::RenderStyle::setTextShadow):
3289         (WebCore::RenderStyle::setBoxShadow):
3290         * rendering/style/RenderStyle.h:
3291         (WebCore::InheritedFlags::textShadow):
3292         * rendering/style/StyleRareInheritedData.cpp:
3293         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
3294         (WebCore::StyleRareInheritedData::~StyleRareInheritedData):
3295         * rendering/style/StyleRareInheritedData.h:
3296         * rendering/style/StyleRareNonInheritedData.cpp:
3297         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
3298
3299 2011-04-25  Sheriff Bot  <webkit.review.bot@gmail.com>
3300
3301         Unreviewed, rolling out r84864.
3302         http://trac.webkit.org/changeset/84864
3303         https://bugs.webkit.org/show_bug.cgi?id=59413
3304
3305         Expect result of use-crash-in-non-wellformed-document.svg is
3306         platform dependent (Requested by leoyang on #webkit).
3307
3308         * svg/SVGUseElement.cpp:
3309         (WebCore::SVGUseElement::insertedIntoDocument):
3310
3311 2011-04-25  Leo Yang  <leo.yang@torchmobile.com.cn>
3312
3313         Reviewed by Nikolas Zimmermann.
3314
3315         ASSERT failure in SVGUseElement
3316         https://bugs.webkit.org/show_bug.cgi?id=59313
3317
3318         In SVGUseElement::insertedIntoDocument(), ASSERT(!m_isPendingResource)
3319         was wrong because the document may not be well-formed.
3320
3321         This patch asserts the element is not pending on resource or the
3322         document is not well-formed.
3323
3324         Test: svg/custom/use-crash-in-non-wellformed-document.svg
3325
3326         * svg/SVGUseElement.cpp:
3327         (WebCore::isWellFormedDocument):
3328         (WebCore::SVGUseElement::insertedIntoDocument):
3329
3330 2011-04-25  Igor Oliveira  <igor.oliveira@openbossa.org>
3331
3332         Reviewed by Tony Chang.
3333
3334         Move complexity from DataTransferItemsChromium and DataTransferItemChromium for base class
3335         https://bugs.webkit.org/show_bug.cgi?id=59028
3336
3337         The DataTransferItemsChromium and DataTransferItemChromium code can be reused by other platforms.
3338         Moving the code for base class we can reduce the efforts to support DataTransferItems
3339         element in different platforms.
3340
3341         * Android.mk:
3342         * CMakeLists.txt:
3343         * GNUmakefile.list.am:
3344         * WebCore.gypi:
3345         * WebCore.pro:
3346         * WebCore.vcproj/WebCore.vcproj:
3347         * WebCore.xcodeproj/project.pbxproj:
3348         * dom/DataTransferItem.cpp:
3349         (WebCore::DataTransferItem::DataTransferItem):
3350         (WebCore::DataTransferItem::owner):
3351         (WebCore::DataTransferItem::kind):
3352         (WebCore::DataTransferItem::type):
3353         * dom/DataTransferItem.h:
3354         * dom/DataTransferItems.cpp: Copied from Source/WebCore/platform/chromium/DataTransferItemsChromium.cpp.
3355         (WebCore::DataTransferItems::DataTransferItems):
3356         (WebCore::DataTransferItems::length):
3357         (WebCore::DataTransferItems::item):
3358         (WebCore::DataTransferItems::deleteItem):
3359         (WebCore::DataTransferItems::clear):
3360         (WebCore::DataTransferItems::add):
3361         * dom/DataTransferItems.h:
3362         * platform/chromium/DataTransferItemChromium.cpp:
3363         (WebCore::DataTransferItem::create):
3364         (WebCore::DataTransferItemChromium::DataTransferItemChromium):
3365         (WebCore::DataTransferItemChromium::getAsString):
3366         (WebCore::DataTransferItemChromium::getAsFile):
3367         * platform/chromium/DataTransferItemChromium.h:
3368         * platform/chromium/DataTransferItemsChromium.cpp:
3369         (WebCore::DataTransferItemsChromium::DataTransferItemsChromium):
3370         * platform/chromium/DataTransferItemsChromium.h:
3371
3372 2011-04-25  Chris Marrin  <cmarrin@apple.com>
3373
3374         Reviewed by Simon Fraser.
3375
3376         REGRESSION(75137): directly composited images are double-drawn sometimes
3377         https://bugs.webkit.org/show_bug.cgi?id=58632
3378
3379         Depending on the order of operations (layout, creating compositing 
3380         layers and creating simple image layers) a layer can have both image
3381         content and have m_drawsContent=true. In this case 2 copies of the image
3382         are drawn in the layer. If the image has alpha, it looks wrong.
3383
3384         I added an updateDrawsContent() call after setting the image contents
3385         to make sure it's correct.
3386
3387         I couldn't create a test case that shows the problem because layerTreeAsText()
3388         doesn't emit enough info to show this level of detail. I've opened
3389         https://bugs.webkit.org/show_bug.cgi?id=59352 to fix that.
3390
3391         * rendering/RenderLayerBacking.cpp:
3392         (WebCore::RenderLayerBacking::updateImageContents):
3393
3394 2011-04-25  Kenneth Russell  <kbr@google.com>
3395
3396         Reviewed by David Levin.
3397
3398         Fix OwnPtr strict errors in InlineFlowBox.cpp
3399         https://bugs.webkit.org/show_bug.cgi?id=59392
3400
3401         * rendering/InlineFlowBox.cpp:
3402         (WebCore::InlineFlowBox::setLayoutOverflow):
3403         (WebCore::InlineFlowBox::setVisualOverflow):
3404
3405 2011-04-25  Kenneth Russell  <kbr@google.com>
3406
3407         Reviewed by David Levin.
3408
3409         Fix OwnPtr strict errors in TransformState.cpp
3410         https://bugs.webkit.org/show_bug.cgi?id=59380
3411
3412         * rendering/TransformState.cpp:
3413         (WebCore::TransformState::applyTransform):
3414
3415 2011-04-25  Adam Barth  <abarth@webkit.org>
3416
3417         Reviewed by James Robinson.
3418
3419         DOMWindow.cpp should work with strict OwnPtrs
3420         https://bugs.webkit.org/show_bug.cgi?id=59356
3421
3422         * page/DOMWindow.cpp:
3423         (WebCore::PostMessageTimer::fired):
3424         (WebCore::DOMWindow::postMessageTimerFired):
3425         * page/DOMWindow.h:
3426
3427 2011-04-25  Adam Klein  <adamk@chromium.org>
3428
3429         Reviewed by James Robinson.
3430
3431         Fix OwnPtr strict errors in some SVG classes.
3432         https://bugs.webkit.org/show_bug.cgi?id=59395
3433
3434         * rendering/style/SVGRenderStyleDefs.cpp:
3435         (WebCore::StyleShadowSVGData::StyleShadowSVGData):
3436         * svg/SVGSVGElement.cpp:
3437         (WebCore::SVGSVGElement::SVGSVGElement):
3438         * svg/SVGStyledTransformableElement.cpp:
3439         (WebCore::SVGStyledTransformableElement::supplementalTransform):
3440         * svg/SVGTextElement.cpp:
3441         (WebCore::SVGTextElement::supplementalTransform):
3442         * svg/graphics/SVGImage.cpp:
3443         (WebCore::SVGImage::dataChanged):
3444
3445 2011-04-25  Adam Barth  <abarth@webkit.org>
3446
3447         Re-land changes to ValidationMessage.
3448
3449         * html/ValidationMessage.cpp:
3450         (WebCore::ValidationMessage::setMessage):
3451         (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
3452         (WebCore::ValidationMessage::requestToHideMessage):
3453
3454 2011-04-25  Ojan Vafai  <ojan@chromium.org>
3455
3456         Reviewed by James Robinson.
3457
3458         fix OwnPtr strict error in FrameView.cpp
3459         https://bugs.webkit.org/show_bug.cgi?id=59402
3460
3461         * page/FrameView.cpp:
3462         (WebCore::FrameView::FrameView):
3463         (WebCore::FrameView::addWidgetToUpdate):
3464
3465 2011-04-25  Adam Klein  <adamk@chromium.org>
3466
3467         Unreviewed, rolling out r84844.
3468         http://trac.webkit.org/changeset/84844
3469         https://bugs.webkit.org/show_bug.cgi?id=59395
3470
3471         Checked in too much.
3472
3473         * rendering/style/SVGRenderStyleDefs.cpp:
3474         (WebCore::StyleShadowSVGData::StyleShadowSVGData):
3475         * svg/SVGDocumentExtensions.cpp:
3476         (WebCore::SVGDocumentExtensions::removePendingResource):
3477         * svg/SVGSVGElement.cpp:
3478         (WebCore::SVGSVGElement::SVGSVGElement):
3479         * svg/SVGStyledTransformableElement.cpp:
3480         (WebCore::SVGStyledTransformableElement::supplementalTransform):
3481         * svg/SVGTextElement.cpp:
3482         (WebCore::SVGTextElement::supplementalTransform):
3483         * svg/graphics/SVGImage.cpp:
3484         (WebCore::SVGImage::dataChanged):
3485
3486 2011-04-25  Adrienne Walker  <enne@google.com>
3487
3488         Reviewed by David Levin.
3489
3490         Make ActiveDOMCallback play nice with OwnPtr strict mode
3491         https://bugs.webkit.org/show_bug.cgi?id=59398
3492
3493         * bindings/generic/ActiveDOMCallback.cpp:
3494         (WebCore::ActiveDOMCallback::ActiveDOMCallback):
3495
3496 2011-04-25  Adam Klein  <adamk@chromium.org>
3497
3498         Reviewed by James Robinson.
3499
3500         Fix OwnPtr strict errors in some SVG classes.
3501         https://bugs.webkit.org/show_bug.cgi?id=59395
3502
3503         * rendering/style/SVGRenderStyleDefs.cpp:
3504         (WebCore::StyleShadowSVGData::StyleShadowSVGData):
3505         * svg/SVGSVGElement.cpp:
3506         (WebCore::SVGSVGElement::SVGSVGElement):
3507         * svg/SVGStyledTransformableElement.cpp:
3508         (WebCore::SVGStyledTransformableElement::supplementalTransform):
3509         * svg/SVGTextElement.cpp:
3510         (WebCore::SVGTextElement::supplementalTransform):
3511         * svg/graphics/SVGImage.cpp:
3512         (WebCore::SVGImage::dataChanged):
3513
3514 2011-04-25  James Robinson  <jamesr@chromium.org>
3515
3516         Unreviewed, rolling out r84835.
3517         http://trac.webkit.org/changeset/84835
3518         https://bugs.webkit.org/show_bug.cgi?id=59394
3519
3520         Breaks compile because Deque<OwnPtr> doesn't work
3521
3522         * dom/XMLDocumentParserLibxml2.cpp:
3523         (WebCore::PendingCallbacks::~PendingCallbacks):
3524         (WebCore::PendingCallbacks::appendStartElementNSCallback):
3525         (WebCore::PendingCallbacks::appendEndElementNSCallback):
3526         (WebCore::PendingCallbacks::appendCharactersCallback):
3527         (WebCore::PendingCallbacks::appendProcessingInstructionCallback):
3528         (WebCore::PendingCallbacks::appendCDATABlockCallback):
3529         (WebCore::PendingCallbacks::appendCommentCallback):
3530         (WebCore::PendingCallbacks::appendInternalSubsetCallback):
3531         (WebCore::PendingCallbacks::appendErrorCallback):
3532         (WebCore::XMLDocumentParser::XMLDocumentParser):
3533         * html/ValidationMessage.cpp:
3534         (WebCore::ValidationMessage::setMessage):
3535         (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
3536         (WebCore::ValidationMessage::requestToHideMessage):
3537
3538 2011-04-25  James Robinson  <jamesr@chromium.org>
3539
3540         Reviewed by Sam Weinig.
3541
3542         Fix OwnPtr strict mode violation in ImageBufferCG
3543         https://bugs.webkit.org/show_bug.cgi?id=59396
3544
3545         * platform/graphics/cg/ImageBufferCG.cpp:
3546         (WebCore::ImageBuffer::ImageBuffer):
3547
3548 2011-04-25  Huang Dongsung  <luxtella@company100.net>
3549
3550         Reviewed by Dirk Schulze.
3551
3552         [Skia] Remove an unused local variable in PlatformContextSkia::readbackHardwareToSoftware().
3553         https://bugs.webkit.org/show_bug.cgi?id=59308
3554
3555         An unused local variable is created and even allocates heap memory.
3556
3557         * platform/graphics/skia/PlatformContextSkia.cpp:
3558         (WebCore::PlatformContextSkia::readbackHardwareToSoftware):
3559
3560 2011-04-25  Geoffrey Garen  <ggaren@apple.com>
3561
3562         Qt build fix: Updated files not used by other ports for rename.
3563
3564         * bindings/js/JSTouchCustom.cpp:
3565         (WebCore::toJSNewlyCreated):
3566         * bindings/js/JSTouchListCustom.cpp:
3567         (WebCore::toJSNewlyCreated):
3568
3569 2011-04-25  Adrienne Walker  <enne@google.com>
3570
3571         Reviewed by David Levin.
3572
3573         WebCore/css/CSS* files should play nice with strict OwnPtrs
3574         https://bugs.webkit.org/show_bug.cgi?id=59382
3575
3576         * css/CSSFontFaceSource.cpp:
3577         (WebCore::CSSFontFaceSource::getFontData):
3578         * css/CSSParser.cpp:
3579         (WebCore::CSSParser::addProperty):<