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 55c2f9778241850dd272891e2b31980a8e8737d5..8b842c2975abfdfe3c05fd5baed517bc9d9aa7fb 100644 |
--- a/content/browser/renderer_host/backing_store_mac.mm |
+++ b/content/browser/renderer_host/backing_store_mac.mm |
@@ -195,7 +195,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. |