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

Unified Diff: content/browser/android/in_process/synchronous_compositor_output_surface.h

Issue 1073893004: Fix blank video in Android WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « content/browser/android/in_process/synchronous_compositor_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/in_process/synchronous_compositor_output_surface.h
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.h b/content/browser/android/in_process/synchronous_compositor_output_surface.h
index 005cf9aff8d1ab92255f19545dc90d976a02bf5c..414695230c10f978ff18ec3758c012c9d5e9465e 100644
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.h
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.h
@@ -76,6 +76,10 @@ class SynchronousCompositorOutputSurface
void SetTreeActivationCallback(const base::Closure& callback);
void GetMessagesToDeliver(ScopedVector<IPC::Message>* messages);
+ size_t GetMemoryPolicy() const {
+ return memory_policy_.bytes_limit_when_visible;
+ }
+
private:
class SoftwareDevice;
friend class SoftwareDevice;
« no previous file with comments | « content/browser/android/in_process/synchronous_compositor_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698