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

Unified Diff: test/cctest/test-platform-win32.cc

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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: test/cctest/test-platform-win32.cc
diff --git a/test/cctest/test-platform-win32.cc b/test/cctest/test-platform-win32.cc
index 83ee1b3846447efa9563a0e2f37cbb66cb6bbbac..96bc5b2c13272990695a1ca4c8534616aeef3d02 100644
--- a/test/cctest/test-platform-win32.cc
+++ b/test/cctest/test-platform-win32.cc
@@ -31,15 +31,15 @@
#include "src/v8.h"
+#include "src/base/platform/platform.h"
#include "src/base/win32-headers.h"
-#include "src/platform.h"
#include "test/cctest/cctest.h"
using namespace ::v8::internal;
TEST(VirtualMemory) {
- VirtualMemory* vm = new VirtualMemory(1 * MB);
+ v8::base::VirtualMemory* vm = new v8::base::VirtualMemory(1 * MB);
CHECK(vm->IsReserved());
void* block_addr = vm->address();
size_t block_size = 4 * KB;
@@ -54,5 +54,5 @@ TEST(VirtualMemory) {
TEST(GetCurrentProcessId) {
CHECK_EQ(static_cast<int>(::GetCurrentProcessId()),
- OS::GetCurrentProcessId());
+ v8::base::OS::GetCurrentProcessId());
}

Powered by Google App Engine
This is Rietveld 408576698