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

Unified Diff: content/common/cc_messages_perftest.cc

Issue 57783006: Revert https://src.chromium.org/viewvc/chrome?view=rev&revision=231330 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile (cc perftest). Created 7 years, 1 month 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages_perftest.cc
diff --git a/content/common/cc_messages_perftest.cc b/content/common/cc_messages_perftest.cc
index b9dd753e032882c7c22a28a680fb1f3e72979744..87aa2e89e15e11ac7ca4561623eb9b33fcf00cc5 100644
--- a/content/common/cc_messages_perftest.cc
+++ b/content/common/cc_messages_perftest.cc
@@ -29,7 +29,7 @@ class CCMessagesPerfTest : public testing::Test {
protected:
static void RunTest(std::string test_name, const CompositorFrame& frame) {
for (int i = 0; i < kNumWarmupRuns; ++i) {
- IPC::Message msg(1, 2);
+ IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::ParamTraits<CompositorFrame>::Write(&msg, frame);
}
@@ -40,7 +40,7 @@ class CCMessagesPerfTest : public testing::Test {
int count = 0;
while (start < end) {
for (int i = 0; i < kTimeCheckInterval; ++i) {
- IPC::Message msg(1, 2);
+ IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::ParamTraits<CompositorFrame>::Write(&msg, frame);
++count;
}
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698