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

Side by Side Diff: ui/gl/gl_version_info.cc

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gl/gl_version_info.h" 5 #include "ui/gl/gl_version_info.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/string_tokenizer.h" 8 #include "base/strings/string_tokenizer.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 10
(...skipping 17 matching lines...) Expand all
28 major_version = major; 28 major_version = major;
29 if (tokenizer.GetNext() && 29 if (tokenizer.GetNext() &&
30 base::StringToUint(tokenizer.token_piece(), &minor)) { 30 base::StringToUint(tokenizer.token_piece(), &minor)) {
31 minor_version = minor; 31 minor_version = minor;
32 } 32 }
33 } 33 }
34 if (is_es && major_version == 3) 34 if (is_es && major_version == 3)
35 is_es3 = true; 35 is_es3 = true;
36 } 36 }
37 if (renderer_str) { 37 if (renderer_str) {
38 is_angle = StartsWithASCII(renderer_str, "ANGLE", true); 38 is_angle =
39 base::StartsWith(renderer_str, "ANGLE", base::CompareCase::SENSITIVE);
39 } 40 }
40 } 41 }
41 42
42 } // namespace gfx 43 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698