// Copyright 2014 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include "config.h" | |
#include "platform/geometry/DoubleSize.h" | |
#include <limits> | |
#include <math.h> | |
namespace blink { | |
bool DoubleSize::isZero() const | |
{ | |
return fabs(m_width) < std::numeric_limits<double>::epsilon() && fabs(m_height) < std::numeric_limits<double>::epsilon(); | |
} | |
} |