Index: samples/process.cc |
diff --git a/samples/process.cc b/samples/process.cc |
index 76b178bc924c366253e6966fd97f167f849b9fc9..ce6d8e6beab14e158e30460a09de136ce26ede02 100644 |
--- a/samples/process.cc |
+++ b/samples/process.cc |
@@ -25,7 +25,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#include <v8.h> |
+#include <include/v8.h> |
+ |
+#include <include/libplatform/libplatform.h> |
#include <map> |
#include <string> |
@@ -644,6 +646,8 @@ void PrintMap(map<string, string>* m) { |
int main(int argc, char* argv[]) { |
v8::V8::InitializeICU(); |
+ v8::Platform* platform = v8::platform::CreateDefaultPlatform(0); |
+ v8::V8::InitializePlatform(platform); |
Jakob Kummerow
2014/07/02 07:37:52
Is it intentional that this platform is never shut
jochen (gone - plz use gerrit)
2014/07/02 07:39:25
in this file, we also never dispose v8 (or the iso
|
map<string, string> options; |
string file; |
ParseOptions(argc, argv, &options, &file); |