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

Unified Diff: Source/core/dom/Element.cpp

Issue 1064123002: compositor-worker: Introduce CompositorProxy::disconnect(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix-win-for-realz Created 5 years, 8 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
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 71191c2d41e13f567b68072831047999af2ca051..f6e4dda538c64b121e6ec7c0e55b5b2aae0dd389 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -949,6 +949,16 @@ void Element::scrollFrameTo(const ScrollToOptions& scrollToOptions)
view->setScrollPosition(DoublePoint(scaledLeft, scaledTop), scrollBehavior);
}
+void Element::incrementProxyCount()
+{
+ ensureElementRareData().incrementProxyCount();
+}
+
+void Element::decrementProxyCount()
+{
+ ensureElementRareData().decrementProxyCount();
+}
+
IntRect Element::boundsInViewportSpace()
{
document().updateLayoutIgnorePendingStylesheets();
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698