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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h

Issue 10386080: Rename nacl::RefCounted to nacl::RefCountedThreadSafe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License bump Created 8 years, 7 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: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h
index 7a274a4da08b4d52f61dce91518e5dd9235d59e3..27f8a11c7a8af405639eb70ed32111dab5b008f6 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h
@@ -1,6 +1,6 @@
-// Copyright 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can
-// be found in the LICENSE file.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
@@ -15,7 +15,6 @@ namespace ppapi_proxy {
class PluginImageData : public PluginResource {
public:
PluginImageData();
- virtual ~PluginImageData();
static const PPB_ImageData* GetInterface();
@@ -24,13 +23,18 @@ class PluginImageData : public PluginResource {
void Unmap();
const PP_ImageDataDesc& desc() const { return desc_; }
+
+ protected:
+ virtual ~PluginImageData();
+
private:
- IMPLEMENT_RESOURCE(PluginImageData);
- NACL_DISALLOW_COPY_AND_ASSIGN(PluginImageData);
PP_ImageDataDesc desc_;
int shm_fd_;
int32_t shm_size_;
void* addr_;
+
+ IMPLEMENT_RESOURCE(PluginImageData);
+ NACL_DISALLOW_COPY_AND_ASSIGN(PluginImageData);
};
} // namespace ppapi_proxy

Powered by Google App Engine
This is Rietveld 408576698