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

Unified Diff: pdf/pdf.cc

Issue 1125103002: Remove the in-process PDF viewer from pdf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-in-process-instance
Patch Set: Created 5 years, 7 months 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 | « pdf/page_indicator.cc ('k') | pdf/pdf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf.cc
diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index 7aba41229d376848c64ea8eda2a70e025592079d..655a13359eefb7420310213430ceed8ab4713730 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -10,7 +10,6 @@
#include "base/command_line.h"
#include "base/logging.h"
-#include "pdf/instance.h"
#include "pdf/out_of_process_instance.h"
#include "ppapi/c/ppp.h"
#include "ppapi/cpp/private/internal_module.h"
@@ -51,9 +50,7 @@ pp::Instance* PDFModule::CreateInstance(PP_Instance instance) {
g_sdk_initialized_via_pepper = true;
}
- if (pp::PDF::IsOutOfProcess(pp::InstanceHandle(instance)))
- return new OutOfProcessInstance(instance);
- return new Instance(instance);
+ return new OutOfProcessInstance(instance);
}
« no previous file with comments | « pdf/page_indicator.cc ('k') | pdf/pdf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698