Changeset 167244 in webkit


Ignore:
Timestamp:
Apr 14, 2014 5:45:01 AM (10 years ago)
Author:
pmolnar.u-szeged@partner.samsung.com
Message:

Fix incorrect indentations in CodeGeneratorJS.pm introduced in r165521
https://bugs.webkit.org/show_bug.cgi?id=131613

Reviewed by Csaba Osztrogonác.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):
Fixed 5-space indentation.

  • bindings/scripts/test/JS/JSTestNondeterministic.cpp:

Updated the tests accordingly.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r167240 r167244  
     12014-04-14  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
     2
     3        Fix incorrect indentations in CodeGeneratorJS.pm introduced in r165521
     4        https://bugs.webkit.org/show_bug.cgi?id=131613
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        * bindings/scripts/CodeGeneratorJS.pm:
     9        (GenerateImplementation):
     10        Fixed 5-space indentation.
     11        * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
     12        Updated the tests accordingly.
     13
    1142014-04-14  Manuel Rego Casasnovas  <rego@igalia.com>
    215
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r167199 r167244  
    21972197                push(@implContent, "        setDOMException(exec, ec);\n") if $getterExceptions;
    21982198                push(@implContent, "        return JSValue::encode(result);\n");
    2199                 push(@implContent, "     }\n");
     2199                push(@implContent, "    }\n");
    22002200                push(@implContent, "\n");
    2201                 push(@implContent, "     if (cursor.isReplaying()) {\n");
     2201                push(@implContent, "    if (cursor.isReplaying()) {\n");
    22022202                push(@implContent, "        $memoizedType memoizedResult;\n");
    22032203                push(@implContent, "        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();\n");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp

    r167140 r167244  
    170170        JSValue result = jsNumber(memoizedResult);
    171171        return JSValue::encode(result);
    172      }
    173 
    174      if (cursor.isReplaying()) {
     172    }
     173
     174    if (cursor.isReplaying()) {
    175175        int memoizedResult;
    176176        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();
     
    204204        JSValue result = jsStringWithCache(exec, memoizedResult);
    205205        return JSValue::encode(result);
    206      }
    207 
    208      if (cursor.isReplaying()) {
     206    }
     207
     208    if (cursor.isReplaying()) {
    209209        String memoizedResult;
    210210        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();
     
    238238        JSValue result = jsStringWithCache(exec, memoizedResult);
    239239        return JSValue::encode(result);
    240      }
    241 
    242      if (cursor.isReplaying()) {
     240    }
     241
     242    if (cursor.isReplaying()) {
    243243        String memoizedResult;
    244244        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();
     
    274274        setDOMException(exec, ec);
    275275        return JSValue::encode(result);
    276      }
    277 
    278      if (cursor.isReplaying()) {
     276    }
     277
     278    if (cursor.isReplaying()) {
    279279        String memoizedResult;
    280280        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();
     
    310310        JSValue result = jsStringWithCache(exec, memoizedResult);
    311311        return JSValue::encode(result);
    312      }
    313 
    314      if (cursor.isReplaying()) {
     312    }
     313
     314    if (cursor.isReplaying()) {
    315315        String memoizedResult;
    316316        MemoizedDOMResultBase* input = cursor.fetchInput<MemoizedDOMResultBase>();
Note: See TracChangeset for help on using the changeset viewer.