summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 02:41:57 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 02:41:57 +0000
commit8d127305a31b1c129d2cc40908f9fc6fc74a3c0f (patch)
treecb09daa9a0be9e46d57f3e313769426293f0addb /win8/metro_driver
parent21456cb1837d0f0647e25de9f50b8bb786f1a660 (diff)
downloadchromium_src-8d127305a31b1c129d2cc40908f9fc6fc74a3c0f.zip
chromium_src-8d127305a31b1c129d2cc40908f9fc6fc74a3c0f.tar.gz
chromium_src-8d127305a31b1c129d2cc40908f9fc6fc74a3c0f.tar.bz2
Only define ERROR on windows builds
This is to stop people accidentally using the ERROR macro for other uses, e.g. VLOG(ERROR) is not meaningful. BUG= Review URL: https://chromiumcodereview.appspot.com/11669010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/metro_driver')
-rw-r--r--win8/metro_driver/direct3d_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/metro_driver/direct3d_helper.cc b/win8/metro_driver/direct3d_helper.cc
index a4c3201..056e84b 100644
--- a/win8/metro_driver/direct3d_helper.cc
+++ b/win8/metro_driver/direct3d_helper.cc
@@ -15,7 +15,7 @@ namespace {
void CheckIfFailed(HRESULT hr) {
DCHECK(!FAILED(hr));
if (FAILED(hr))
- DVLOG(ERROR) << "Direct3D call failed, hr = " << hr;
+ DVLOG(0) << "Direct3D call failed, hr = " << hr;
}
float GetLogicalDpi() {