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

Unified Diff: Source/core/dom/TreeScope.h

Issue 82083002: Move viewport unit resolution to style recalc time (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: add test for browser zoom Created 7 years 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: Source/core/dom/TreeScope.h
diff --git a/Source/core/dom/TreeScope.h b/Source/core/dom/TreeScope.h
index 718d7e7fb001b666b7b9dbcc1c8b6a5cf8a729e7..3a8c0910674015ea369779386b56542dede7364f 100644
--- a/Source/core/dom/TreeScope.h
+++ b/Source/core/dom/TreeScope.h
@@ -139,6 +139,8 @@ protected:
bool hasGuardRefCount() const { return m_guardRefCount; }
+ void setNeedsStyleRecalcForViewportUnits();
+
private:
TreeScope();

Powered by Google App Engine
This is Rietveld 408576698