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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 15650016: [Not for review] Discardable memory emulation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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: webkit/glue/webkitplatformsupport_impl.cc
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
index c4d9e5216e05c6bd72bf846cabdeaea949a7a599..a84e8c58192db0f3a77fc008dad7f79fe01f6d02 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -990,7 +990,7 @@ WebKit::WebGestureCurve* WebKitPlatformSupportImpl::createFlingAnimationCurve(
WebKit::WebDiscardableMemory*
WebKitPlatformSupportImpl::allocateAndLockDiscardableMemory(size_t bytes) {
- if (!base::DiscardableMemory::Supported())
+ if (!base::DiscardableMemoryProvider::GetInstance())
nduca 2013/06/07 04:52:18 lets seal this though behind base::DiscardableMemo
return NULL;
scoped_ptr<WebDiscardableMemoryImpl> discardable(
new WebDiscardableMemoryImpl());
« content/renderer/render_thread_impl.cc ('K') | « webkit/glue/web_discardable_memory_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698