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

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

Issue 1447273003: Make the FloatSize constructor from an IntSize explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/web/FullscreenController.cpp
diff --git a/third_party/WebKit/Source/web/FullscreenController.cpp b/third_party/WebKit/Source/web/FullscreenController.cpp
index 019c1d2e18be77f7baabaf7b55f91b3117a9926d..1efda9e2b976de93c0f7c4bc4f1ae178c8d5e812 100644
--- a/third_party/WebKit/Source/web/FullscreenController.cpp
+++ b/third_party/WebKit/Source/web/FullscreenController.cpp
@@ -188,7 +188,7 @@ void FullscreenController::updatePageScaleConstraints(bool removeConstraints)
PageScaleConstraints fullscreenConstraints;
if (!removeConstraints) {
fullscreenConstraints = PageScaleConstraints(1.0, 1.0, 1.0);
- fullscreenConstraints.layoutSize = IntSize(m_webViewImpl->size());
+ fullscreenConstraints.layoutSize = FloatSize(m_webViewImpl->size());
}
m_webViewImpl->pageScaleConstraintsSet().setFullscreenConstraints(fullscreenConstraints);
m_webViewImpl->pageScaleConstraintsSet().computeFinalConstraints();

Powered by Google App Engine
This is Rietveld 408576698