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

Unified Diff: blimp/client/core/contents/tab_control_feature.cc

Issue 2313133002: Fix crashers and issues when rendering blimp in tabs (Closed)
Patch Set: Created 4 years, 3 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: blimp/client/core/contents/tab_control_feature.cc
diff --git a/blimp/client/core/contents/tab_control_feature.cc b/blimp/client/core/contents/tab_control_feature.cc
index b438763e556da5acc1325cbd8ec027db1c0ac89a..3559b37f00b2082f3a10f55f7f83e839b60f7ff3 100644
--- a/blimp/client/core/contents/tab_control_feature.cc
+++ b/blimp/client/core/contents/tab_control_feature.cc
@@ -24,10 +24,6 @@ void TabControlFeature::set_outgoing_message_processor(
void TabControlFeature::SetSizeAndScale(const gfx::Size& size,
float device_pixel_ratio) {
- if (last_size_ == size && last_device_pixel_ratio_ == device_pixel_ratio) {
- return;
- }
-
last_size_ = size;
last_device_pixel_ratio_ = device_pixel_ratio;

Powered by Google App Engine
This is Rietveld 408576698