diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 04:57:00 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 04:57:00 +0000 |
commit | 172c820099e9791f9ed7aca49a54a6d194e39af5 (patch) | |
tree | eb7fa6a082247a1134a1623fb78c0f734838f315 /webkit | |
parent | 130c42787ed2fe01c766e816b103fa864a9d2d95 (diff) | |
download | chromium_src-172c820099e9791f9ed7aca49a54a6d194e39af5.zip chromium_src-172c820099e9791f9ed7aca49a54a6d194e39af5.tar.gz chromium_src-172c820099e9791f9ed7aca49a54a6d194e39af5.tar.bz2 |
A build fix for the "WebKit Mac (valgrind)" bot.
This change just moves the CallbackRunInfo class (used from CallbackShutdownTest) out of the anonymous namespace. I'm not sure why this build break only happens on this bot, though.
TBR=viettrungluu
BUG=none
TEST=fix build on the "WebKit Mac (valgrind)" bot
Review URL: http://codereview.chromium.org/6000004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/callbacks_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/callbacks_unittest.cc b/webkit/plugins/ppapi/callbacks_unittest.cc index 2619264..3fd92b9 100644 --- a/webkit/plugins/ppapi/callbacks_unittest.cc +++ b/webkit/plugins/ppapi/callbacks_unittest.cc @@ -16,8 +16,6 @@ namespace webkit { namespace ppapi { -namespace { - struct CallbackRunInfo { // All valid results (PP_OK, PP_ERROR_...) are nonpositive. CallbackRunInfo() : run_count(0), result(1) {} @@ -25,6 +23,8 @@ struct CallbackRunInfo { int32_t result; }; +namespace { + void TestCallback(void* user_data, int32_t result) { CallbackRunInfo* info = reinterpret_cast<CallbackRunInfo*>(user_data); info->run_count++; |