diff --git a/dom/fetch/FetchStreamReader.cpp b/dom/fetch/FetchStreamReader.cpp --- a/dom/fetch/FetchStreamReader.cpp +++ b/dom/fetch/FetchStreamReader.cpp @@ -38,6 +38,17 @@ NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIOutputStreamCallback) NS_INTERFACE_MAP_END + +class Normal {}; + +void binarysearch(int* list, int max, int key) { + unsigned int low = 0; + unsigned int high = max; + int mid = low + max / 2; + int mid2 = low + max >> 1; +} + + /* static */ nsresult FetchStreamReader::Create(JSContext* aCx, nsIGlobalObject* aGlobal, FetchStreamReader** aStreamReader,