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

Unified Diff: ios/chrome/browser/snapshots/snapshot_manager.mm

Issue 1028143002: Added std:: for libstdc++ compatibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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: ios/chrome/browser/snapshots/snapshot_manager.mm
diff --git a/ios/chrome/browser/snapshots/snapshot_manager.mm b/ios/chrome/browser/snapshots/snapshot_manager.mm
index 29a6f4628cba15b104e63f27509e8d1e81977540..ae686fe29068eb136e8300917d5051cf9ea7c75a 100644
--- a/ios/chrome/browser/snapshots/snapshot_manager.mm
+++ b/ios/chrome/browser/snapshots/snapshot_manager.mm
@@ -17,9 +17,9 @@
overlays:(NSArray*)overlays {
DCHECK(view);
CGSize size = rect.size;
- DCHECK(isnormal(size.width) && (size.width > 0))
+ DCHECK(std::isnormal(size.width) && (size.width > 0))
<< ": size.width=" << size.width;
- DCHECK(isnormal(size.height) && (size.height > 0))
+ DCHECK(std::isnormal(size.height) && (size.height > 0))
<< ": size.height=" << size.height;
const CGFloat kScale = [SnapshotCache snapshotScaleForDevice];
UIGraphicsBeginImageContextWithOptions(size, YES, kScale);
« 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