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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2618323004: Don't force-update style and layout in Document::scrollingElement (Closed)
Patch Set: none Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 47df5cc4ba95ff8578e3cfaab36c464463590075..1bf5dc105b681a734c615f4b00ae5c9399bf16da 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -344,6 +344,9 @@ class CORE_EXPORT Document : public ContainerNode,
HeapVector<Member<Element>> elementsFromPoint(int x, int y) const;
Range* caretRangeFromPoint(int x, int y);
Element* scrollingElement();
+ // When calling from C++ code, use this method. scrollingElement() is
+ // just for the web IDL implementation.
+ Element* scrollingElementNoLayout();
void addStyleReattachData(Node&, StyleReattachData&);
StyleReattachData getStyleReattachData(Node&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Element.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698