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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 851813002: Fixed and reenabled the flaky test "WebViewAPITest.TestAutosizeAfterNavigation". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test. Created 5 years, 11 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: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 269d4ab7ac67ce8dbd63839c69f89198751a3da3..543a63c7359b4c74796686fd5f7cf24f1bb4c4ef 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -354,7 +354,7 @@ void BrowserPluginGuest::SwapCompositorFrame(
1.0f / frame->metadata.device_scale_factor)));
if (last_seen_view_size_ != view_size) {
- delegate_->GuestSizeChanged(last_seen_view_size_, view_size);
+ delegate_->GuestSizeChanged(view_size);
last_seen_view_size_ = view_size;
}

Powered by Google App Engine
This is Rietveld 408576698