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

Unified Diff: src/objects.cc

Issue 12468: Merge code review fixes. (Closed)
Patch Set: Created 12 years, 1 month 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/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 9b88310860fc069269f01f74081292b3ca400594..6068898786627423576492b0eb9b9717f9045081 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -3505,20 +3505,20 @@ FlatStringReader* FlatStringReader::top_ = NULL;
FlatStringReader::FlatStringReader(Handle<String> str)
- : str_(str.location()),
- length_(str->length()),
- prev_(top_) {
+ : str_(str.location()),
+ length_(str->length()),
+ prev_(top_) {
top_ = this;
RefreshState();
}
FlatStringReader::FlatStringReader(Vector<const char> input)
- : str_(NULL),
- is_ascii_(true),
- length_(input.length()),
- start_(input.start()),
- prev_(top_) {
+ : str_(NULL),
+ is_ascii_(true),
+ length_(input.length()),
+ start_(input.start()),
+ prev_(top_) {
top_ = this;
}
@@ -5796,8 +5796,8 @@ class StringKey : public HashTableKey {
class RegExpKey : public HashTableKey {
public:
RegExpKey(String* string, JSRegExp::Flags flags)
- : string_(string),
- flags_(Smi::FromInt(flags.value())) { }
+ : string_(string),
+ flags_(Smi::FromInt(flags.value())) { }
bool IsMatch(Object* obj) {
FixedArray* val = FixedArray::cast(obj);
@@ -6188,7 +6188,7 @@ class SymbolsKey : public HashTableKey {
class MapNameKey : public HashTableKey {
public:
MapNameKey(Map* map, String* name)
- : map_(map), name_(name) { }
+ : map_(map), name_(name) { }
bool IsMatch(Object* other) {
if (!other->IsFixedArray()) return false;
« src/jsregexp.cc ('K') | « src/jsregexp-inl.h ('k') | test/cctest/test-regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698