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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2908933002: Make PageSizeType an enum class. (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index edb2409e16344d8af00cab0cb28b97c9281522e9..8ac7490063222eb1afcedfdb48484c0555aebea0 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1446,7 +1446,7 @@ bool WebLocalFrameImpl::HasCustomPageSizeStyle(int page_index) {
return GetFrame()
->GetDocument()
->StyleForPage(page_index)
- ->GetPageSizeType() != PAGE_SIZE_AUTO;
+ ->GetPageSizeType() != PageSizeType::kAuto;
}
bool WebLocalFrameImpl::IsPageBoxVisible(int page_index) {
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698