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

Side by Side Diff: Source/core/accessibility/AccessibilityImageMapLink.cpp

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 19 matching lines...) Expand all
30 #include "core/accessibility/AccessibilityImageMapLink.h" 30 #include "core/accessibility/AccessibilityImageMapLink.h"
31 31
32 #include "core/accessibility/AXObjectCache.h" 32 #include "core/accessibility/AXObjectCache.h"
33 #include "core/accessibility/AccessibilityRenderObject.h" 33 #include "core/accessibility/AccessibilityRenderObject.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 using namespace HTMLNames; 37 using namespace HTMLNames;
38 38
39 AccessibilityImageMapLink::AccessibilityImageMapLink() 39 AccessibilityImageMapLink::AccessibilityImageMapLink()
40 : m_areaElement(0)
41 , m_mapElement(0)
42 { 40 {
43 } 41 }
44 42
45 AccessibilityImageMapLink::~AccessibilityImageMapLink() 43 AccessibilityImageMapLink::~AccessibilityImageMapLink()
46 { 44 {
47 } 45 }
48 46
49 PassRefPtr<AccessibilityImageMapLink> AccessibilityImageMapLink::create() 47 PassRefPtr<AccessibilityImageMapLink> AccessibilityImageMapLink::create()
50 { 48 {
51 return adoptRef(new AccessibilityImageMapLink()); 49 return adoptRef(new AccessibilityImageMapLink());
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 else 140 else
143 renderer = m_mapElement->renderer(); 141 renderer = m_mapElement->renderer();
144 142
145 if (!renderer) 143 if (!renderer)
146 return LayoutRect(); 144 return LayoutRect();
147 145
148 return m_areaElement->computeRect(renderer); 146 return m_areaElement->computeRect(renderer);
149 } 147 }
150 148
151 } // namespace WebCore 149 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/mac/WebSubstringUtil.mm ('k') | Source/core/accessibility/AccessibilityListBoxOption.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698