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

Unified Diff: third_party/WebKit/Source/core/css/CSSToLengthConversionData.h

Issue 2056303002: [Layout API] Use Document::layoutViewItem() in ViewportStyleResolver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed both declarations to const ref as per rune Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
diff --git a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
index 8e6ad9653ec4a383c7a7722a38ad55af7220cebb..8349423674731ad0798fa8f51ca9b3342f01278e 100644
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
@@ -42,7 +42,7 @@
namespace blink {
class ComputedStyle;
-class LayoutView;
+class LayoutViewItem;
class Font;
class CORE_EXPORT CSSToLengthConversionData {
@@ -71,7 +71,7 @@ public:
public:
ViewportSize() { }
ViewportSize(double width, double height) : m_size(width, height) { }
- explicit ViewportSize(const LayoutView*);
+ explicit ViewportSize(const LayoutViewItem&);
double width() const { return m_size.width(); }
double height() const { return m_size.height(); }
@@ -81,7 +81,7 @@ public:
CSSToLengthConversionData() { }
CSSToLengthConversionData(const ComputedStyle*, const FontSizes&, const ViewportSize&, float zoom);
- CSSToLengthConversionData(const ComputedStyle* currStyle, const ComputedStyle* rootStyle, const LayoutView*, float zoom);
+ CSSToLengthConversionData(const ComputedStyle* currStyle, const ComputedStyle* rootStyle, const LayoutViewItem&, float zoom);
float zoom() const { return m_zoom; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSMatrix.cpp ('k') | third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698