diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 19:58:35 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-10 19:58:35 +0000 |
commit | 55590943a714998181155465ee01c6aa7c52b4e6 (patch) | |
tree | f6e656ed001034f3835250f89537be99451e375f /content/browser | |
parent | 1db2235f40913e6a23bf67cb10aa498560afe674 (diff) | |
download | chromium_src-55590943a714998181155465ee01c6aa7c52b4e6.zip chromium_src-55590943a714998181155465ee01c6aa7c52b4e6.tar.gz chromium_src-55590943a714998181155465ee01c6aa7c52b4e6.tar.bz2 |
Coverity: Fix a forward null.
We DCHECK right below that browser_context is non-NULL.
CID_COUNT=1
CID=103960
BUG=none
TEST=none
R=groby
TBR=sky
Review URL: https://chromiumcodereview.appspot.com/10381079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/renderer_host/pepper_message_filter.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc index 7c507376..681d9b2 100644 --- a/content/browser/renderer_host/pepper_message_filter.cc +++ b/content/browser/renderer_host/pepper_message_filter.cc @@ -73,8 +73,7 @@ PepperMessageFilter::PepperMessageFilter( content::BrowserContext* browser_context) : process_type_(type), process_id_(process_id), - resource_context_(browser_context ? - browser_context->GetResourceContext() : NULL), + resource_context_(browser_context->GetResourceContext()), host_resolver_(NULL), next_socket_id_(1) { DCHECK(type == RENDERER); |