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

Unified Diff: chrome/browser/component_updater/swiftshader_component_installer.cc

Issue 897873002: Make ComponentInstaller refcounted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2015_01_19_component_installer
Patch Set: fix Created 5 years, 10 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/browser/component_updater/swiftshader_component_installer.cc
diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc
index bea146a5a94c9671c38d004b098e412c28718d0c..917a3ca4c86e8d054c08de148169124678716168 100644
--- a/chrome/browser/component_updater/swiftshader_component_installer.cc
+++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
@@ -100,8 +100,7 @@ class SwiftShaderComponentInstaller : public update_client::ComponentInstaller {
public:
explicit SwiftShaderComponentInstaller(const Version& version);
- ~SwiftShaderComponentInstaller() override {}
-
+ // ComponentInstaller implementation:
void OnUpdateError(int error) override;
bool Install(const base::DictionaryValue& manifest,
@@ -111,6 +110,8 @@ class SwiftShaderComponentInstaller : public update_client::ComponentInstaller {
base::FilePath* installed_file) override;
private:
+ ~SwiftShaderComponentInstaller() override {}
+
Version current_version_;
};

Powered by Google App Engine
This is Rietveld 408576698