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

Unified Diff: src/v8.cc

Issue 76323002: Revert 17877 - Introduce a v8::Platform class that bundles embedder callbacks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « src/v8.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index b8160f7d6cbcb4c98eba0a32a410d99e9b702e61..17007a2a2cffddf0960119374cdb6f1857e5f3e9 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -52,7 +52,6 @@ V8_DECLARE_ONCE(init_once);
List<CallCompletedCallback>* V8::call_completed_callbacks_ = NULL;
v8::ArrayBuffer::Allocator* V8::array_buffer_allocator_ = NULL;
-v8::Platform* V8::platform_ = NULL;
bool V8::Initialize(Deserializer* des) {
@@ -195,22 +194,4 @@ void V8::InitializeOncePerProcess() {
CallOnce(&init_once, &InitializeOncePerProcessImpl);
}
-
-void V8::InitializePlatform(v8::Platform* platform) {
- ASSERT(platform);
- platform_ = platform;
-}
-
-
-void V8::ShutdownPlatform() {
- ASSERT(platform_);
- platform_ = NULL;
-}
-
-
-v8::Platform* V8::GetCurrentPlatform() {
- ASSERT(platform_);
- return platform_;
-}
-
} } // namespace v8::internal
« no previous file with comments | « src/v8.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698