Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2694)

Unified Diff: core/src/fxge/win32/fx_win32_device.cpp

Issue 792953005: Resolve all but two VC++ build warnings in pdfium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fixing formatting. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/src/fxge/win32/fx_win32_device.cpp
diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp
index debf94d7a6f4303f61b04b5ff3b85bf58749624a..84aec9b8086f998974bde3616cf1d77e2d388072 100644
--- a/core/src/fxge/win32/fx_win32_device.cpp
+++ b/core/src/fxge/win32/fx_win32_device.cpp
@@ -403,6 +403,7 @@ void CFX_GEModule::InitPlatform()
}
OSVERSIONINFO ver;
ver.dwOSVersionInfoSize = sizeof(ver);
+#pragma warning(suppress : 4996) // Suppress deprecation warning
scottmg 2015/01/06 19:48:53 This is globally disabled in Chromium, maybe you w
GetVersionEx(&ver);
pPlatformData->m_bHalfTone = ver.dwMajorVersion >= 5;
pPlatformData->m_GdiplusExt.Load();

Powered by Google App Engine
This is Rietveld 408576698