summaryrefslogtreecommitdiffstats
path: root/gin
diff options
context:
space:
mode:
authoroth <oth@chromium.org>2015-04-10 04:09:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-10 11:10:07 +0000
commit552fb493265d39767ade9320a4bf618cc2cefbe1 (patch)
tree57707eb726517bbf640685263eb78be17d28fcdc /gin
parent80bf0e60b58747e59539faaa14aed061cd1b93ea (diff)
downloadchromium_src-552fb493265d39767ade9320a4bf618cc2cefbe1.zip
chromium_src-552fb493265d39767ade9320a4bf618cc2cefbe1.tar.gz
chromium_src-552fb493265d39767ade9320a4bf618cc2cefbe1.tar.bz2
Replace IsolateHolder::LoadV8Snapshot() with V8Initializer::LoadSnapshot().
BUG=421063 Review URL: https://codereview.chromium.org/1061373002 Cr-Commit-Position: refs/heads/master@{#324613}
Diffstat (limited to 'gin')
-rw-r--r--gin/isolate_holder.cc9
-rw-r--r--gin/public/isolate_holder.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 3cc3238..6081a0b 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -85,13 +85,4 @@ void IsolateHolder::RemoveRunMicrotasksObserver() {
task_observer_.reset();
}
-#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
-
-// static
-bool IsolateHolder::LoadV8Snapshot() {
- return V8Initializer::LoadV8Snapshot();
-}
-
-#endif // V8_USE_EXTERNAL_STARTUP_DATA
-
} // namespace gin
diff --git a/gin/public/isolate_holder.h b/gin/public/isolate_holder.h
index d2275ed..ba75cd8 100644
--- a/gin/public/isolate_holder.h
+++ b/gin/public/isolate_holder.h
@@ -52,15 +52,6 @@ class GIN_EXPORT IsolateHolder {
// thread.
void RemoveRunMicrotasksObserver();
-#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
-
- // Deprecated and to be removed: Use gin::V8Initializer::LoadV8Snapshot()
- // Load V8 snapshot from default resources. Returns true on success or
- // snapshot is already loaded, false otherwise.
- static bool LoadV8Snapshot();
-
-#endif // V8_USE_EXTERNAL_STARTUP_DATA
-
private:
v8::Isolate* isolate_;
scoped_ptr<PerIsolateData> isolate_data_;