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

Unified Diff: content/ppapi_plugin/ppapi_thread.cc

Issue 228783003: Remove AMD family check for the flapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_thread.cc
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 5ca0f83a2856bcba3190e3dff979e4cfe3fa5fdf..e2f6a9bdb06c8d5175ade9bcd5121cd0d9d0292d 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -348,7 +348,7 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
if (base::win::OSInfo::GetInstance()->version() >=
base::win::VERSION_WIN7) {
base::CPU cpu;
- if ((cpu.vendor_name() == "AuthenticAMD") && (cpu.family() > 0x14)) {
+ if (cpu.vendor_name() == "AuthenticAMD") {
// The AMD crypto acceleration is only AMD Bulldozer and above.
#if defined(_WIN64)
LoadLibraryA("amdhcp64.dll");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698