| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. 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 copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "wtf/CurrentTime.h" | 64 #include "wtf/CurrentTime.h" |
| 65 #include "wtf/PtrUtil.h" | 65 #include "wtf/PtrUtil.h" |
| 66 #include "wtf/Vector.h" | 66 #include "wtf/Vector.h" |
| 67 #include <memory> | 67 #include <memory> |
| 68 | 68 |
| 69 namespace blink { | 69 namespace blink { |
| 70 | 70 |
| 71 std::unique_ptr<LinkHighlightImpl> LinkHighlightImpl::create( | 71 std::unique_ptr<LinkHighlightImpl> LinkHighlightImpl::create( |
| 72 Node* node, | 72 Node* node, |
| 73 WebViewImpl* owningWebViewImpl) { | 73 WebViewImpl* owningWebViewImpl) { |
| 74 return wrapUnique(new LinkHighlightImpl(node, owningWebViewImpl)); | 74 return WTF::wrapUnique(new LinkHighlightImpl(node, owningWebViewImpl)); |
| 75 } | 75 } |
| 76 | 76 |
| 77 LinkHighlightImpl::LinkHighlightImpl(Node* node, WebViewImpl* owningWebViewImpl) | 77 LinkHighlightImpl::LinkHighlightImpl(Node* node, WebViewImpl* owningWebViewImpl) |
| 78 : m_node(node), | 78 : m_node(node), |
| 79 m_owningWebViewImpl(owningWebViewImpl), | 79 m_owningWebViewImpl(owningWebViewImpl), |
| 80 m_currentGraphicsLayer(0), | 80 m_currentGraphicsLayer(0), |
| 81 m_isScrollingGraphicsLayer(false), | 81 m_isScrollingGraphicsLayer(false), |
| 82 m_geometryNeedsUpdate(false), | 82 m_geometryNeedsUpdate(false), |
| 83 m_isAnimating(false), | 83 m_isAnimating(false), |
| 84 m_startTime(monotonicallyIncreasingTime()) { | 84 m_startTime(monotonicallyIncreasingTime()) { |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 | 443 |
| 444 WebLayer* LinkHighlightImpl::layer() { | 444 WebLayer* LinkHighlightImpl::layer() { |
| 445 return clipLayer(); | 445 return clipLayer(); |
| 446 } | 446 } |
| 447 | 447 |
| 448 CompositorAnimationPlayer* LinkHighlightImpl::compositorPlayer() const { | 448 CompositorAnimationPlayer* LinkHighlightImpl::compositorPlayer() const { |
| 449 return m_compositorPlayer.get(); | 449 return m_compositorPlayer.get(); |
| 450 } | 450 } |
| 451 | 451 |
| 452 } // namespace blink | 452 } // namespace blink |
| OLD | NEW |