| Index: content/browser/gpu/gpu_memory_test.cc
|
| diff --git a/content/browser/gpu/gpu_memory_test.cc b/content/browser/gpu/gpu_memory_test.cc
|
| index 36584c39305be4275651aef97c48a6140b9ef621..832b947bce581e1858e4e008941240aec91c836b 100644
|
| --- a/content/browser/gpu/gpu_memory_test.cc
|
| +++ b/content/browser/gpu/gpu_memory_test.cc
|
| @@ -116,12 +116,8 @@ class GpuMemoryTest : public ContentBrowserTest {
|
| js_call << mb_to_use;
|
| js_call << ");";
|
| std::string message;
|
| - ASSERT_TRUE(
|
| - ExecuteScriptInFrameAndExtractString(
|
| - tab_to_load->web_contents(),
|
| - "",
|
| - js_call.str(),
|
| - &message));
|
| + ASSERT_TRUE(ExecuteScriptInFrameAndExtractString(
|
| + tab_to_load->web_contents(), std::string(), js_call.str(), &message));
|
| EXPECT_EQ("DONE_USE_GPU_MEMORY", message);
|
| }
|
|
|
| @@ -196,12 +192,8 @@ class GpuMemoryTest : public ContentBrowserTest {
|
| " domAutomationController.send(\"DONE_RAF\");"
|
| "})");
|
| std::string message;
|
| - ASSERT_TRUE(
|
| - ExecuteScriptInFrameAndExtractString(
|
| - (*it)->web_contents(),
|
| - "",
|
| - js_call,
|
| - &message));
|
| + ASSERT_TRUE(ExecuteScriptInFrameAndExtractString(
|
| + (*it)->web_contents(), std::string(), js_call, &message));
|
| EXPECT_EQ("DONE_RAF", message);
|
| }
|
| // TODO(ccameron): send an IPC from Browser -> Renderer (delay it until
|
|
|