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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/gpu/gpu_test_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.cc
===================================================================
--- content/renderer/renderer_webkitplatformsupport_impl.cc (revision 201645)
+++ content/renderer/renderer_webkitplatformsupport_impl.cc (working copy)
@@ -24,7 +24,6 @@
#include "content/common_child/indexed_db/proxy_webidbfactory_impl.h"
#include "content/common_child/npobject_util.h"
#include "content/public/common/content_switches.h"
-#include "content/public/common/gpu_info.h"
#include "content/public/renderer/content_renderer_client.h"
#include "content/renderer/dom_storage/webstoragenamespace_impl.h"
#include "content/renderer/gamepad_shared_memory_reader.h"
@@ -35,6 +34,7 @@
#include "content/renderer/renderer_clipboard_client.h"
#include "content/renderer/websharedworkerrepository_impl.h"
#include "googleurl/src/gurl.h"
+#include "gpu/config/gpu_info.h"
#include "ipc/ipc_sync_message_filter.h"
#include "media/audio/audio_output_device.h"
#include "media/base/audio_hardware_config.h"
@@ -619,7 +619,7 @@
if (!host)
return false;
- const GPUInfo& gpu_info = host->gpu_info();
+ const gpu::GPUInfo& gpu_info = host->gpu_info();
if (gpu_info.can_lose_context || gpu_info.software_rendering)
return false;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/gpu/gpu_test_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698