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

Unified Diff: core/cross/command_buffer/renderer_cb.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: core/cross/command_buffer/renderer_cb.cc
===================================================================
--- core/cross/command_buffer/renderer_cb.cc (revision 22687)
+++ core/cross/command_buffer/renderer_cb.cc (working copy)
@@ -47,6 +47,7 @@
#include "core/cross/command_buffer/stream_bank_cb.h"
#include "core/cross/command_buffer/texture_cb.h"
#include "core/cross/renderer_platform.h"
+#include "utils/cross/dataurl.h"
#ifdef OS_WIN
#include "core/win/command_buffer/win32_cb_server.h"
@@ -368,9 +369,9 @@
helper_->AddCommand(command_buffer::SET_VIEWPORT, 6, args);
}
-bool RendererCB::SaveScreen(const String& file_name) {
+String RendererCB::ToDataURL() {
// TODO
- return false;
+ return dataurl::kEmptyDataURL;
}
const int* RendererCB::GetRGBAUByteNSwizzleTable() {

Powered by Google App Engine
This is Rietveld 408576698