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

Unified Diff: chrome/browser/ui/browser.cc

Issue 659093002: Pass the size to the RenderView on creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java_enum
Patch Set: Created 6 years, 2 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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 940e87b05f81253c95a00457da52f1a936283b5a..3622c2c0e9af43791533a732da84dd621148fafd 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1479,6 +1479,7 @@ bool Browser::TakeFocus(content::WebContents* source,
}
gfx::Rect Browser::GetRootWindowResizerRect() const {
+ if (!window_) return gfx::Rect();
piman 2014/10/29 18:42:57 In which case is this NULL? It seems to be set to
mkosiba (inactive) 2014/10/31 14:35:05 Done.
return window_->GetRootWindowResizerRect();
}

Powered by Google App Engine
This is Rietveld 408576698