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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new android code Created 8 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: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 00e46429c5addafcc61ecee4fc5b74f35bcda59e..1d58ccb4c51fb28de2dd4c84edd3327275724249 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -2151,7 +2151,8 @@ void RenderWidgetHostViewMac::SetTextInputActive(bool active) {
}
- (void)windowChangedScreen:(NSNotification*)notification {
- renderWidgetHostView_->UpdateScreenInfo();
+ renderWidgetHostView_->UpdateScreenInfo(
+ renderWidgetHostView_->GetNativeView());
}
- (void)setFrameSize:(NSSize)newSize {

Powered by Google App Engine
This is Rietveld 408576698