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

Unified Diff: content/browser/gpu/gpu_blacklist.h

Issue 7748029: Fix a memory leak in GpuBlacklist. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_blacklist.h
===================================================================
--- content/browser/gpu/gpu_blacklist.h (revision 98162)
+++ content/browser/gpu/gpu_blacklist.h (working copy)
@@ -208,7 +208,7 @@
public:
// Constructs GpuBlacklistEntry from DictionaryValue loaded from json.
// Top-level entry must have an id number. Others are exceptions.
- static GpuBlacklistEntry* GetGpuBlacklistEntryFromValue(
+ static ScopedGpuBlacklistEntry GetGpuBlacklistEntryFromValue(
base::DictionaryValue* value, bool top_level);
// Determines if a given os/gc/driver is included in the Entry set.
@@ -275,7 +275,7 @@
bool SetBlacklistedFeatures(
const std::vector<std::string>& blacklisted_features);
- void AddException(GpuBlacklistEntry* exception);
+ void AddException(ScopedGpuBlacklistEntry exception);
uint32 id_;
std::string description_;
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698