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

Unified Diff: chrome/renderer/pepper/ppb_pdf_impl.cc

Issue 10392152: RefCounted types should not have public destructors, Linux fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: chrome/renderer/pepper/ppb_pdf_impl.cc
diff --git a/chrome/renderer/pepper/ppb_pdf_impl.cc b/chrome/renderer/pepper/ppb_pdf_impl.cc
index f99f4ff3efabbb3b38bfc199060abbcd834f89ee..ff3baea367f5f7f75acb7817df245cd935b93bd7 100644
--- a/chrome/renderer/pepper/ppb_pdf_impl.cc
+++ b/chrome/renderer/pepper/ppb_pdf_impl.cc
@@ -50,8 +50,6 @@ class PrivateFontFile : public ppapi::Resource {
: Resource(ppapi::OBJECT_IS_IMPL, instance),
fd_(fd) {
}
- virtual ~PrivateFontFile() {
- }
bool GetFontTable(uint32_t table,
void* output,
@@ -63,6 +61,9 @@ class PrivateFontFile : public ppapi::Resource {
return rv;
}
+ protected:
+ virtual ~PrivateFontFile() {}
+
private:
int fd_;
};

Powered by Google App Engine
This is Rietveld 408576698