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

Unified Diff: content/child/child_discardable_shared_memory_manager_browsertest.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/child/child_discardable_shared_memory_manager_browsertest.cc
diff --git a/content/child/child_discardable_shared_memory_manager_browsertest.cc b/content/child/child_discardable_shared_memory_manager_browsertest.cc
index 1764cb045c6060ccbcd689317d43111ce93255bc..69bbc0cc2377422fbb9b68260c2f53d912789f9a 100644
--- a/content/child/child_discardable_shared_memory_manager_browsertest.cc
+++ b/content/child/child_discardable_shared_memory_manager_browsertest.cc
@@ -60,7 +60,7 @@ IN_PROC_BROWSER_TEST_F(ChildDiscardableSharedMemoryManagerBrowserTest,
kSize, &memory));
ASSERT_TRUE(memory);
- void* addr = memory->Memory();
+ void* addr = memory->data();
ASSERT_NE(nullptr, addr);
PostTaskToInProcessRendererAndWait(
@@ -96,7 +96,7 @@ IN_PROC_BROWSER_TEST_F(ChildDiscardableSharedMemoryManagerBrowserTest,
&ChildDiscardableSharedMemoryManagerBrowserTest::AllocateLockedMemory,
kLargeSize, &memory));
ASSERT_TRUE(memory);
- void* addr = memory->Memory();
+ void* addr = memory->data();
ASSERT_NE(nullptr, addr);
PostTaskToInProcessRendererAndWait(base::Bind(
&ChildDiscardableSharedMemoryManagerBrowserTest::UnlockMemory,
« no previous file with comments | « content/child/child_discardable_shared_memory_manager.cc ('k') | content/child/web_discardable_memory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698