Index: ui/gl/gl_context_egl.cc |
diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc |
index f8460d339129ed5dfb28d562c7df433e4af4e83c..2c8ef95f7db15b8bea3d9349d3a5de3c289fdcb2 100644 |
--- a/ui/gl/gl_context_egl.cc |
+++ b/ui/gl/gl_context_egl.cc |
@@ -182,4 +182,12 @@ GLContextEGL::~GLContextEGL() { |
Destroy(); |
} |
+#ifndef OS_ANDROID |
+bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { |
ccameron
2013/02/12 01:56:23
Nit: Should this be #if !defined(OS_ANDROID)?
|
+ DCHECK(bytes); |
+ *bytes = 0; |
+ return false; |
+} |
+#endif |
+ |
} // namespace gfx |