Index: content/browser/renderer_host/backing_store_manager.cc |
diff --git a/content/browser/renderer_host/backing_store_manager.cc b/content/browser/renderer_host/backing_store_manager.cc |
index b1993c8e7f647def40524007062f2095516976a4..e806cef5aec67a0d1eec61d815031bfd634f5e6c 100644 |
--- a/content/browser/renderer_host/backing_store_manager.cc |
+++ b/content/browser/renderer_host/backing_store_manager.cc |
@@ -145,8 +145,8 @@ BackingStore* CreateBackingStore(RenderWidgetHost* host, |
} else { |
cache = small_cache; |
} |
- BackingStore* backing_store = static_cast<RenderWidgetHostImpl*>( |
- host)->AllocBackingStore(backing_store_size); |
+ BackingStore* backing_store = |
+ RenderWidgetHostImpl::From(host)->AllocBackingStore(backing_store_size); |
if (backing_store) |
cache->Put(host, backing_store); |
return backing_store; |
@@ -216,7 +216,7 @@ void BackingStoreManager::PrepareBackingStore( |
} |
} |
- backing_store->PaintToBackingStore(host->process(), bitmap, |
+ backing_store->PaintToBackingStore(host->GetProcess(), bitmap, |
bitmap_rect, copy_rects, |
completion_callback, |
scheduled_completion_callback); |