Index: content/browser/webui/web_ui_data_source_impl.cc |
diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc |
index 5f17e53225bae9d4e15e0f62aaadbe6cded56aab..9347e7c17554394003e4feb679c6bb0b8f036dc4 100644 |
--- a/content/browser/webui/web_ui_data_source_impl.cc |
+++ b/content/browser/webui/web_ui_data_source_impl.cc |
@@ -35,7 +35,7 @@ class WebUIDataSourceImpl::InternalDataSource : public URLDataSource { |
} |
// URLDataSource implementation. |
- virtual std::string GetSource() OVERRIDE { |
+ virtual std::string GetSource() const OVERRIDE { |
return parent_->GetSource(); |
} |
virtual std::string GetMimeType(const std::string& path) const OVERRIDE { |
@@ -152,7 +152,7 @@ void WebUIDataSourceImpl::DisableDenyXFrameOptions() { |
deny_xframe_options_ = false; |
} |
-std::string WebUIDataSourceImpl::GetSource() { |
+std::string WebUIDataSourceImpl::GetSource() const { |
return source_name_; |
} |