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

Unified Diff: content/renderer/pepper/pepper_compositor_host.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_compositor_host.h
diff --git a/content/renderer/pepper/pepper_compositor_host.h b/content/renderer/pepper/pepper_compositor_host.h
index 599f346983e92cdf4abafe0b4bf4c4b78500c000..a8a413bd5d71db62c246d2ee75648494634bfb74 100644
--- a/content/renderer/pepper/pepper_compositor_host.h
+++ b/content/renderer/pepper/pepper_compositor_host.h
@@ -38,6 +38,8 @@ class PepperCompositorHost : public ppapi::host::ResourceHost {
PepperCompositorHost(RendererPpapiHost* host,
PP_Instance instance,
PP_Resource resource);
+ ~PepperCompositorHost() override;
+
// Associates this device with the given plugin instance. You can pass NULL
// to clear the existing device. Returns true on success. In this case, a
// repaint of the page will also be scheduled. Failure means that the device
@@ -49,8 +51,6 @@ class PepperCompositorHost : public ppapi::host::ResourceHost {
void ViewInitiatedPaint();
private:
- ~PepperCompositorHost() override;
-
void ImageReleased(int32_t id,
scoped_ptr<base::SharedMemory> shared_memory,
scoped_ptr<cc::SharedBitmap> bitmap,

Powered by Google App Engine
This is Rietveld 408576698