Index: pdf/instance.cc |
diff --git a/pdf/instance.cc b/pdf/instance.cc |
index a8a71e8a89889b80274e4055c8dac427e9013520..334bb56991836f77ce690a550f923d91be431a3a 100644 |
--- a/pdf/instance.cc |
+++ b/pdf/instance.cc |
@@ -41,7 +41,6 @@ |
#include "ppapi/cpp/resource.h" |
#include "ppapi/cpp/url_request_info.h" |
#include "ui/events/keycodes/keyboard_codes.h" |
-#include "v8/include/v8.h" |
#if defined(OS_MACOSX) |
#include "base/mac/mac_util.h" |
@@ -332,15 +331,6 @@ Instance::~Instance() { |
} |
bool Instance::Init(uint32_t argc, const char* argn[], const char* argv[]) { |
- v8::StartupData natives; |
- v8::StartupData snapshot; |
- pp::PDF::GetV8ExternalSnapshotData(this, &natives.data, &natives.raw_size, |
- &snapshot.data, &snapshot.raw_size); |
- if (natives.data) { |
- v8::V8::SetNativesDataBlob(&natives); |
- v8::V8::SetSnapshotDataBlob(&snapshot); |
- } |
- |
// For now, we hide HiDPI support behind a flag. |
if (pp::PDF::IsFeatureEnabled(this, PP_PDFFEATURE_HIDPI)) |
hidpi_enabled_ = true; |