summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/master_preferences_dummy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/master_preferences_dummy.cc')
-rw-r--r--chrome/installer/util/master_preferences_dummy.cc18
1 files changed, 12 insertions, 6 deletions
diff --git a/chrome/installer/util/master_preferences_dummy.cc b/chrome/installer/util/master_preferences_dummy.cc
index 3b89238..75377f5 100644
--- a/chrome/installer/util/master_preferences_dummy.cc
+++ b/chrome/installer/util/master_preferences_dummy.cc
@@ -57,12 +57,18 @@ const MasterPreferences& MasterPreferences::ForCurrentProcess() {
}
}
-// The use of std::vector<GURL>() above requires us to have a destructor for
-// GURL. GURL contains a member of type url_parse::Parsed, which declares (but
-// does not implement) an explicit destructor in its header file. We're missing
-// the real implementation by not depending on the googleurl library. However,
-// we don't really need it, so we just replace it here rather than building a
-// 64-bit version of the googleurl library with all its dependencies.
+// The use of std::vector<GURL>() above requires us to have destructors for
+// GURL and its contained types. GURL contains a member of type
+// url_parse::Parsed. Both Parsed and GURL declare (but do not implement)
+// explicit destructors in their header files. We're missing the real
+// implementations by not depending on the googleurl library. However, we don't
+// really need them, so we just replace them here rather than building a 64-bit
+// version of the googleurl library with all its dependencies.
+
+GURL::~GURL() {
+ NOTREACHED();
+}
+
namespace url_parse {
Parsed::~Parsed() {