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

Side by Side Diff: Source/core/rendering/style/BasicShapes.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | Source/core/rendering/style/KeyframeList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 floatSizeForLengthSize(m_topRightRadius, boundingBox), 398 floatSizeForLengthSize(m_topRightRadius, boundingBox),
399 floatSizeForLengthSize(m_bottomLeftRadius, boundingBox), 399 floatSizeForLengthSize(m_bottomLeftRadius, boundingBox),
400 floatSizeForLengthSize(m_bottomRightRadius, boundingBox) 400 floatSizeForLengthSize(m_bottomRightRadius, boundingBox)
401 ); 401 );
402 } 402 }
403 403
404 PassRefPtr<BasicShape> BasicShapeInset::blend(const BasicShape* other, double) c onst 404 PassRefPtr<BasicShape> BasicShapeInset::blend(const BasicShape* other, double) c onst
405 { 405 {
406 ASSERT(type() == other->type()); 406 ASSERT(type() == other->type());
407 // FIXME: Implement blend for BasicShapeInset. 407 // FIXME: Implement blend for BasicShapeInset.
408 return 0; 408 return nullptr;
409 } 409 }
410 410
411 bool BasicShapeInset::operator==(const BasicShape& o) const 411 bool BasicShapeInset::operator==(const BasicShape& o) const
412 { 412 {
413 if (!isSameType(o)) 413 if (!isSameType(o))
414 return false; 414 return false;
415 const BasicShapeInset& other = toBasicShapeInset(o); 415 const BasicShapeInset& other = toBasicShapeInset(o);
416 return m_right == other.m_right 416 return m_right == other.m_right
417 && m_top == other.m_top 417 && m_top == other.m_top
418 && m_bottom == other.m_bottom 418 && m_bottom == other.m_bottom
419 && m_left == other.m_left 419 && m_left == other.m_left
420 && m_topLeftRadius == other.m_topLeftRadius 420 && m_topLeftRadius == other.m_topLeftRadius
421 && m_topRightRadius == other.m_topRightRadius 421 && m_topRightRadius == other.m_topRightRadius
422 && m_bottomRightRadius == other.m_bottomRightRadius 422 && m_bottomRightRadius == other.m_bottomRightRadius
423 && m_bottomLeftRadius == other.m_bottomLeftRadius; 423 && m_bottomLeftRadius == other.m_bottomLeftRadius;
424 } 424 }
425 425
426 } 426 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | Source/core/rendering/style/KeyframeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698