diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 06:13:31 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 06:13:31 +0000 |
commit | 5d0a3e0cea1bd2f64309dc72789dda31fc0303fc (patch) | |
tree | 5db64e93c0aab4b9821955b804b5b1a84d895811 | |
parent | 724f84155736003a6c15b4b2e4dd8f0efb8c2b4b (diff) | |
download | chromium_src-5d0a3e0cea1bd2f64309dc72789dda31fc0303fc.zip chromium_src-5d0a3e0cea1bd2f64309dc72789dda31fc0303fc.tar.gz chromium_src-5d0a3e0cea1bd2f64309dc72789dda31fc0303fc.tar.bz2 |
Clean up scoped_array<T> construction from NULL.
This won't be allowed by unique_ptr<T> or scoped_ptr<T>.
BUG=171118
Review URL: https://codereview.chromium.org/13710002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192518 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | gpu/tools/compositor_model_bench/render_model_utils.cc | 2 | ||||
-rw-r--r-- | net/spdy/spdy_framer_test.cc | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gpu/tools/compositor_model_bench/render_model_utils.cc b/gpu/tools/compositor_model_bench/render_model_utils.cc index d2bed46..7e1eb5c 100644 --- a/gpu/tools/compositor_model_bench/render_model_utils.cc +++ b/gpu/tools/compositor_model_bench/render_model_utils.cc @@ -15,8 +15,6 @@ TextureGenerator::TextureGenerator(RenderNode* root) : stage_(DiscoveryStage), - tex_ids_(NULL), - image_data_(NULL), images_generated_(0) { DiscoverInputIDs(root); GenerateGLTexIDs(); diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc index f3af86f..5bf76fa 100644 --- a/net/spdy/spdy_framer_test.cc +++ b/net/spdy/spdy_framer_test.cc @@ -100,7 +100,7 @@ class SpdyFramerTestUtil { class DecompressionVisitor : public SpdyFramerVisitorInterface { public: explicit DecompressionVisitor(int version) - : version_(version), buffer_(NULL), size_(0), finished_(false) { + : version_(version), size_(0), finished_(false) { } void ResetBuffer() { |