Changeset 89815 in webkit
- Timestamp:
- Jun 27, 2011 4:54:32 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89810 r89815 1 2011-06-27 Pavel Feldman <pfeldman@google.com> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: [REGRESSION r84481] updateLayout called from DrawNodeHighlight 6 https://bugs.webkit.org/show_bug.cgi?id=63405 7 8 We should not call layout from paint. 9 10 * inspector/DOMNodeHighlighter.cpp: 11 (WebCore::DOMNodeHighlighter::drawNodeHighlight): 12 * inspector/DOMNodeHighlighter.h: 13 * inspector/InspectorDOMAgent.cpp: 14 (WebCore::InspectorDOMAgent::drawNodeHighlight): 15 1 16 2011-06-27 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 17 -
trunk/Source/WebCore/inspector/DOMNodeHighlighter.cpp
r89760 r89815 224 224 namespace DOMNodeHighlighter { 225 225 226 void DrawNodeHighlight(GraphicsContext& context, Node* node, HighlightMode mode) 227 { 228 node->document()->updateLayoutIgnorePendingStylesheets(); 226 void drawNodeHighlight(GraphicsContext& context, Node* node, HighlightMode mode) 227 { 229 228 RenderObject* renderer = node->renderer(); 230 229 Frame* containingFrame = node->document()->frame(); -
trunk/Source/WebCore/inspector/DOMNodeHighlighter.h
r84481 r89815 45 45 }; 46 46 47 void DrawNodeHighlight(GraphicsContext&, Node*, HighlightMode);47 void drawNodeHighlight(GraphicsContext&, Node*, HighlightMode); 48 48 49 49 } // namespace DOMNodeHighlighter -
trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp
r89439 r89815 1489 1489 else if (m_highlightMode == "margin") 1490 1490 mode = DOMNodeHighlighter::HighlightMargin; 1491 DOMNodeHighlighter:: DrawNodeHighlight(context, m_highlightedNode.get(), mode);1491 DOMNodeHighlighter::drawNodeHighlight(context, m_highlightedNode.get(), mode); 1492 1492 } 1493 1493
Note: See TracChangeset
for help on using the changeset viewer.