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

Unified Diff: src/i18n.cc

Issue 902313002: Enclose break_iterator code with !UCONFIG_NO_BREAK_ITERATOR (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « src/i18n.h ('k') | src/runtime/runtime-i18n.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/i18n.cc
diff --git a/src/i18n.cc b/src/i18n.cc
index 69fa9ca89583c45dcfd2e1a709894dc9baf3224a..e1f7639c67f377c067c582994773864ace0bf174 100644
--- a/src/i18n.cc
+++ b/src/i18n.cc
@@ -601,7 +601,7 @@ void SetResolvedCollatorSettings(Isolate* isolate,
}
}
-
+#if !UCONFIG_NO_BREAK_ITERATION
icu::BreakIterator* CreateICUBreakIterator(
Isolate* isolate,
const icu::Locale& icu_locale,
@@ -635,7 +635,7 @@ icu::BreakIterator* CreateICUBreakIterator(
return break_iterator;
}
-
+#endif
void SetResolvedBreakIteratorSettings(Isolate* isolate,
const icu::Locale& icu_locale,
@@ -881,7 +881,7 @@ void Collator::DeleteCollator(
DestroyGlobalHandle(data);
}
-
+#if !UCONFIG_NO_BREAK_ITERATION
icu::BreakIterator* BreakIterator::InitializeBreakIterator(
Isolate* isolate,
Handle<String> locale,
@@ -946,5 +946,5 @@ void BreakIterator::DeleteBreakIterator(
DeleteNativeObjectAt<icu::UnicodeString>(data, 1);
DestroyGlobalHandle(data);
}
-
+#endif
} } // namespace v8::internal
« no previous file with comments | « src/i18n.h ('k') | src/runtime/runtime-i18n.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698