Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes...
authorBenedikt Meurer <bmeurer@chromium.org>
Wed, 19 Nov 2014 07:27:48 +0000 (08:27 +0100)
committerBenedikt Meurer <bmeurer@chromium.org>
Wed, 19 Nov 2014 07:28:07 +0000 (07:28 +0000)
This reverts commit 0f57ce8f1a3d6b4f3a4b65739d719b8467ff5d9c.
and 3245b8cb832f4a948aff9fb1c271cc08c4690d3b for breaking Chromium
compile.

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/743533003

Cr-Commit-Position: refs/heads/master@{#25411}

include/libplatform/libplatform.h
samples/lineprocessor.cc
samples/shell.cc
src/d8.cc
test/unittests/run-all-unittests.cc

index c818fec..2125e97 100644 (file)
@@ -5,11 +5,9 @@
 #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
 #define V8_LIBPLATFORM_LIBPLATFORM_H_
 
-namespace v8 {
-
-class Isolate;
-class Platform;
+#include "include/v8-platform.h"
 
+namespace v8 {
 namespace platform {
 
 /**
index ce502f0..69bfab4 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <include/libplatform/libplatform.h>
 #include <include/v8-debug.h>
-#include <include/v8-platform.h>
 
 #include <fcntl.h>
 #include <stdio.h>
index f84838f..b66e8f7 100644 (file)
@@ -28,7 +28,6 @@
 #include <include/v8.h>
 
 #include <include/libplatform/libplatform.h>
-#include <include/v8-platform.h>
 
 #include <assert.h>
 #include <fcntl.h>
index c4550b6..fd80fcd 100644 (file)
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -40,8 +40,6 @@
 #include "src/d8.h"
 
 #include "include/libplatform/libplatform.h"
-#include "include/v8-platform.h"
-
 #ifndef V8_SHARED
 #include "src/api.h"
 #include "src/base/cpu.h"
index 7c3a7ab..8c361dd 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "include/libplatform/libplatform.h"
 #include "include/v8.h"
-#include "include/v8-platform.h"
 #include "src/base/compiler-specific.h"
 #include "testing/gmock/include/gmock/gmock.h"