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

Side by Side Diff: third_party/WebKit/Source/core/frame/ImageBitmap.h

Issue 2807073002: Removed local RefPtr objects created from PassRefPtr arguments. (Closed)
Patch Set: addressed review Created 3 years, 8 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ImageBitmap_h 5 #ifndef ImageBitmap_h
6 #define ImageBitmap_h 6 #define ImageBitmap_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/html/HTMLImageElement.h" 10 #include "core/html/HTMLImageElement.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const ImageBitmapOptions&); 144 const ImageBitmapOptions&);
145 ImageBitmap(HTMLVideoElement*, 145 ImageBitmap(HTMLVideoElement*,
146 Optional<IntRect>, 146 Optional<IntRect>,
147 Document*, 147 Document*,
148 const ImageBitmapOptions&); 148 const ImageBitmapOptions&);
149 ImageBitmap(HTMLCanvasElement*, Optional<IntRect>, const ImageBitmapOptions&); 149 ImageBitmap(HTMLCanvasElement*, Optional<IntRect>, const ImageBitmapOptions&);
150 ImageBitmap(OffscreenCanvas*, Optional<IntRect>, const ImageBitmapOptions&); 150 ImageBitmap(OffscreenCanvas*, Optional<IntRect>, const ImageBitmapOptions&);
151 ImageBitmap(ImageData*, Optional<IntRect>, const ImageBitmapOptions&); 151 ImageBitmap(ImageData*, Optional<IntRect>, const ImageBitmapOptions&);
152 ImageBitmap(ImageBitmap*, Optional<IntRect>, const ImageBitmapOptions&); 152 ImageBitmap(ImageBitmap*, Optional<IntRect>, const ImageBitmapOptions&);
153 ImageBitmap(PassRefPtr<StaticBitmapImage>); 153 ImageBitmap(PassRefPtr<StaticBitmapImage>);
154 ImageBitmap(PassRefPtr<StaticBitmapImage>, 154 ImageBitmap(RefPtr<StaticBitmapImage>,
155 Optional<IntRect>, 155 Optional<IntRect>,
156 const ImageBitmapOptions&); 156 const ImageBitmapOptions&);
157 ImageBitmap(const void* pixel_data, 157 ImageBitmap(const void* pixel_data,
158 uint32_t width, 158 uint32_t width,
159 uint32_t height, 159 uint32_t height,
160 bool is_image_bitmap_premultiplied, 160 bool is_image_bitmap_premultiplied,
161 bool is_image_bitmap_origin_clean); 161 bool is_image_bitmap_origin_clean);
162 162
163 RefPtr<StaticBitmapImage> image_; 163 RefPtr<StaticBitmapImage> image_;
164 bool is_neutered_ = false; 164 bool is_neutered_ = false;
165 }; 165 };
166 166
167 } // namespace blink 167 } // namespace blink
168 168
169 #endif // ImageBitmap_h 169 #endif // ImageBitmap_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698