Index: content/browser/android/content_settings.cc |
diff --git a/content/browser/android/content_settings.cc b/content/browser/android/content_settings.cc |
index 3216ce6f06034fb5f815e2004b83653861f639d7..b9415f196eabeed93e2fca57414b2462a33dae35 100644 |
--- a/content/browser/android/content_settings.cc |
+++ b/content/browser/android/content_settings.cc |
@@ -150,7 +150,7 @@ bool ContentSettings::RegisterContentSettings(JNIEnv* env) { |
void ContentSettings::SyncFromNativeImpl() { |
JNIEnv* env = base::android::AttachCurrentThread(); |
CHECK(env); |
- if (!field_ids_.get()) |
+ if (!field_ids_) |
field_ids_.reset(new FieldIds(env)); |
ScopedJavaLocalRef<jobject> scoped_obj = content_settings_.get(env); |
@@ -309,7 +309,7 @@ void ContentSettings::SyncFromNativeImpl() { |
void ContentSettings::SyncToNativeImpl() { |
JNIEnv* env = base::android::AttachCurrentThread(); |
CHECK(env); |
- if (!field_ids_.get()) |
+ if (!field_ids_) |
field_ids_.reset(new FieldIds(env)); |
ScopedJavaLocalRef<jobject> scoped_obj = content_settings_.get(env); |