summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 02:13:37 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 02:13:37 +0000
commit2758136c0f073eacbb2943d5029b90eb4b1e5512 (patch)
tree5dc4059ad86b0547b1096a655a635c3ec4c3dd75 /webkit/glue
parent875d57b0c8549d705b7b48113c54c1130adc1c0d (diff)
downloadchromium_src-2758136c0f073eacbb2943d5029b90eb4b1e5512.zip
chromium_src-2758136c0f073eacbb2943d5029b90eb4b1e5512.tar.gz
chromium_src-2758136c0f073eacbb2943d5029b90eb4b1e5512.tar.bz2
Turn on logging of notImplemented()s inside WebCore for test_shell.
Review URL: http://codereview.chromium.org/11259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webkit_glue.cc4
-rw-r--r--webkit/glue/webkit_glue.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 335c3b0..9b24362 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -81,6 +81,10 @@ bool IsLayoutTestMode() {
return layout_test_mode_;
}
+void EnableWebCoreNotImplementedLogging() {
+ WebCore::LogNotYetImplemented.state = WTFLogChannelOn;
+}
+
#if defined(OS_WIN)
IMLangFontLink2* GetLangFontLinkHelper() {
// TODO(hbono): http://b/1072298 Experimentally disabled this code to
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h
index 6c685a8..a22df67 100644
--- a/webkit/glue/webkit_glue.h
+++ b/webkit/glue/webkit_glue.h
@@ -67,6 +67,9 @@ void SetShouldExposeGCController(bool enable);
void SetLayoutTestMode(bool enable);
bool IsLayoutTestMode();
+// Turn on the logging for notImplemented() calls from WebCore.
+void EnableWebCoreNotImplementedLogging();
+
#if defined(OS_WIN)
// Returns the com object pointer for the FontLink interface. This is the
// default way to do this operation. It can be called directly from