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

Unified Diff: src/property.h

Issue 475423003: Implement Function.prototype.toMethod. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove stray change Created 6 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 side-by-side diff with in-line comments
Download patch
Index: src/property.h
diff --git a/src/property.h b/src/property.h
index 272a0a5ab9155b2cc228bd2fc2f0d3c76edeed0c..357eb399667283d4c2b8a3cb2d92b88417395dad 100644
--- a/src/property.h
+++ b/src/property.h
@@ -23,6 +23,8 @@ class OStream;
// optionally a piece of data.
class Descriptor BASE_EMBEDDED {
public:
+ Descriptor() : details_(Smi::FromInt(0)) {}
Toon Verwaest 2014/08/20 07:43:11 Is this change necessary?
+
void KeyToUniqueName() {
if (!key_->IsUniqueName()) {
key_ = key_->GetIsolate()->factory()->InternalizeString(
@@ -42,8 +44,6 @@ class Descriptor BASE_EMBEDDED {
PropertyDetails details_;
protected:
- Descriptor() : details_(Smi::FromInt(0)) {}
-
void Init(Handle<Name> key, Handle<Object> value, PropertyDetails details) {
key_ = key;
value_ = value;

Powered by Google App Engine
This is Rietveld 408576698