diff options
Diffstat (limited to 'content/browser/gpu/gpu_memory_test.cc')
-rw-r--r-- | content/browser/gpu/gpu_memory_test.cc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/content/browser/gpu/gpu_memory_test.cc b/content/browser/gpu/gpu_memory_test.cc index 36584c3..832b947 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 |