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

Unified Diff: content/browser/gpu/gpu_internals_ui.cc

Issue 12896006: mac: Clean up a few more uses of USE_SKIA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 7 years, 9 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: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index acdddaf75ee71ef8720d1f48f89162c78d090e79..62b85e3ee24bfbf85be8f7d20c930ad11cf5d6da 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -182,15 +182,11 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
}
// Determine if accelerated-2d-canvas is supported, which depends on whether
-// lose_context could happen and whether skia is the backend.
+// lose_context could happen.
bool SupportsAccelerated2dCanvas() {
if (GpuDataManagerImpl::GetInstance()->GetGPUInfo().can_lose_context)
return false;
-#if defined(USE_SKIA)
return true;
-#else
- return false;
-#endif
}
base::Value* GetFeatureStatus() {
@@ -595,11 +591,7 @@ base::Value* GpuMessageHandler::OnRequestClientInfo(
base::SysInfo::OperatingSystemName() + " " +
base::SysInfo::OperatingSystemVersion());
dict->SetString("angle_revision", base::UintToString(BUILD_REVISION));
-#if defined(USE_SKIA)
dict->SetString("graphics_backend", "Skia");
-#else
- dict->SetString("graphics_backend", "Core Graphics");
-#endif
dict->SetString("blacklist_version",
GpuDataManagerImpl::GetInstance()->GetBlacklistVersion());
« no previous file with comments | « chrome/renderer/mock_printer.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698