Index: content/browser/renderer_host/backing_store_mac.mm |
diff --git a/content/browser/renderer_host/backing_store_mac.mm b/content/browser/renderer_host/backing_store_mac.mm |
index 6bcbea2ea63b199e12e3831dd3346aeebf67ddda..82a2a6e218f70a972edb421e51c89690e3c3fad6 100644 |
--- a/content/browser/renderer_host/backing_store_mac.mm |
+++ b/content/browser/renderer_host/backing_store_mac.mm |
@@ -209,7 +209,7 @@ CGLayerRef BackingStoreMac::CreateCGLayer() { |
// The CGLayer should be optimized for drawing into the containing window, |
// so extract a CGContext corresponding to the window to be passed to |
// CGLayerCreateWithContext. |
- NSWindow* window = [render_widget_host()->view()->GetNativeView() window]; |
+ NSWindow* window = [render_widget_host()->GetView()->GetNativeView() window]; |
if ([window windowNumber] <= 0) { |
// This catches a nil |window|, as well as windows that exist but that |
// aren't yet connected to WindowServer. |