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

Unified Diff: content/common/host_discardable_shared_memory_manager.cc

Issue 1094433002: base: Rename DiscardableMemory::Memory() to ::data(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mojo unittest 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
Index: content/common/host_discardable_shared_memory_manager.cc
diff --git a/content/common/host_discardable_shared_memory_manager.cc b/content/common/host_discardable_shared_memory_manager.cc
index 234b7c3d82f36b3f544521fcc679a40b5c3f8a24..6709c2527585d21057642a9191c0463c1a14c8fb 100644
--- a/content/common/host_discardable_shared_memory_manager.cc
+++ b/content/common/host_discardable_shared_memory_manager.cc
@@ -51,7 +51,7 @@ class DiscardableMemoryImpl : public base::DiscardableMemory {
shared_memory_->Unlock(0, 0);
is_locked_ = false;
}
- void* Memory() const override {
+ void* data() const override {
DCHECK(is_locked_);
return shared_memory_->memory();
}
« no previous file with comments | « content/child/web_discardable_memory_impl.cc ('k') | mojo/services/html_viewer/discardable_memory_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698