0

Remove OS_NACL #ifdefs in pdf/

There are some OS_NACL ifdefs in pdf/{instance.cc/out_of_process_instance.cc}.
I assume these are from long ago when we tried to get PDF running in NaCl but
I believe that at present many more changes would be required to get it
running in NaCl again so we might as well remove these.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286927 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
raymes@chromium.org
2014-08-01 01:00:58 +00:00
parent c618c9202c
commit 9b21c6bd0c
2 changed files with 0 additions and 8 deletions

@ -2323,9 +2323,6 @@ pp::URLLoader Instance::CreateURLLoaderInternal() {
}
int Instance::GetInitialPage(const std::string& url) {
#if defined(OS_NACL)
return -1;
#else
size_t found_idx = url.find('#');
if (found_idx == std::string::npos)
return -1;
@ -2366,7 +2363,6 @@ int Instance::GetInitialPage(const std::string& url) {
}
}
return page;
#endif
}
void Instance::UpdateToolbarPosition(bool invalidate) {

@ -1305,9 +1305,6 @@ pp::URLLoader OutOfProcessInstance::CreateURLLoaderInternal() {
}
int OutOfProcessInstance::GetInitialPage(const std::string& url) {
#if defined(OS_NACL)
return -1;
#else
size_t found_idx = url.find('#');
if (found_idx == std::string::npos)
return -1;
@ -1348,7 +1345,6 @@ int OutOfProcessInstance::GetInitialPage(const std::string& url) {
}
}
return page;
#endif
}
void OutOfProcessInstance::SetZoom(double scale) {