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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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: chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm
index cfc9f5c86f02b5e3e13755dbfb937ca1e0b09a93..cf55258a76056dd8c2c7c6e7c8118bca2d4a8c23 100644
--- a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.mm
@@ -58,7 +58,7 @@
// overlay.
// TODO(sail): remove this when GWS gives chrome the height without the
// separator.
- if (drawDropShadow && heightUnits != INSTANT_SIZE_PERCENT)
+ if (drawDropShadow && heightUnits == INSTANT_SIZE_PIXELS)
--height;
if (overlayContents_ == overlay &&

Powered by Google App Engine
This is Rietveld 408576698