summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
authorericcheng@google.com <ericcheng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 02:02:18 +0000
committerericcheng@google.com <ericcheng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 02:02:18 +0000
commitf386cca7904c715b3c67935297a983e2c67ea92c (patch)
tree92be338d3bd964882ae8281906ed8841f889065f /chrome/renderer/render_view.cc
parent1cc87964e944939380107ed86107868344adb304 (diff)
downloadchromium_src-f386cca7904c715b3c67935297a983e2c67ea92c.zip
chromium_src-f386cca7904c715b3c67935297a983e2c67ea92c.tar.gz
chromium_src-f386cca7904c715b3c67935297a983e2c67ea92c.tar.bz2
Fix build break caused by some functions not ifdef CHROME_PERSONALIZATION'd out.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 0f88427..0700b48 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -2481,6 +2481,7 @@ void RenderView::OnThemeChanged() {
DidInvalidateRect(webwidget_, view_rect);
}
+#ifdef CHROME_PERSONALIZATION
void RenderView::OnPersonalizationEvent(std::string event_name,
std::string event_args) {
Personalization::HandleViewMsgPersonalizationEvent(personalization_,
@@ -2488,9 +2489,12 @@ void RenderView::OnPersonalizationEvent(std::string event_name,
event_name,
event_args);
}
+#endif
void RenderView::TransitionToCommittedForNewPage() {
+#ifdef CHROME_PERSONALIZATION
Personalization::HandleTransitionToCommittedForNewPage(personalization_);
+#endif
}
void RenderView::OnMessageFromExternalHost(