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

Unified Diff: converter/cross/renderer_stub.cc

Issue 164130: This CL adds client.toDataURL which gets the contents... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 4 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: converter/cross/renderer_stub.cc
===================================================================
--- converter/cross/renderer_stub.cc (revision 22687)
+++ converter/cross/renderer_stub.cc (working copy)
@@ -46,6 +46,7 @@
#include "converter/cross/sampler_stub.h"
#include "converter/cross/stream_bank_stub.h"
#include "converter/cross/texture_stub.h"
+#include "utils/cross/dataurl.h"
namespace o3d {
@@ -196,9 +197,9 @@
return StreamBank::Ref(new StreamBankStub(service_locator()));
}
-bool RendererStub::SaveScreen(const String &) {
+String RendererStub::ToDataURL() {
DCHECK(false);
- return true;
+ return dataurl::kEmptyDataURL;
}
ParamCache *RendererStub::CreatePlatformSpecificParamCache(void) {
« no previous file with comments | « converter/cross/renderer_stub.h ('k') | core/cross/bitmap.h » ('j') | core/cross/bitmap_png.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698