Index: chrome/common/resource_bundle.cc |
=================================================================== |
--- chrome/common/resource_bundle.cc (revision 13475) |
+++ chrome/common/resource_bundle.cc (working copy) |
@@ -52,7 +52,9 @@ |
} |
void ResourceBundle::SetThemeExtension(const Extension& e) { |
+#if !defined(LINUX2) |
theme_extension_.reset(new Extension(e)); |
+#endif |
} |
/* static */ |
@@ -63,6 +65,7 @@ |
// it can handle this resource. |
// TODO(erikkay): It would be nice to use something less brittle than |
// resource_id here. |
+#if !defined(LINUX2) |
if (g_shared_instance_->theme_extension_.get()) { |
FilePath path = |
g_shared_instance_->theme_extension_->GetThemeResourcePath(resource_id); |
@@ -84,6 +87,7 @@ |
} |
} |
} |
+#endif |
if (!success) |
success = LoadResourceBytes(data_handle, resource_id, &raw_data); |
if (!success) |