Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: Source/WebCore/ChangeLog

Issue 7046071: Merge 88429 - 2011-06-08 Justin Novosad <junov@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 2011-06-08 Justin Novosad <junov@chromium.org>
2
3 Reviewed by James Robinson.
4
5 [Chromium] Crash when closing a tab with accelerated 2d canvas
6 https://bugs.webkit.org/show_bug.cgi?id=62324
7 Upon graphics context destruction, it is important to signal skia
8 to abandon all of its resource handles. This prevents a crash caused
9 by skia attempting to release resources that were in the destroyed
10 graphics context.
11
12 * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
13 (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
14
15 2011-06-08 James Robinson <jamesr@chromium.org>
16
17 Reviewed by Darin Fisher.
18
19 REGRESSION(88260): 10-50% performance regression across many page cycler s
20 https://bugs.webkit.org/show_bug.cgi?id=62349
21
22 r88260 fixed a font cache resource leak and lowered the inactive font ca che threshold. The latter caused a
23 significant performance regression across many chromium page cyclers, fo r example
24 http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/mo z/report.html?history=50&rev=88279.
25
26 This restores the previous inactive font size thresholds to their previo us values, but retains the font cleanup
27 logic.
28
29 * platform/graphics/FontCache.cpp:
30
31 2011-06-08 Hayato Ito <hayato@chromium.org>
32
33 Reviewed by Dimitri Glazkov.
34
35 A forward/backward tab traversal now visits focusable elements in a shad ow root.
36 https://bugs.webkit.org/show_bug.cgi?id=61410
37
38 Test: fast/dom/shadow/tab-order-iframe-and-shadow.html
39
40 Like a iframe element, a shadow host becomes a scope of
41 tabindex. That means all descendant elements in a shadow root are
42 skipped if the host node of the shadow root is not focusable.
43
44 The patch doesn't affect HTMLInputElement and HTMLTextAreaElement,
45 which uses a shadow root and do extra works in their focus()
46 method.
47
48 A shadow root's <content> is not considered in this patch.
49 That will be addressed in a following patch.
50
51 * page/FocusController.cpp:
52 (WebCore::shadowRoot):
53 (WebCore::isTreeScopeOwner):
54 (WebCore::FocusController::deepFocusableNode):
55 (WebCore::FocusController::advanceFocusInDocumentOrder):
56 (WebCore::FocusController::findFocusableNodeAcrossTreeScope):
57 (WebCore::FocusController::findFocusableNode):
58 (WebCore::FocusController::nextFocusableNode):
59 (WebCore::FocusController::previousFocusableNode):
60 (WebCore::FocusController::ownerOfTreeScope):
61 * page/FocusController.h:
62
63 2011-06-08 Hayato Ito <hayato@chromium.org>
64
65 Reviewed by Hajime Morita.
66
67 Makes sure that document.activeElement won't be an element in shadow roo t.
68
69 https://bugs.webkit.org/show_bug.cgi?id=61413
70
71 Test: fast/dom/shadow/activeelement-should-be-shadowhost.html
72
73 * html/HTMLDocument.cpp:
74 (WebCore::focusedFrameOwnerElement):
75 (WebCore::HTMLDocument::activeElement):
76
77 2011-06-08 Kent Tamura <tkent@chromium.org>
78
79 Reviewed by Dimitri Glazkov.
80
81 Allow drawing a slider thumb for any nodes.
82 https://bugs.webkit.org/show_bug.cgi?id=62196
83
84 RenderObject::node() should provide various information which is
85 necessary for rendering. We don't need to refer the parent renderer.
86
87 * dom/Node.cpp:
88 (WebCore::Node::focusDe1egate): Added.
89 * dom/Node.h: Added a declaration.
90 * html/shadow/MediaControlElements.cpp:
91 (WebCore::toParentMediaElement):
92 Added an overload of toParentMediaElement() with Node* parameter.
93 * html/shadow/MediaControlElements.h:
94 (WebCore::toParentMediaElement): ditto.
95 * html/shadow/SliderThumbElement.cpp:
96 (WebCore::SliderThumbElement::isEnabledFormControl):
97 Returns the status of the host node.
98 (WebCore::SliderThumbElement::isReadOnlyFormControl): ditto.
99 (WebCore::SliderThumbElement::focusDe1egate):
100 Returns the host node so that RenderTheme::isFocused() returns true.
101 (WebCore::SliderThumbElement::detach): Style nit.
102 (WebCore::SliderThumbElement::hostInput):
103 Make it const because it is called by const functions.
104 * html/shadow/SliderThumbElement.h:
105 - Remove inDragMode()
106 - Update declarations
107 * platform/qt/RenderThemeQt.cpp:
108 (WebCore::RenderThemeQt::paintMediaSliderThumb):
109 Use Node::shadowAncestorNode() instead of RenderObject::parent() to
110 support deeper thumb nodes.
111 * rendering/RenderMediaControlsChromium.cpp:
112 (WebCore::paintMediaSliderThumb): ditto.
113 (WebCore::paintMediaVolumeSliderThumb): Remove isSlider() check.
114 * rendering/RenderSlider.cpp:
115 (WebCore::RenderSlider::inDragMode):
116 SliderThumbElement::inDragMode() was removed, and Node::active() has
117 the same information.
118 * rendering/RenderTheme.cpp:
119 (WebCore::RenderTheme::paint): Remove isSlider() checks.
120 (WebCore::RenderTheme::isFocused): Apply Node::focusDelegate().
121 * rendering/RenderThemeChromiumLinux.cpp:
122 (WebCore::RenderThemeChromiumLinux::paintSliderThumb):
123 isPressed() is enough.
124 * rendering/RenderThemeChromiumWin.cpp:
125 isEnabled(), isFocused(), and isPressed() are enough.
126 (WebCore::RenderThemeChromiumWin::determineSliderThumbState):
127 (WebCore::RenderThemeChromiumWin::determineClassicState):
128 * rendering/RenderThemeMac.mm:
129 (WebCore::RenderThemeMac::paintSliderThumb):
130 - Remove isSlider() check.
131 - Passing 'o' to udpateFooState functions is enough.
132 - isPressed() is enough.
133 * rendering/RenderThemeSafari.cpp:
134 (WebCore::RenderThemeSafari::paintSliderThumb):
135 We don't need special handling anymore.
136 * rendering/RenderThemeWin.cpp:
137 (WebCore::RenderThemeWin::determineSliderThumbState):
138 isEnabled(), isFocused(), and isPressed() are enough.
139
140 2011-06-08 Adam Barth <abarth@webkit.org>
141
142 Reviewed by Eric Seidel.
143
144 constructTreeFromToken can re-enter parser, causing ASSERTs
145 https://bugs.webkit.org/show_bug.cgi?id=62160
146
147 This patch clears the HTMLToken before constructing the tree from the
148 token, putting the HTMLDocumentParser in a good state to be re-entered.
149
150 Tests: fast/parser/document-write-onload-nesting.html
151 fast/parser/document-write-onload-ordering.html
152
153 * html/parser/HTMLDocumentParser.cpp:
154 (WebCore::HTMLDocumentParser::pumpTokenizer):
155 * html/parser/HTMLToken.h:
156 (WebCore::HTMLToken::isUninitialized):
157 * html/parser/HTMLTreeBuilder.cpp:
158 (WebCore::HTMLTreeBuilder::constructTreeFromToken):
159
160 2011-06-08 Kent Tamura <tkent@chromium.org>
161
162 Fix Qt build for r88405.
163 https://bugs.webkit.org/show_bug.cgi?id=62208
164
165 * platform/qt/RenderThemeQt.h:
166
167 2011-06-08 Kent Tamura <tkent@chromium.org>
168
169 Reviewed by Dimitri Glazkov.
170
171 Change the argument of RenderTheme::adjustSliderThumbSize(): RenderObjec t* -> RenderStyle*
172 https://bugs.webkit.org/show_bug.cgi?id=62208
173
174 Change the argument type of RenderTheme::adjustSliderThumbSize() and
175 RenderMediaControls::adjustMediaSliderThumbSize() from RenderObject* to RenderStyle*.
176
177 Also, each of adjustSliderThumbStyle() overrides calls RenderTheme::
178 adjustSliderThumbStyle() for future changes.
179
180 No new tests. This is a refactoring and should not change any behavior.
181
182 * html/shadow/SliderThumbElement.cpp:
183 (WebCore::RenderSliderThumb::layout): Passing RenderStyle* and remove a FIXME comment.
184 * platform/efl/RenderThemeEfl.cpp:
185 (WebCore::RenderThemeEfl::adjustSliderThumbStyle): Calls RenderTheme::ad justSliderThumbStyle().
186 * platform/gtk/RenderThemeGtk.cpp:
187 (WebCore::RenderThemeGtk::adjustSliderThumbStyle): ditto.
188 (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize):
189 * platform/gtk/RenderThemeGtk.h:
190 * platform/gtk/RenderThemeGtk2.cpp:
191 (WebCore::RenderThemeGtk::adjustSliderThumbSize):
192 * platform/gtk/RenderThemeGtk3.cpp:
193 (WebCore::RenderThemeGtk::adjustSliderThumbSize):
194 * platform/qt/RenderThemeQt.cpp:
195 (WebCore::RenderThemeQt::adjustSliderThumbStyle): ditto.
196 (WebCore::RenderThemeQt::adjustSliderThumbSize):
197 * rendering/RenderMediaControls.cpp:
198 (WebCore::RenderMediaControls::adjustMediaSliderThumbSize):
199 * rendering/RenderMediaControls.h:
200 * rendering/RenderMediaControlsChromium.cpp:
201 (WebCore::RenderMediaControlsChromium::adjustMediaSliderThumbSize):
202 * rendering/RenderMediaControlsChromium.h:
203 * rendering/RenderSlider.cpp:
204 (WebCore::RenderSlider::layout): Passing RenderStyle* and remove a FIXME comment.
205 * rendering/RenderTheme.cpp:
206 (WebCore::RenderTheme::adjustSliderThumbStyle): Add a comment.
207 (WebCore::RenderTheme::adjustSliderThumbSize):
208 * rendering/RenderTheme.h:
209 * rendering/RenderThemeChromiumLinux.cpp:
210 (WebCore::RenderThemeChromiumLinux::adjustSliderThumbSize):
211 * rendering/RenderThemeChromiumLinux.h:
212 * rendering/RenderThemeChromiumMac.h:
213 * rendering/RenderThemeChromiumMac.mm:
214 (WebCore::RenderThemeChromiumMac::adjustMediaSliderThumbSize):
215 * rendering/RenderThemeChromiumSkia.cpp:
216 (WebCore::RenderThemeChromiumSkia::adjustSliderThumbSize):
217 * rendering/RenderThemeChromiumSkia.h:
218 * rendering/RenderThemeChromiumWin.cpp:
219 (WebCore::RenderThemeChromiumWin::adjustSliderThumbSize):
220 * rendering/RenderThemeChromiumWin.h:
221 * rendering/RenderThemeMac.h:
222 * rendering/RenderThemeMac.mm:
223 (WebCore::RenderThemeMac::adjustSliderThumbStyle): Calls RenderTheme::ad justSliderThumbStyle().
224 (WebCore::RenderThemeMac::adjustSliderThumbSize):
225 (WebCore::RenderThemeMac::adjustMediaSliderThumbSize):
226 * rendering/RenderThemeSafari.cpp:
227 (WebCore::RenderThemeSafari::adjustSliderThumbStyle): Calls RenderTheme: :adjustSliderThumbStyle().
228 (WebCore::RenderThemeSafari::adjustSliderThumbSize):
229 * rendering/RenderThemeSafari.h:
230 * rendering/RenderThemeWin.cpp:
231 (WebCore::RenderThemeWin::adjustSliderThumbSize):
232 * rendering/RenderThemeWin.h:
233 * rendering/RenderThemeWinCE.cpp:
234 (WebCore::RenderThemeWinCE::adjustSliderThumbSize):
235 * rendering/RenderThemeWinCE.h:
236
1 2011-06-08 Brian Salomon <bsalomon@google.com> 237 2011-06-08 Brian Salomon <bsalomon@google.com>
2 238
3 Reviewed by James Robinson. 239 Reviewed by James Robinson.
4 240
5 Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer code because it invalidates Ganesh's cache of the current FBO. 241 Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer code because it invalidates Ganesh's cache of the current FBO.
6 https://bugs.webkit.org/show_bug.cgi?id=62318 242 https://bugs.webkit.org/show_bug.cgi?id=62318
7 243
8 Chromium-only crash 244 Chromium-only crash
9 Failures takes multiple seconds to occur, relying on JS garbage-collecti on to occur 245 Failures takes multiple seconds to occur, relying on JS garbage-collecti on to occur
10 http://www.hotbazooka.com/privatejoe-large 246 http://www.hotbazooka.com/privatejoe-large
(...skipping 2817 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 fast/viewport/viewport-45.html fails in GTK+/Qt 3064 fast/viewport/viewport-45.html fails in GTK+/Qt
2829 https://bugs.webkit.org/show_bug.cgi?id=47481 3065 https://bugs.webkit.org/show_bug.cgi?id=47481
2830 3066
2831 computeViewportAttributes does many math operations with float point ari thmetic 3067 computeViewportAttributes does many math operations with float point ari thmetic
2832 and in some cases there is loss of precision making tests have incorrect values. 3068 and in some cases there is loss of precision making tests have incorrect values.
2833 3069
2834 * dom/ViewportArguments.cpp: 3070 * dom/ViewportArguments.cpp:
2835 (WebCore::computeViewportAttributes): 3071 (WebCore::computeViewportAttributes):
2836 3072
2837 == Rolled over to ChangeLog-2011-06-04 == 3073 == Rolled over to ChangeLog-2011-06-04 ==
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698