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

Side by Side Diff: content/shell/renderer/test_runner/web_ax_object_proxy.cc

Issue 230613005: Cleanup: Remove unnecessary define, since UnsafePersistent has indeed been removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « chrome/renderer/extensions/v8_schema_registry.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(hajimehoshi): Remove this when UnsafePersistent is removed.
6 #define V8_ALLOW_ACCESS_TO_RAW_HANDLE_CONSTRUCTOR
7
8 #include "content/shell/renderer/test_runner/web_ax_object_proxy.h" 5 #include "content/shell/renderer/test_runner/web_ax_object_proxy.h"
9 6
10 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
11 #include "gin/handle.h" 8 #include "gin/handle.h"
12 #include "third_party/WebKit/public/platform/WebPoint.h" 9 #include "third_party/WebKit/public/platform/WebPoint.h"
13 #include "third_party/WebKit/public/platform/WebRect.h" 10 #include "third_party/WebKit/public/platform/WebRect.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/web/WebFrame.h" 12 #include "third_party/WebKit/public/web/WebFrame.h"
16 #include "third_party/WebKit/public/web/WebKit.h" 13 #include "third_party/WebKit/public/web/WebKit.h"
17 14
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 v8::Handle<v8::Value> value_handle = gin::CreateHandle( 1022 v8::Handle<v8::Value> value_handle = gin::CreateHandle(
1026 isolate, new RootWebAXObjectProxy(object, this)).ToV8(); 1023 isolate, new RootWebAXObjectProxy(object, this)).ToV8();
1027 if (value_handle.IsEmpty()) 1024 if (value_handle.IsEmpty())
1028 return v8::Handle<v8::Object>(); 1025 return v8::Handle<v8::Object>();
1029 v8::Handle<v8::Object> handle = value_handle->ToObject(); 1026 v8::Handle<v8::Object> handle = value_handle->ToObject();
1030 elements_.Append(handle); 1027 elements_.Append(handle);
1031 return handle; 1028 return handle;
1032 } 1029 }
1033 1030
1034 } // namespace content 1031 } // namespace content
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/v8_schema_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698