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

Unified Diff: fpdfsdk/src/fsdk_mgr.cpp

Issue 1529553003: Merge to XFA: Get rid of most instance of 'foo != NULL' (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years 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
Index: fpdfsdk/src/fsdk_mgr.cpp
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
index a59d3393a7651c9a94560da2a8ff9e9c82b06108..5e847b78e51f7c45314659257b4d43fef4f5efd1 100644
--- a/fpdfsdk/src/fsdk_mgr.cpp
+++ b/fpdfsdk/src/fsdk_mgr.cpp
@@ -603,12 +603,10 @@ FX_BOOL CPDFSDK_Document::GetPermissions(int nFlag) {
}
IJS_Runtime* CPDFSDK_Document::GetJsRuntime() {
- ASSERT(m_pEnv != NULL);
return m_pEnv->GetJSRuntime();
}
CFX_WideString CPDFSDK_Document::GetPath() {
- ASSERT(m_pEnv != NULL);
return m_pEnv->JS_docGetFilePath();
}

Powered by Google App Engine
This is Rietveld 408576698