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

Side by Side Diff: Source/core/accessibility/AXInlineTextBox.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013, Google Inc. All rights reserved. 2 * Copyright (C) 2013, 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 { 57 {
58 return adoptRef(new AXInlineTextBox(inlineTextBox)); 58 return adoptRef(new AXInlineTextBox(inlineTextBox));
59 } 59 }
60 60
61 void AXInlineTextBox::init() 61 void AXInlineTextBox::init()
62 { 62 {
63 } 63 }
64 64
65 void AXInlineTextBox::detach() 65 void AXInlineTextBox::detach()
66 { 66 {
67 m_inlineTextBox = 0; 67 m_inlineTextBox = nullptr;
68 m_axObjectCache = 0; 68 m_axObjectCache = 0;
69 AXObject::detach(); 69 AXObject::detach();
70 } 70 }
71 71
72 LayoutRect AXInlineTextBox::elementRect() const 72 LayoutRect AXInlineTextBox::elementRect() const
73 { 73 {
74 if (!m_inlineTextBox) 74 if (!m_inlineTextBox)
75 return LayoutRect(); 75 return LayoutRect();
76 76
77 return m_inlineTextBox->bounds(); 77 return m_inlineTextBox->bounds();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 case AbstractInlineTextBox::TopToBottom: 145 case AbstractInlineTextBox::TopToBottom:
146 return AccessibilityTextDirectionTopToBottom; 146 return AccessibilityTextDirectionTopToBottom;
147 case AbstractInlineTextBox::BottomToTop: 147 case AbstractInlineTextBox::BottomToTop:
148 return AccessibilityTextDirectionBottomToTop; 148 return AccessibilityTextDirectionBottomToTop;
149 } 149 }
150 150
151 return AccessibilityTextDirectionLeftToRight; 151 return AccessibilityTextDirectionLeftToRight;
152 } 152 }
153 153
154 } // namespace WebCore 154 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXImageMapLink.cpp ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698