Title: [135812] trunk/Source/WebCore
- Revision
- 135812
- Author
- [email protected]
- Date
- 2012-11-26 20:30:26 -0800 (Mon, 26 Nov 2012)
Log Message
[V8] Remove V8Parameter::object()
https://bugs.webkit.org/show_bug.cgi?id=103340
Reviewed by Adam Barth.
V8Parameter can use m_v8Object directly.
No tests. No change in behavior.
* bindings/v8/V8StringResource.h:
(WebCore::::prepare):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (135811 => 135812)
--- trunk/Source/WebCore/ChangeLog 2012-11-27 04:28:53 UTC (rev 135811)
+++ trunk/Source/WebCore/ChangeLog 2012-11-27 04:30:26 UTC (rev 135812)
@@ -1,5 +1,19 @@
2012-11-26 Kentaro Hara <[email protected]>
+ [V8] Remove V8Parameter::object()
+ https://bugs.webkit.org/show_bug.cgi?id=103340
+
+ Reviewed by Adam Barth.
+
+ V8Parameter can use m_v8Object directly.
+
+ No tests. No change in behavior.
+
+ * bindings/v8/V8StringResource.h:
+ (WebCore::::prepare):
+
+2012-11-26 Kentaro Hara <[email protected]>
+
[V8] Rename V8Parameter to V8StringResource
https://bugs.webkit.org/show_bug.cgi?id=103341
Modified: trunk/Source/WebCore/bindings/v8/V8StringResource.h (135811 => 135812)
--- trunk/Source/WebCore/bindings/v8/V8StringResource.h 2012-11-27 04:28:53 UTC (rev 135811)
+++ trunk/Source/WebCore/bindings/v8/V8StringResource.h 2012-11-27 04:30:26 UTC (rev 135812)
@@ -191,8 +191,6 @@
return true;
}
- v8::Local<v8::Value> object() { return m_v8Object; }
-
void setString(const String& string)
{
m_string = string;
@@ -220,7 +218,7 @@
template<> inline bool V8StringResource<WithNullCheck>::prepare()
{
- if (object().IsEmpty() || object()->IsNull()) {
+ if (m_v8Object.IsEmpty() || m_v8Object->IsNull()) {
setString(String());
return true;
}
@@ -229,7 +227,7 @@
template<> inline bool V8StringResource<WithUndefinedOrNullCheck>::prepare()
{
- if (object().IsEmpty() || object()->IsNull() || object()->IsUndefined()) {
+ if (m_v8Object.IsEmpty() || m_v8Object->IsNull() || m_v8Object->IsUndefined()) {
setString(String());
return true;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes