Fix lint issue and compile error.
TBR=erik.corry@gmail.com Review URL: http://codereview.chromium.org/2157006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ab6055d85d
commit
45c7a14d27
@ -139,8 +139,7 @@ Object* Object::GetPropertyWithReceiver(Object* receiver,
|
||||
}
|
||||
|
||||
|
||||
Object* Object::GetPropertyWithCallk
|
||||
jback(Object* receiver,
|
||||
Object* Object::GetPropertyWithCallback(Object* receiver,
|
||||
Object* structure,
|
||||
String* name,
|
||||
Object* holder) {
|
||||
|
@ -5073,8 +5073,7 @@ ScriptDataImpl::~ScriptDataImpl() {
|
||||
|
||||
|
||||
int ScriptDataImpl::Length() {
|
||||
static const int kCharToUnsignedFactor = sizeof(unsigned) / sizeof(char);
|
||||
return store_.length() * kCharToUnsignedFactor;
|
||||
return store_.length() * sizeof(unsigned);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user