summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-18 01:08:05 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-18 01:08:05 +0000
commit8e44632ef6673e72c0a07f08d45e340d888962b1 (patch)
treedfb2fbda59ead1885d1fe6a32214e1518a255f2e
parent012adff3836f208288c09323c0de2f93117c13c9 (diff)
downloadchromium_src-8e44632ef6673e72c0a07f08d45e340d888962b1.zip
chromium_src-8e44632ef6673e72c0a07f08d45e340d888962b1.tar.gz
chromium_src-8e44632ef6673e72c0a07f08d45e340d888962b1.tar.bz2
Fix the test build when BUILD_PERSONALIZATION is enabled.
GetProfilePersonalization returns a pointer. Review URL: http://codereview.chromium.org/7639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3583 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/testing_profile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index dbbda33..ea45bc1 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -153,7 +153,8 @@ class TestingProfile : public Profile {
}
#ifdef CHROME_PERSONALIZATION
- virtual ProfilePersonalization GetProfilePersonalization() {
+ virtual ProfilePersonalization* GetProfilePersonalization() {
+ return NULL;
}
#endif