diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 06:27:37 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 06:27:37 +0000 |
commit | 7374f881cd8f85aef012ab6be574a49db1f401c7 (patch) | |
tree | 48288c5aaad5d931a73cd8f8b500d63b2ffcbb38 /webkit | |
parent | 6328ccf96a5c69d309f36de7e67402723b6379bd (diff) | |
download | chromium_src-7374f881cd8f85aef012ab6be574a49db1f401c7.zip chromium_src-7374f881cd8f85aef012ab6be574a49db1f401c7.tar.gz chromium_src-7374f881cd8f85aef012ab6be574a49db1f401c7.tar.bz2 |
Fix some uninitialize variables that caused the URLLoader test to
sometimes crash.
Re-enable the URLLoader test on all platforms.
R=brettw
BUG=48734
TEST=Covered by PPAPITester.URLLoader
Review URL: http://codereview.chromium.org/2994004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/plugins/pepper_url_loader.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_url_loader.cc b/webkit/glue/plugins/pepper_url_loader.cc index aee2a86..0cf03a0 100644 --- a/webkit/glue/plugins/pepper_url_loader.cc +++ b/webkit/glue/plugins/pepper_url_loader.cc @@ -151,7 +151,9 @@ URLLoader::URLLoader(PluginInstance* instance) bytes_sent_(0), total_bytes_to_be_sent_(0), bytes_received_(0), - total_bytes_to_be_received_(0) { + total_bytes_to_be_received_(0), + user_buffer_(NULL), + user_buffer_size_(0) { } URLLoader::~URLLoader() { |