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

Unified Diff: chrome/browser/renderer_host/test_render_view_host.cc

Issue 27147: Linux: server side backing stores (Closed)
Patch Set: ... Created 11 years, 10 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
« no previous file with comments | « chrome/browser/renderer_host/test_render_view_host.h ('k') | chrome/common/common.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/test_render_view_host.cc
diff --git a/chrome/browser/renderer_host/test_render_view_host.cc b/chrome/browser/renderer_host/test_render_view_host.cc
index dca7cfe6a476db991abf920395243010b7949c4a..3246a4bb20d461f1bb93e351a7d05c41abe7746a 100644
--- a/chrome/browser/renderer_host/test_render_view_host.cc
+++ b/chrome/browser/renderer_host/test_render_view_host.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "chrome/browser/renderer_host/test_render_view_host.h"
+
+#include "chrome/browser/renderer_host/backing_store.h"
#include "chrome/browser/tab_contents/test_web_contents.h"
#include "chrome/common/render_messages.h"
@@ -62,6 +64,11 @@ void TestRenderViewHost::SendNavigate(int page_id, const GURL& url) {
OnMsgNavigate(msg);
}
+BackingStore* TestRenderWidgetHostView::AllocBackingStore(
+ const gfx::Size& size) {
+ return new BackingStore(size);
+}
+
void RenderViewHostTestHarness::SetUp() {
// See comment above profile_ decl for why we check for NULL here.
if (!profile_.get())
« no previous file with comments | « chrome/browser/renderer_host/test_render_view_host.h ('k') | chrome/common/common.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698