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

Unified Diff: content/shell/renderer/test_runner/TestPlugin.cpp

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/shell/renderer/test_runner/TestPlugin.cpp
diff --git a/content/shell/renderer/test_runner/TestPlugin.cpp b/content/shell/renderer/test_runner/TestPlugin.cpp
index 260620773cd513a9142aaf1d033b204aa710fae8..db9edc573f4098b29be5dd735e1b4af1d7c7cfd5 100644
--- a/content/shell/renderer/test_runner/TestPlugin.cpp
+++ b/content/shell/renderer/test_runner/TestPlugin.cpp
@@ -27,7 +27,7 @@
using namespace blink;
using namespace std;
-namespace WebTestRunner {
+namespace content {
namespace {
@@ -296,7 +296,7 @@ void TestPlugin::updateGeometry(const WebRect& frameRect, const WebRect& clipRec
} else {
size_t bytes = 4 * m_rect.width * m_rect.height;
scoped_ptr<base::SharedMemory> bitmap =
- content::RenderThread::Get()->HostAllocateSharedMemoryBuffer(bytes);
+ RenderThread::Get()->HostAllocateSharedMemoryBuffer(bytes);
if (!bitmap->Map(bytes)) {
m_textureMailbox = cc::TextureMailbox();
} else {
@@ -690,4 +690,4 @@ bool TestPlugin::isSupportedMimeType(const WebString& mimeType)
|| mimeType == canCreateWithoutRendererMimeType();
}
-}
+} // namespace content
« no previous file with comments | « content/shell/renderer/test_runner/TestPlugin.h ('k') | content/shell/renderer/test_runner/WebPermissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698